qig-bench
Artifact-validation harness and governance helpers for QIG experiment results.
Install
pip install qig-bench
Usage
from qig_bench import run_suite
from qig_bench.compare import compare
results = run_suite(backend="my-backend", verification_root="path/to/qig-verification")
table = compare({"my-backend": results})
print(table)
run_suite reads existing JSON artifacts; it does not run the named backend.
The backend argument is a label. Reported time covers reading/validation and
the bridge fit, not physics computation or QPU execution. Passing this suite
checks stored-result consistency, not independent reproduction or speedup.
Core Benchmarks
Seven certified value-source benchmarks plus one Class-B reproduction-control.
| # | Benchmark | id | Frozen Value | Tolerance | Class |
|---|---|---|---|---|---|
| 1 | Certified JT pillar κ_JT^cert | kappa_JT_cert |
+0.02810 | ±5% | certified |
| 2 | Constitutive slope κ_h | kappa_h |
−0.00475 | ±5% | certified |
| 3 | Screening ξ_G at L=5 | xi_L5 |
0.6182 | ±2% | certified |
| 4 | Anderson α | anderson_alpha |
0.089356/site | ±5% | certified |
| 5 | Bridge exponent | bridge_exponent |
0.86 | ±3% | certified |
| 6 | Certified foundational L3 | kappa_foundational_L3 |
+0.0388 | ±5% | certified |
| 7 | Certified foundational L4 | kappa_foundational_L4 |
+0.0282 | ±5% | certified |
| — | Class-B matrix-trace κ at L=4 | kappa_L4 |
63.32 | ±5% | reproduction-control |
κ supersession (2026-06-13, EXP-107 / frozen-facts-1.02F). The legacy ~63/64 matrix-trace
kappa_L4is a Class-B (FAIL-013) camera self-portrait, retired as a universal constant and kept here only as a labelled reproduction-control — never a value source. The certified κ slopes are small and signed:kappa_JT_cert = +0.02810(row 9) andkappa_h = −0.00475(row 2). The retired grid-interpolation benchmarkregime_h_t(row 4) has been removed. Do not treat 63.32 / 63.79 / 64 as a physical constant.
The foundational readers use EXP-169's canonical registry result file,
results/exp169/20260720_exp169_certified_foundational_series.json, selecting
series[].kappa_certified_A1 at L=3 or L=4. Frozen-facts row 59 records the
certified results (landed in 1.09F and retained in 1.11F); the July 21 rerun
corroborates them but does not supersede the canon-nominated artifact. Missing,
ambiguous or invalid certified entries fail; legacy fields never substitute.
For local checks: pip install -e ".[dev,certification]" then python -m pytest -q.
Release CI runs these tests before building; tags derive versions via hatch-vcs.
The cross-package camera test follows qig-warp's current sensitivity-based
dmrg_tolerance contract (precision / |dO/dE|), not the retired Anderson
size-scaling assumption. Its MPS fixture uses actual TeNPy SpinHalfSite objects.
Release CI installs the certification extras so these checks run rather than skip.
Metadata
Release files for qig-bench 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qig_bench-0.1.9.tar.gz | 23.6 kB | With provenance | Details for qig_bench-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qig_bench-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for qig_bench-0.1.9-py3-none-any.whl |
Total release size: 46.0 kB
Release files / qig_bench-0.1.9.tar.gz
| Download URL | qig_bench-0.1.9.tar.gz |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2647f21b53c66fe48b865cc1acbdb33bdfbf48777ef5be94a913aab2938a601
|
|
BLAKE2b-256 checksum How to use checksums |
db060214f4944e350dbc78c4f9784723159f2eb56431863be8f3165ef1f94842
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 9, 2026.
Transparency logRelease files / qig_bench-0.1.9-py3-none-any.whl
| Download URL | qig_bench-0.1.9-py3-none-any.whl |
|---|---|
| Size | 22.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f00524f4f60d183397e8daabb5344a777c32534261fb31367a3bd21c35d6b183
|
|
BLAKE2b-256 checksum How to use checksums |
184d50764cc320f5d4dc07c6df1fe5dfe4cbfa6db48884489ccd7642a7613127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 9, 2026.
Transparency logSecurity for qig-bench 0.1.9
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for qig_bench-0.1.9.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 Sep 9, 2026.
Transparency logA 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.