Quantum-inspired Hamiltonian Monte Carlo
The codes belong to the experiment section of this QHMC paper, and are implemented in MATLAB and PYTHON.
prerequisite:
- Add the folder ./functions to your path in MATLAB
codes:
- section 6.1: ./synthetic-examples
- section 6.2: ./sparse-bridge-regression
- section 6.3: ./image-denoising
packages required:
- numpy
- matplotlib
- torch
- torchvision
- copy
codes:
- section 6.4: ./bayesian-neural-network