Skip to content
Continuously tempered Hamiltonian Monte Carlo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
boltzmann-machine-tools @ 528e61c
thermodynamic-monte-carlo @ 3ef6571

Continuously tempered Hamiltonian Monte Carlo

Python code accompanying the paper Continuously tempered Hamiltonian Monte Carlo.


Two Python dependencies for running the experiment are included as submodules so you will need to do a recursive clone e.g.

git clone --recursive

The code has only been tested with Python 2.7. The environment.yml file specifies the requirements for a Conda environment that should be able to run all the experiments. After you have cloned the repository, from within the repository directory run

conda env create -f environment.yml

to create a new Conda environment called cthmc in which all the external dependencies will be installed to.

Once the cthmc environment is set up, activate it using

source activate cthmc

and then install the two internal Python dependencies by running

python thermodynamic-monte-carlo/ install
python boltzmann-machine-tools/ install -use-openmp
You can’t perform that action at this time.