Installation¶
From PyPI¶
pip install pauliengine
Prebuilt wheels are available for Linux (x86_64/aarch64), macOS (arm64) and Windows (x86_64/arm64) on Python 3.10–3.13.
From source¶
Building from source needs a C++20 compiler (MSVC 19.3+, GCC 11+ or Clang 14+) and CMake 3.20+. There are no C++ libraries to install beforehand:
pip install .
Use pip install -e . for an editable development install.
NumPy and OpenFermion are optional; they are only needed for the functions that take
or return their objects (to_matrix, from_matrix, to_openfermion, …).
Building this documentation¶
The documentation is published at https://tequilahub.github.io/pauliengine/. To build it locally, from the repository root:
pip install . --group docs # PauliEngine plus sphinx, breathe and furo
sphinx-build -b html docs docs/_build/html
The C++ reference additionally needs Doxygen on
PATH; without it, only the Python reference is built.