Skip to content

KindXiaoming/QHMC

Repository files navigation

QHMC

Quantum-inspired Hamiltonian Monte Carlo

The codes belong to the experiment section of this QHMC paper, and are implemented in MATLAB and PYTHON.

MATLAB

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

PYTHON

packages required:

  • numpy
  • matplotlib
  • torch
  • torchvision
  • copy

codes:

  • section 6.4: ./bayesian-neural-network

About

Quantum-inspired Hamiltonian Monte Carlo code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published