What is tested#
One row per claim, with the test behind it and its numbers as recorded, unrounded, next to
their rule. Test paths are in cosmiq’s repository. Every test under tests/ runs on Linux
before each change is merged; rows marked “run once” were run once, outside that suite, with
pass rules written before they ran. The linked pages give the details; the measurements, with
the machine, the versions and the date, are in the repository’s
evidence/ folder.
Programs, devices and the docs#
Programs are checked against the device as you build them, and every example in these docs runs as written.
Claim |
Test |
Result |
Details |
|---|---|---|---|
A program is checked against a device’s limits; a value outside one raises |
|
passes at every merge |
|
The quickstart runs as written, and its first example fits in 25 lines on the 4 ns grid |
|
passes at every merge |
|
Every tutorial and the README’s examples run as written |
|
passes at every merge and build |
The emulator: the full space#
The full-space emulator’s gradients are exact, and its noise methods agree with exact references at the sizes tested.
Claim |
Test |
Result |
Details |
|---|---|---|---|
Exact gradients from a reversible adjoint whose memory doesn’t grow with the pulse length; above its certificate (1e-8 in complex128, 1e-4 in complex64) it recomputes by \(\sqrt{n_t}\) checkpointing, and the report says so |
|
passes at every merge |
|
|
|
passes at every merge |
|
|
|
passes at every merge |
|
Above the tested sizes, the memory estimate held against torch’s measured allocator peak (one thread, 2 cells, batch 1) at three cells, so |
|
density \(N = 13\) forward: 6,442,618,144 bytes measured, 6,979,555,104 estimated; density \(N = 11\) with a gradient: 1,677,800,536 measured, 1,677,941,952 estimated; trajectory gradient \(N = 10\), \(K = 4{,}096\): 1,425,015,102 measured, 1,572,032,512 estimated |
The emulator: space="blockade"#
On its allowed cells, the blockade space agrees with the full space; elsewhere it’s refused.
Claim |
Test |
Result |
Details |
|---|---|---|---|
On its allowed cells, the blockade subspace agrees with the full space on the same 20 ns cells (exact at \(N \le 12\)). Rules: density and nearest-neighbour correlation within 1e-3, TVD within 1e-2, shots beyond the sampling SE within 1e-2, complex64 within 1e-4 of complex128 |
run once, before the space was built; the allowed cells are enforced by |
93 cells pass, 1 fails (the error estimate as a bound: so no error estimate is shown), 7 weren’t run (refused) |
|
The 20 ns step’s own error, against |
73 programs, run once |
density 3.604039731986697e-4, nearest-neighbour correlation 7.809280759994136e-5, TVD 2.0558870159661847e-3 (rules 1e-3, 1e-3, 1e-2). One \(3 \times 3\) triangular case missed at 1.0022708198137997e-3 and is refused |
|
The same at \(N = 16\) (18 programs) and \(N = 20\) (one program) |
run once, on the CPU |
\(N = 16\): density 2.1106001409872122e-4, correlation 5.234678398454806e-5, TVD 1.4524851149723063e-3; \(N = 20\) (one kings program): density 2.6837698148257237e-6, correlation 1.334908216277759e-10, TVD 4.846753031658949e-5. Every other \(N\) and program: not measured |
|
complex128 on CUDA reproduces the CPU at its cells; complex64 on CUDA stays near complex128 at its cells |
run once, on one GPU |
complex128: within 2.5979218776228663e-14 of the CPU’s stored numbers (rule 1e-8); complex64: within 3.985911299797529e-6 of complex128, drift at most 8.681856605778543e-6 (rules 1e-4) |
|
A bypassed call’s memory estimate is at least its measured peak RSS |
14 cells, and 5 held-out cells, run once |
all 14 hold: forward 1.94 to 9.79 times the peak, gradient 3.59 to 6.97 times; held-out: all 5 hold, at 4.53 to 10.20 times |
The emulator: space="tensor"#
On 4.8 µm chains up to 16 atoms, the tensor space agrees with the full space; nothing larger is claimed.
Claim |
Test |
Result |
Details |
|---|---|---|---|
On its cells (4.8 µm chains: \(N = 8\) and 12 at \(\chi = 32\), \(N = 16\) at \(\chi = 64\)), the tensor space agrees with cosmiq’s full-space emulator; nothing beyond \(N = 16\) is claimed |
run once; every |
\(N = 8\) (rule 1e-6): 1.4378858381736137e-09 or below. Against the full space (rule 1e-4): \(N = 12\) worst 1.7815916200092374e-06 (densities; correlations 2.0687627320936652e-06), \(N = 16\) worst 7.161967560675997e-07 (densities; correlations 1.6369877079425166e-06). Against the 4 ns clock (rule 1e-3): \(N = 8\) worst 0.00035695272168354, \(N = 12\) worst 0.0003037261527227275, \(N = 16\) worst 0.0003037291525843644 |
|
Its gradients of \(L = \sum w_i \langle n_i \rangle\) with respect to the six knots agree with the full space’s |
run once, on two programs (a sweep and a second program) |
\(N = 8\) (rule 1e-6): 5.2472809151590805e-08 and 1.1354353377651671e-08; \(N = 12\) (rule 1e-3): 7.38792385155014e-08 and 1.484336730438185e-08; \(N = 16\) (rule 1e-3): 5.714325378787695e-07 and 1.288231992330191e-07 |
The digital path and Qiskit#
Circuits on the digital path match Qiskit’s own simulators, with and without noise.
Claim |
Test |
Result |
Details |
|---|---|---|---|
Native circuits match Qiskit’s |
|
320/320; worst fidelity 0.99999999999999 (rule \(\ge 1 - 10^{-10}\)) |
|
Standard-gate circuits transpile to Target-legal ops, equivalent with the layout |
|
720/720 |
|
The primitives’ shapes are Qiskit’s; noise-free values match |
|
30/30; worst |evs - StatevectorEstimator| 2.220446049250313e-16 (rule 1e-10) |
|
The sampler’s counts match Qiskit’s probabilities |
|
12/12 \(\mathrm{TVD} \le 0.01\), worst 0.004613468386647469; 20/20 basis states exact |
|
The noise matches a density matrix written from the channel definitions, and each \(\times 1.5\) control fails |
|
12/12, worst TVD 0.00609258301391892 (rule 0.01); the controls fail on 7, 6, 3 and 12 circuits |
|
Clifford circuits’ noise agrees with Stim’s |
|
152 comparisons, none beyond \(4\sigma\); worst \(2.589380058594636\sigma\) |
|
The noisy estimator is within 4 stds of the density-matrix reference |
|
10/10; worst 0.8949139832526929 stds; largest stds 0.0034541375765527477 (rule 0.005); the CZ \(\times 1.5\) control fails on 8 |
|
The same seed gives identical counts whatever the chunking; another seed differs |
|
10/10 |
|
Remote digital jobs give the local primitives’ results, bitwise |
|
10/10 pubs bitwise equal across |
The algorithm library#
The library’s methods give valid answers and match exact references; no quantum benefit is claimed.
Claim |
Test |
Result |
Details |
|---|---|---|---|
|
|
20/20 graphs, every one of \(10^4\) random bitstrings |
|
The exact MIS (brute force) is right |
|
50/50 against networkx’s maximum clique of the complement |
|
Without noise, the MIS sweep beats a random control and an exact baseline |
|
8 of 8 testable graphs each (2 untestable: \(p_0 = 1\)); \(p_\mathrm{emu}\) 0.949-0.981 |
|
The reservoir’s features beat ridge on the raw window on NARMA2 (one seed). The polynomial baselines beat the reservoir, so no quantum benefit is claimed |
|
test NMSE 0.11769537756622175 against 0.22886985194364656; degree-2 polynomials 0.031847004791233695, degree-3 0.027530105189449205 |
|
IQP circuits and the fidelity kernel |
|
10/10 maps with no SWAPs; smallest eigenvalue 0.646695619117164, diagonal within 5.773159728050814e-15; |
QEC with atom loss#
The matching decoder is exact, and reading the loss signal makes it measurably better.
Claim |
Test |
Result |
Details |
|---|---|---|---|
The matching is exact |
|
total matching weight equals the exhaustive (\(d = 3\)) or |
|
Loss-aware decoding beats loss-blind decoding, at \(p = 10^{-3}\) |
|
8 of 8 graded cells pass |
|
Erasures up to the code’s distance decode right (code capacity) |
|
every case decoded right: 613 cases at surface \(d = 3\), \(10^4\) sampled patterns at \(d = 5\), 61 and 2,101 cases on the repetition code |
|
The same seed gives identical detection events and decisions on the same Stim version, machine architecture and SIMD width; nothing across machines |
|
passes |
Exports to Braket and Pulser#
On 12 small programs, the exports give cosmiq’s results on Braket’s and Pulser’s own simulators.
Claim |
Test |
Result |
Details |
|---|---|---|---|
On 12 programs (no noise, \(N \le 6\)), the Braket export run on Braket’s local AHS simulator gives cosmiq’s statistics |
|
12/12; smallest \(p\) 0.02499035061307077 (rule \(p \ge 10^{-4}\)) |
|
The same for the Pulser export on Pulser’s QuTiP emulator |
|
12/12; largest TVD 1.7463814183816377e-05 (rule 1e-3) |
|
Corrupted exports fail the same rules |
both files above |
the global detuning \(\times 1.02\): Braket 8/11, Pulser 11/11 (\(\ge 6\) required); the phase sign flipped: 2/2 each; the local pattern reversed: 5/5 each |
Runs, rehearsals and remote runs#
A run resumed on the CPU ends exactly where an uninterrupted one would, and a practice run’s totals match the virtual QPU’s.
Claim |
Test |
Result |
Details |
|---|---|---|---|
On the CPU, a resumed run continues bitwise identical to an uninterrupted one started with the same seeds (Python, NumPy, torch), on the same machine, thread count and versions |
|
two fresh 200-step runs and one stopped at step 99 and resumed, all bitwise equal; 2,000-step runs stopped (SIGINT at steps 963, 608 and 1108) and killed (SIGKILL after the commits at 699, 899 and 999, after a failed commit at 1099, and with a byte flipped in the newest checkpoint), every continued run bitwise equal |
|
Remote runs on |
run once, on GPU boxes |
passes (graded twice from one run, after a fault in the first grading script was fixed) |
|
A site outage of up to 10 minutes loses no remote run |
run once |
passes at 45 s, 60 s and 600 s |
|
No remote run starts twice, and none is orphaned; a lost box is detected within 160 s |
run once |
50 of 50 (earlier attempts failed only on faults in the test harness, each recorded); a lost box detected in 124 s |
|
A practice run’s totals equal the virtual QPU pool’s stored totals for the same loop |
run once, 15 Nov 2026, against a local copy of the site |
18 jobs, 636 shots and \(\sum\) |
|
The same practice run again (seed, snapshot, single-threaded order) gives a byte-identical job log on the CPU |
|
two runs with seed 11; a third with seed 12 gives other lease seeds |
|
Sweeps: points on several boxes, the plan’s jobs at once, a 429, a rerun with the same key, a failing point and Ctrl+C |
|
pass, against simulated sites in the same process; not run on real boxes |