The 15-to-1 distillation bound and its recursion #
Category: 1-Mathlib (CSD-free; staged for upstream). BACKLOG #78, part (d) of R-004
(specs/magic-plan.md, "The split"); closes R-004.
Glossary: https://glossary.constraintsurfacedynamics.com/magic-state-distillation/
Plain-language, CSD-role and formal statements of magic-state distillation, with this module as
the Lean anchor. Kept symmetric by scripts/check-glossary.sh.
The fifteen injections (BACKLOG #66–#67) leave independent Z-errors of rate p on the encoded
magic state: the error pattern e ∈ 𝔽₂¹⁵ is distributed by the product measure patternMeasure ν
of fifteen copies of a Bernoulli ν with ν {1} = p. The X-checks accept exactly the undetected
patterns (BACKLOG #77), and an accepted pattern is wrong exactly when its weight is odd.
patternMeasure_singleton—μ {e} = p^{|e|} (1 − p)^{15 − |e|};acceptSet,wrongSet; ★measure_acceptSet_ge— acceptance≥ (1 − p)^{15}(the zero pattern is accepted); ★measure_wrongSet_le— accepted-and-wrong≤ 35 p³ + 2¹¹ p⁵(an accepted wrong pattern has odd weight≥ 3: exactly35of weight3, at most2¹¹of weight≥ 5, the counts of BACKLOG #75 transported through the definitional bridge);- ★★
distillation_error_le— the conditional error of one round:P(output wrong | accept) ≤ (35 p³ + 2¹¹ p⁵) / (1 − p)^{15}— Bravyi–Kitaev's35 p³at leading order; ★distillation_error_le_ninety— forp ≤ 1/20the bound is at most90 p³; distillIter p k— the recursionp ↦ 90 p³; ★distillIter_le, ★★tendsto_distillIter— belowp ≤ 1/20the iterated error rate tends to0(asp (90 p²)^k, a crude but valid envelope of the triple-exponential decay).
Honest scope #
⚠️ The recursion iterates the one-round bound under the standard modelling assumption that the
output errors of one round are again independent Z-errors of the bounded rate; the threshold
p ≤ 1/20 is a convenient sufficient condition, not Bravyi–Kitaev's exact fixed point ≈ 0.141.
The explicit decoding circuit is BACKLOG #79.
References: S. Bravyi, A. Kitaev, PRA 71 (2005) 022316 §IV; specs/magic-plan.md;
specs/BACKLOG.md #78; specs/future-work.md.
Transport of the counts from ReedMuller15.lean #
The pattern measure #
Fifteen independent copies of the single-qubit error law ν.
Equations
- QuantumInfo.ReedMuller15.patternMeasure ν = MeasureTheory.Measure.pi fun (x : Fin 15) => ν
Instances For
μ {e} = p^{|e|} (1 − p)^{15 − |e|}.
The accepted patterns: zero syndrome.
Equations
- QuantumInfo.ReedMuller15.acceptSet = {e : Fin 15 → Fin 2 | QuantumInfo.ReedMuller15.syndromeF e = 0}
Instances For
The accepted and wrong patterns: zero syndrome and odd parity.
Equations
Instances For
★ Acceptance probability at least (1 − p)^{15}: the zero pattern is accepted.
★ Accepted-and-wrong probability at most 35 p³ + 2¹¹ p⁵.
The conditional error of one round #
★★ The 15-to-1 distillation bound: conditional on acceptance, the output is wrong with
probability at most (35 p³ + 2¹¹ p⁵) / (1 − p)^{15} — Bravyi–Kitaev's 35 p³ at leading order.
★ One round for p ≤ 1/20: the conditional error is at most 90 p³.
The recursion #
The iterated error rate: p₀ = p, p_{k+1} = 90 p_k³.
Equations
Instances For
★ For p ≤ 1/20: 0 ≤ p_k ≤ p (90 p²)^k and p_k ≤ p.
★★ The distillation threshold, in the form the chain claims: below p ≤ 1/20 the iterated
error rate tends to 0.