Pytest-friendly unit test helpers for Qiskit quantum circuits — designed for CI (GitHub Actions) and regression testing.
Quantum code breaks in sneaky ways:
- SDK upgrades change behavior
- circuits drift from “correct” distributions
- notebook experiments don’t translate to production quality
qc-assert gives you small, focused assertions so you can:
- catch regressions early (before hardware runs)
- test probabilistic outputs with tolerances
- validate entanglement patterns (Bell/GHZ) reliably
- run everything in standard CI with
pytest
pip install -e .
pip install pytest