Artifact of Live Noise Fingerprints as an Empirical Semantics for Noisy Quantum Channels
Anonymous for Peer Review
Abstract
Abstract Quantum computations execute on noisy hardware whose effective noise is opaque and varies across platforms and over time. Complete noise-channel descriptions are often too detailed for reasoning, comparison, or analysis. This work studies the semantic problem of constructing tractable abstractions of noisy quantum channels: given a finite set of observations, how can channel behaviour be summarised while preserving properties of interest? We characterise the effective noise of a quantum channel as an abstract domain of noise fingerprints. A noise fingerprint is an observational abstraction of a quantum channel over a finite experiment interface. We relate channels and fingerprints through a probabilistic Galois connection, in which concretisation returns a probability distribution over channels and is compared with them through its expected value. This construction reduces to the classical Galois connection when every concretisation is a point mass. Measured fingerprints carry a separate (ε, δ) estimation guarantee, separating tolerance ε from failure probability δ over measurement sessions. We state four abstraction obligations: soundness, conciseness, efficiency, and adaptiveness. The package provides an executable instantiation of the abstraction function using the classical-shadow estimator, together with a partial concretisation function that reconstructs channels from fingerprints via semidefinite programming. Using the information orders of Coecke and Martin on classical and quantum states, it also provides a probabilistic concretisation of Pauli channels as random mixtures of unitary operations. A worked example shows how fingerprints determine whether two realisations of the same program are observationally equivalent across environments and compiler passes, and localise the gate at which they diverge. The evaluation reports that the Galois law holds on all tested pairs of Pauli channels; measured fingerprints meet their (ε, δ) coverage guarantee; the soundness bound is tight; compression relative to the concrete channel domain is exponential while nearly all information about noise strength is retained on a synthetic benchmark; sample complexity grows sublinearly in the interface size, consistent with the logarithmic bound; and incremental updates track channel drift at the optimal rate. Additional experiments examine physically meaningful noise signatures and distinguish cross-platform behaviours. Together, this work brings abstract interpretation to the empirical semantics of noisy quantum channels, offering a lightweight, formally grounded abstraction for characterising, comparing, and monitoring noisy quantum executions. Context and Method Characterising noisy quantum channels remains challenging: full process tomography scales exponentially with system size, while common noise metrics offer limited semantic guarantees. A noise fingerprint is the matrix of deviations between observed and ideal Pauli expectation values over a fixed experiment interface. Channels and fingerprints are ordered by information, using the Coecke–Martin orders on classical and quantum states. The abstraction maps each completely positive trace-preserving (CPTP) map to its fingerprint. The concretisation returns a probability distribution over channels, and the two satisfy the Galois-connection law with the concretisation compared through its expected value. Separately, a fingerprint measured with T rounds lies within ε of the exact fingerprint with probability at least 1 − δ. The framework is evaluated against four obligations: Soundness: the probabilistic Galois connection, an exact observational-soundness theorem, and a Lipschitz bound (L ≤ 1) relating abstract distance to diamond-norm distance. Conciseness: compression relative to the full channel representation. Estimation efficiency: the (ε, δ) guarantee from finite measurements, with logarithmic growth in the interface size. Adaptiveness: incremental updates under channel drift. The implementation uses the Huang–Kueng–Preskill classical-shadow estimator with median-of-means aggregation. The package includes exact SDP-based diamond norms for small systems, two independently validated large-system ground truths (completely bounded norm multiplicativity for single-site channel pairs and the exact Pauli-channel ℓ1 formula), and a product-factorised classical-shadow sampler validated against the full sampler. Formal properties are checked by 59 automated tests. Every number reported in the paper is regenerated by a script; CLAIMS.md maps each number to its generating script and output. What's New in Version v3 Probabilistic Galois connection (new definition): src/infoorder.py implements the Coecke–Martin information orders and the probabilistic concretisation of Pauli channels. experiments/galois_check.py (make galois) checks the Galois law. (ε, δ) estimation guarantee: src/pgc.py and experiments/pgc_coverage.py test it over 48 configurations, with a held-out calibration check and a negative control. Version v3 called this the probabilistic Galois connection. Consistent confidence criterion: every "rounds needed to reach a tolerance ε" result is the smallest budget at which the error is at most ε in at least 95 of 100 independent sessions (δ = 0.05). The median (typical case) is recorded alongside it. Generated paper numbers and figures: experiments/export_numbers.py, the coverage experiment, and the Galois check write LaTeX macros (results/paper_numbers.tex, results/pgc_numbers.tex, and results/galois_numbers.tex). README.md identifies the figure file behind each figure in the paper. Worked example: examples/worked_example.ipynb, with a Jupyter-free runner. Expanded tests: 59 tests (51 in v3). Artifact Evaluation Summary The package provides the implementation, experiments, and evaluation pipeline for the paper: a pure Python/NumPy implementation of noisy quantum channels, classical-shadow fingerprint estimation, the information orders and the probabilistic Galois connection, the (ε, δ) estimation guarantee, SDP-based concretisation, 59 tests, a worked example, and scripts that reproduce every figure and quantitative claim. Evaluators can begin with the worked example, verify correctness with one command, and regenerate the results. Precomputed data and figures allow immediate inspection; after dependencies are installed, the full pipeline runs from scratch without GPUs, quantum hardware, or network access. New programs, noise profiles, qubit counts, and properties can be added with minimal changes. Package Contents examples/ — executed worked_example.ipynb (with outputs stored) and run_worked_example.py, which runs the example without Jupyter. src/ — states and channels; noise fingerprints; literal classical-shadow estimators (full and product-factorised); the Coecke–Martin information orders and probabilistic concretisation (infoorder.py); the (ε, δ) estimation guarantee (pgc.py); optional readout-error models; exact diamond norms via Watrous SDPs; validated large-system diamond-norm ground truths; SDP-based concretisation; configurable noise models; and a registry of 12 supplementary configurations (profiles.py). experiments/ — scripts for each result, including audit_seed_sweep.py, compliance.py, galois_check.py, pgc_coverage.py, scale_rq.py, realistic_limits.py, shadow_validation.py, expert_verification.py, fingerprints_main.py, figure scripts, export_numbers.py, and supplementary sweeps rq1_sweep.py through rq4_sweep.py. results/ — JSON data for every result and the LaTeX number macros. figures/ — all figures, including the nine used in the paper. tests/ — 59 tests, including tests for exact diamond-norm ground truths, the product-factorised sampler, the median-of-means estimator, the information orders and probabilistic Galois connection, and the (ε, δ) guarantee. Root-level support files: verify.py, CLAIMS.md (claim-by-claim map), NOTES.md (scope, platform notes, and seed-sensitivity check), README.md, Makefile, Dockerfile, requirements.txt, and LICENSE. Installation Python 3.10 or later is required. Install dependencies: pip install -r requirements.txt Dependencies: NumPy, SciPy, CVXPY (SCS), scikit-learn, and Matplotlib. No quantum SDK is required; all simulations use a pure NumPy density-matrix implementation. Jupyter is optional. A Dockerfile is provided: docker build . Getting Started: Worked Example Run the worked example: python3 examples/run_worked_example.py Alternatively, open examples/worked_example.ipynb. The runner takes seconds and uses NumPy only. It accepts a program in OpenQASM, shows what a backend does to it, derives the observation interface from the program's test, computes the fingerprints, and decides whether two backends are interchangeable for that test. Expected results: Two backends implementing the same noise by different means are judged interchangeable on all five programs (deviations ≈ 10⁻¹⁶). A leftover coherent phase rotation is flagged on four of the five programs and correctly cleared on the fifth, whose test reads only populations. On a population-only interface, the phase rotation is invisible; refining the interface to the observables read by the test restores it. The prefix sweep finds the first divergence at the first CX gate (distance 0.0729, rising to 0.1007 after the second CX). Numerical checks: fingerprint distance equals observational discrepancy to machine precision; concretisation within tolerance is an interval; the median-of-means example has expectation 7/9. Verification Run: make kick-the-tires This takes under two minutes and runs the 59 tests, a diamond-norm SDP self-check, and a quick coverage check of the (ε, δ) guarantee. Expected output: 59 passed ALL CHECKS PASSED Measurement Protocol Every "rounds needed to reach ε" result is the smallest budget on a geome