Certify v0.8.0: certified sub-threshold logical error rates for the rotated surface code — exact uncorrectable-set counts and a two-sided rational bracket, replayable in the standard library
Description
Mullan, Weippert and Brown (arXiv:2607.27153) state that quantum error-correcting code performance in the deep sub-threshold regime is not amenable to direct Monte Carlo simulation, and answer with an estimator. This release answers a different question: can the logical error rate be bracketed RIGOROUSLY and CHECKABLY? For the distance-3 and distance-5 rotated surface codes under one round of circuit-level depolarizing noise and a fixed lookup-table (coset-leader) decoder, we compute in exact arithmetic the integer counts A_w of uncorrectable weight-w fault sets up to a truncation weight, and convert them into a two-sided exact-rational bracket L <= P_L <= U whose width is an exactly computed Poisson-binomial tail. A certificate carries the mechanism list and the counts; a standard-library Python checker re-derives the decoder, the counts and both bounds from scratch and fails loudly on any mismatch (no solver, no proof assistant, no third-party library in the trusted base). Deep sub-threshold at p = 1e-3 the certified bracket is far tighter than a 10^7-shot Monte Carlo interval: about 18,500x at d = 3 and about 626x at d = 5, where matching the bracket would require Monte Carlo on the order of 4e12 shots. SCOPE, STATED PLAINLY: the bracket bounds the independent-mechanism detector error model (Stim's DEM semantics), not the physical depolarizing circuit; it is valid for the stated lookup-table decoder, not for a maximum-likelihood or matching decoder; and the trust root is the embedded mechanism list, the one link a reader cannot re-derive from the public artifact. The advantage degrades as the expected number of firing mechanisms grows: at p = 1e-2 the bracket still beats Monte Carlo at d = 3 (about 2.3x) but loses at d = 5 (about 20x), because the weight-truncation tail is fat there — not because a threshold has been crossed, since the logical rate still falls with distance. The frontier is sharp: exact re-verification at weight 7 exceeds a pure-Python checker. Every component passed a three-lens adversarial review before release (claims-vs-artifacts with independent re-derivation of all counts and ratios, replay audit with tamper tests, novelty and citation checks); the decision log ships as wedge-paper/FIXLOG.md. Computations carried out with Claude (Anthropic), directed by the author; Stim used as an untrusted generator only.
Files
05oz/certify-v0.8.0.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/05oz/certify/tree/v0.8.0 (URL)
Software
- Repository URL
- https://github.com/05oz/certify