Welcome to QPE Toolbox’s documentation!

Doc License Tests PyPI

qpe-toolbox is an open-source Python package for compiling and simulating Quantum Phase Estimation (QPE) circuits, combining quantum chemistry with tensor-network methods. The code is hosted on github, and docs are available on GitHub Pages.

See our overview presentation for the motivation and philosophy behind the toolbox.

Built on the tensor-network library quimb, it provides:

  • Classical preprocessing: quantum chemistry with PySCF and fermionic encodings via OpenFermion

  • Quantum simulation: QPE circuit construction and circuit-level simulator with tensor networks

  • Postprocessing: energy retrieval from phase measurement outcomes

_images/qpe-toolbox_pipeline.png

The qpe-toolbox pipeline.

Package Modules

Creation and manipulation of quimb circuits.

class for defining Hamiltonians and interface with pyscf for chemistry.

perform different flavors of Quantum Phase Estimation.

manipulation of Matrix Product Operators (MPO) and Matrix Product States (MPS).

Contents