open-standards/wai/wai-rs/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 35c11fb6cf
All checks were successful
WAI conformance / cargo-class corpora · linux (push) Successful in 33s
WAI conformance / cross-arch byte-equality · linux (push) Successful in 14s
WAI conformance / cargo-class corpora · linux-arm64 (push) Successful in 1m11s
WAI conformance / cargo-class corpora · windows (push) Successful in 1m36s
WAI conformance / cross-arch byte-equality · linux-arm64 (push) Successful in 45s
WAI conformance / cross-arch byte-equality · windows (push) Successful in 29s
WAI conformance / cargo-class corpora · macos (push) Successful in 8m57s
WAI conformance / cross-arch byte-equality · macos (push) Successful in 2m41s
wai: qLDPC decoding — wai.quantum.decode
A deterministic fixed-point Relay-BP (normalized min-sum) decoder for quantum
LDPC codes, each decode sealing a signed, joule-metered receipt carrying
joules-per-decode — the metric no decoder reports and none signs.

- quantum_qec.rs: GF(2) RREF + row-space membership (logical-triviality test);
  CSS code builders — toric + bivariate-bicycle [[72,12]] "gross" (verified
  n/k + CSS orthogonality); normalized min-sum BP in pure i64 (scale-invariant,
  no float/tanh); Relay-BP — disordered signed per-node memory + warm-start,
  which breaks the degeneracy that traps plain BP on quantum codes; Monte-Carlo
  benchmark (relay vs plain over identical samples).
- quantum_ops.rs: DecodeReceipt binds (check-matrix hash, syndrome hash, decoder
  params) -> (correction hash, converged, work, joules); merkle + Ed25519, joule
  ceiling in verify(). logical_success is NOT a field — a real decoder can't know
  it (needs the true error); the receipt attests what it does know.
- wai-web: ToricDemo / GrossDemo / BenchDemo wasm bindings.

Honest boundary: simulated syndromes (no QPU); browser joules modeled from the
exact message-pass count (a real decoder fills it from a hardware meter). 56
quantum tests green.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-08-26 00:42:03 -04:00
..
wai.h wai: qLDPC decoding — wai.quantum.decode 2026-08-26 00:42:03 -04:00