Installation Guide¶
Warning
On Windows, QPE Toolbox is supported only through the Windows Subsystem for Linux (WSL) due to dependency constraints.
Requirements¶
QPE Toolbox is a pure python library and will run on any system as long as its dependencies support it. In practice, this means any 64-bit macOS or Linux distribution should work. Due to PySCF restrictions, Windows is only supported through the Windows Subsystem for Linux (WSL).
Installation¶
Installing with pip
pip install qpe-toolbox
Installation from sources¶
Installing from sources gives access to our tutorials which contains detailed explanations on the Quantum Phase Estimation algorithm.
with pip¶
# clone the project
git clone git@github.com:quobly-sw/qpe-toolbox.git && cd qpe-toolbox
# Create a virtual environment
python3 -m venv .venv --prompt qpe-toolbox
# activate it
source .venv/bin/activate
# install the package and its dependencies
pip install -e .[dev]
with uv¶
# clone the project
git clone git@github.com:quobly-sw/qpe-toolbox.git && cd qpe-toolbox
# Create a virtual environment and synchronize it with lock
uv sync --locked
# activate it
source .venv/bin/activate