Skip to main content

Veriq — a truth layer for AI-written quantum code

PyPI version Python versions

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+)

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.2

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.2
File Size Uploaded Provenance Actions
veriq_quantum-0.1.2.tar.gz 165.1 kB With provenance Details for veriq_quantum-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 304.6 kB

Release files / veriq_quantum-0.1.2.tar.gz

Download URL veriq_quantum-0.1.2.tar.gz
Size 165.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3a010b51e95c3ca473523152f0e4ed228a4f426027a023b4c0c52fe997c0fa93
BLAKE2b-256 checksum
How to use checksums
75219d6e8061344cfb91bb667308b488ad1baab6b4debd9b3be6a66a9c05a392
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.2-py3-none-any.whl

Download URL veriq_quantum-0.1.2-py3-none-any.whl
Size 139.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6fa7d35d75e0e59f5a9279235299713269e6d3f8931130b86c57e6f93c17314
BLAKE2b-256 checksum
How to use checksums
a78866bb718157fdb6dcbd3434dc209c5bc902d0c7dab2c544a4ffd8e965588a
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.2

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.2.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.2 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