This library provides a simple implementation of Quantum-enhanced Parallel Tempering (QePT), as introduced in a recent Arxiv paper. The QeMCMC subroutines are abstracted to a seperate repo, QeMCMC See also the related method Quantum-enhanced Simulated Annealing (QeSA).
This project uses uv, an extremely fast Python package installer written in Rust, intended as a drop-in replacement for pip and pip-tools.
-
Install
uv: Follow official installation instructions at astral.sh/uv. For macOS and Linux run:curl -LsSf [https://astral.sh/uv/install.sh](https://astral.sh/uv/install.sh) | sh -
Create the Virtual Environment: From the project's root directory, run the following command:
uv sync
This will create a local
.venvfolder and install all required dependencies frompyproject.tomlanduv.lock.
See main.py for a simple implementation of the code, and initialise_models.py to create instances of spin glass ising models
Distributed under the MIT License. See LICENSE for more information.
This project was created by Stuart Ferguson with contributions from Feroz Hassan.
For questions, suggestions, or collaboration, please feel free to contact the authors:
Note: Arxiv paper not yet uploaded