Skip to main content

Veriq — a truth layer for AI-written quantum code

Veriq demo: a compiled circuit passes the histogram test, Veriq proves it wrong with a counterexample and a bug region

Tests and histograms say "looks right". Veriq proves whether a quantum circuit is right and, when it isn't, shows the input that breaks it.

2.7% – 5.4% of published model solutions that pass their benchmark's own tests are provably wrong (7 strict, 14 counting gates wrong only on superposed inputs, of 257 passing QuanBench solutions from GPT-4.1 and GPT-4o; manually reviewed; a lower bound). Study →
34% vs 100% of 966 injected bugs caught by the usual Aer histogram from |0…0⟩, vs. by Veriq's equivalence proof (0/98 false positives). Veriq Bench →
5 of 28 correct LLM circuits whose default Qiskit compile is no longer the same unitary (the qubits_initially_zero hazard); only a unitary proof sees it. Example →

Install

pip install veriq-quantum          # import name and CLI: veriq   (Python 3.10+)
# until the first PyPI release:  pip install "git+https://github.com/Yosefnoorani/veriq"

Quickstart

veriq check candidate.py -r reference.py                 # PASS / FAIL / INCONCLUSIVE (exit 0 / 1 / 2)
veriq check compiled.py -r block.py --repair-report bug.json   # FAIL -> counterexample + bug region + fix
veriq check ghz.py -r ghz_ref.py --mode state             # compare states from |0...0> instead of unitaries
veriq optimize my_circuit.py -o best.qasm                 # fewer CX, proven equivalent
veriq mcp                                                 # let your AI assistant verify before it answers

Features

Apache-2.0

Metadata

Release files for veriq-quantum 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for veriq-quantum 0.1.1
File Size Uploaded Provenance Actions
veriq_quantum-0.1.1.tar.gz 164.5 kB With provenance Details for veriq_quantum-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for veriq-quantum 0.1.1
File Interpreter ABI Platform Actions
veriq_quantum-0.1.1-py3-none-any.whl Python 3 none any Details for veriq_quantum-0.1.1-py3-none-any.whl

Total release size: 303.6 kB

Release files / veriq_quantum-0.1.1.tar.gz

Download URL veriq_quantum-0.1.1.tar.gz
Size 164.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f6614837ca18b431d421ba920a02e2935f4005c8bdb35b9e52b85a8a94619aad
BLAKE2b-256 checksum
How to use checksums
6415af1db6525fb4f12183aa2f8fb672e729e6feeed6510319878bc5cfa01096
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / veriq_quantum-0.1.1-py3-none-any.whl

Download URL veriq_quantum-0.1.1-py3-none-any.whl
Size 139.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
557f90d5c7d967009a64da2dcf931d034ee6d9aec7f0590d94b11352d855cf0f
BLAKE2b-256 checksum
How to use checksums
37b45da7b542c6dabe8f704e0f96a5a38dfa3cd1210fd44380d8b075b0c37672
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for veriq-quantum 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for veriq_quantum-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page