QuPRS
QuPRS checks equivalence of quantum circuits using Path-sum reduction and weighted model counting (WMC).
The project provides a Python interface for Qiskit circuits, a native Rust verification library, and a separately built Rust command-line program.
Choosing documentation for your version: The dev documentation follows the development branch and may describe features not yet included in a published package. Check the selected documentation version against the Python package releases or Rust crate versions, and consult the GitHub release notes for the corresponding release.
- Getting started explains installation and supported environments.
- Browser Playground explains how to compare supported QASM circuits using local CPU computation in the browser, with current deployment requirements.
- Executable examples provide small runnable equivalence, inequality, global-phase, solver, and Rust CLI cases.
- Verification introduces the available verification methods and result semantics.
- Path-sum theory and weighted model counting explain the algorithms and numerical evidence.
- API Reference links the generated Python and Rust documentation.
- Architecture describes the relationship between the Python and native Rust interfaces.
Source code, releases, and contribution instructions are available in the QuPRS repository.