wai-quantum 0.3.30: qLDPC memory at circuit level, re-derived from the circuit up #150
Merged
dcharlot
merged 1 commit from 2026-10-05 05:07:17 -04:00
wai-quantum-ldpc into main 2026-10-04
wai-quantum 0.3.30: qLDPC memory at circuit level, re-derived from the circuit up
All checks were successful
standards workspaces build + test / joulecontract-rs (pull_request) Successful in 57s
standards workspaces build + test / jcp-rs (pull_request) Successful in 1m31s
standards workspaces build + test / map-rs (pull_request) Successful in 1m0s
standards workspaces build + test / mesh-rs (pull_request) Successful in 53s
standards workspaces build + test / proof-rs (pull_request) Successful in 1m17s
standards workspaces build + test / sandbox-rs (pull_request) Successful in 2m16s
standards workspaces build + test / openpay (pull_request) Successful in 3m21s
standards workspaces build + test / smart-byte-rs (pull_request) Successful in 3m42s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 6m17s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 3m55s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 46s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 14s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 1m49s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 2m11s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 27s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 51s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 1m16s
WAI JPEG-AI whole decode (pinned inputs, required) / fetch pinned JPEG-AI inputs → whole decode + pixel hash, required (pull_request) Successful in 59s
WAI neural sink gates / model-free refusals of the neural sink (pull_request) Successful in 1m1s
WAI mbt2018_mean integer decode (regenerated vectors) / regenerate mbt2018_mean integer vectors → Rust decode, required (pull_request) Successful in 3m55s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 1m49s
standards workspaces build + test / arl-rs (pull_request) Successful in 5m19s
standards workspaces build + test / joule-ui-rs (pull_request) Successful in 14m5s
standards workspaces build + test / jouledesk-rs (pull_request) Successful in 8m51s
standards workspaces build + test / joulehook-rs (pull_request) Successful in 9m50s
standards workspaces build + test / sense-rs (pull_request) Successful in 7m24s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 15m33s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 10m57s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 1m0s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 4m13s
quantum_ldpc re-derives the logical failure rates of bivariate-bicycle memories (arXiv:2308.07915) from scratch: - Codes from their two polynomials: check matrices, k by GF(2) rank, a basis of logical operators. Presets [[72,12,6]], [[90,8,10]], [[108,8,10]], [[144,12,12]] and [[288,12,18]] all come out with their published k. - The depth-8 syndrome cycle as circuit text: the published CNOT order, X and Z checks interleaved, circuit-level depolarizing noise on every CNOT, idle, preparation and measurement, two noiseless closing cycles, observables from the logical basis. quantum_frame samples it and derives its error model. - BP-OSD: min-sum belief propagation in the log domain with adaptive scaling 1 - 2^-t, then ordered statistics on non-convergence (information set in posterior order, combination sweep of order 7, cost sum ln(1/p)), in f64 with in-crate logarithms. - Memory experiments in fixed 64-shot chunks across threads (one on wasm32); the tally does not depend on the thread count. Checked against the source's own Apache-2.0 simulation software: - the error model for [[72,12,6]] (six cycles, p = 0.003) has its columns exactly, 2,268 X-fault and 2,232 Z-fault; half the probabilities agree to 1e-13, the largest gap is 0.94% (merged faults: sums vs independent); - on identical syndromes and error model, its decoder makes the same decision as BpOsd on 1,500 of 1,500 shots; - failure rates per run on [[72,12,6]]: 0.028/0.090/0.230 here vs 0.034/0.086/0.209 at p = 0.003/0.004/0.005 (halves combined as independent; the source's halves fail together 2.9% vs 1.3%); - half by half at p = 0.005 the Z-type agrees (0.122 vs 0.118); the X-type is 0.121 here (20,000 shots) vs 0.111 (9,000 runs), 2.3 sigma. Priors make no difference (476 vs 478 of 4,000) and both samplers match the exact detector rates, so the residual is in sampling and is documented as open; - [[144,12,12]] per run 0.034 / 0.180 vs 0.039 / 0.193 at p = 0.004 / 0.005; per cycle on the published fit (2.90e-3 vs 3.15e-3, 1.64e-2 vs 1.54e-2). CLI: wai-quantum ldpc [--code --p --cycles --shots --basis --max-iter --osd-order --threads --seed --json] and ldpc --circuit. Example: ldpc_memory. Pinned bit for bit natively and under wasm32-wasip2 (15 pins); CLI output byte-identical across the two, including threaded vs not. Co-Authored-By: Claude Opus 5.5 <[email protected]>