Level reduction: a local stochastic model on C′ induces one on C with bounds Σ_{|R|=t+1} Π p_j
OpenQAlgorithms.GottesmanIntro.level_reductionFix an code with fault-tolerant gadgets of a common depth (Definitions 2–5), a circuit as in Definition 6, and its fault-tolerant circuit . Suppose undergoes a local stochastic error model (Definition 12): with probability the faults are at precisely the set of locations of , the errors there being arbitrary quantum operations, possibly entangled through an environment, applied in chronological order; and for every set of locations,
For a location of put
the sum over the sets of exactly locations of contained in the extended rectangle of . Then there is an error model on such that
- faults occur at precisely the set of locations of with probability , where is the set of bad ExRecs assigned by Definition 10;
- the decoded output distribution of equals the output distribution of under this model;
- the model is local stochastic with error bounds : for every set of locations of , the probability of faults at all of is at most ;
- if and for all locations of , then for every location , where is the maximum over the types of ExRecs of the number of -element sets of locations of the ExRec.
This is the step that lets concatenation reduce the error rate from to per level.
Formalization Note The side condition of Definition 12 is not claimed (eq. (84) can exceed ); the local stochastic inequality is stated with the bounds exactly.
import Definitions.Def_QAlgorithms_Defs_FTCircuit import Definitions.Def_QAlgorithms_GottesmanIntro_Ch05b_Model set_option autoImplicit false
namespace QAlgorithms.GottesmanIntro
/-- Gottesman intro p.40, Theorem 9 (Level Reduction): "Suppose we have a fault-tolerant circuit
`C′` for `C`, and suppose `C′` experiences a local stochastic error model with error bounds `p_i`
and probability `p_S` of errors at precisely the set `S` of locations. Then for any particular set
`S` define `C̃_S` as in theorem 8, and define an error model on `C` by replacing `C` with `C̃_S`
with probability `p_S`. This is a local stochastic error model. The error bounds `p′_i` for `C`
are given by `p′_i ≤ Σ_R Π_{i∈R} p_i` (84) … In the special case where `p_i ≤ p` for all `i`, we
have `p′_i ≤ A p^{t+1}` (85)."
Let `P` be a fault-tolerant protocol, `C` a Def. 6 circuit, and `M` a local stochastic error
model (Def. 12: arbitrary chronological quantum errors, possibly entangled through an environment,
at a random set of faulty locations) on `C′ = ftCircuit P C` with bounds `p_i < 1`. Then there is
an error model `M′` on `C` such that
1. faults occur at precisely the set `S′` of locations of `C` with probability
`Σ_{S : bad(S) = S′} p_S`, `bad(S)` the bad locations of Def. 10;
2. the decoded output distribution of `C′` under `M` equals the output distribution of `C` under
`M′`;
3. `M′` is local stochastic with the bounds `p′_i` of eq. (84);
4. if `0 ≤ p` and `p_j ≤ p` for every location `j` of `C′`, then `p′_i ≤ A p^{t+1}` for every location `i`
of `C`, with `A` as in eq. (85). -/
theorem level_reduction (P : FTProtocol) (hP : P.IsFaultTolerant) (hdepth : P.HasUniformDepth)
{N : ℕ} (C : LocCircuit N) (hC : C.IsIdealCircuit)
(M : LocalStochasticModel (N * (P.n + P.A))) (p : ℕ × ℕ → ℝ)
(hp1 : ∀ j ∈ (ftCircuit P C).locs, p j < 1) (hM : IsLocalStochastic (ftCircuit P C) M p) :
∃ M' : LocalStochasticModel N,
(∀ S' : Finset (ℕ × ℕ), M'.prob S' =
∑ S ∈ (ftCircuit P C).locs.powerset.filter (fun S => badAssignment P C S = S'),
M.prob S) ∧
pushDist (ftDecode P C) (noisyOutDist (ftCircuit P C) M) = noisyOutDist C M' ∧
IsLocalStochastic C M' (levelReducedBound P C p) ∧
∀ p0 : ℝ, 0 ≤ p0 → (∀ j ∈ (ftCircuit P C).locs, p j ≤ p0) →
∀ i ∈ C.locs, levelReducedBound P C p i ≤ (exRecSubsetMax P : ℝ) * p0 ^ (P.t + 1) := by
sorry
end QAlgorithms.GottesmanIntro
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Data. The statement uses the same notions as the previous read-back. These are repeated here in compact form.
is a protocol . It is assumed to be fault tolerant, which means all of the following:
- is a 2-dimensional code on which every operator supported on qubits is detectable.
- is an isometry onto .
- is a Kraus channel that ideally decodes for every in the span of weight- Pauli strings, giving .
- The gadgets and the EC circuit are well formed with the stated live data wires.
- The Meas, Prep A/B, Gate A/B (for , , CNOT, wait) and EC A/B identities hold. Each is stated with the filters , which conjugate by the projection onto , whenever the gadget's fault count plus the filter parameters is .
also has uniform gadget depth. is an ideal circuit on wires: well formed from no live wires to no live wires, with all conditions constantly true. is its fault-tolerant version on wires, and is its logical decoding of records.
Local stochastic models. A model on wires consists of:
- an environment dimension ;
- a matrix on the environment;
- a real weight for every finite set of location ids;
- superoperators on qubits environment.
The noisy output distribution is
Here is of the classical–quantum run at record from .
A model is local stochastic with bound when:
- is a density matrix;
- for all , and unless ;
- ;
- for at a location , is a channel on 's wires environment, extended by the identity on the other wires;
- for every ,
Hypotheses. is local stochastic for with bound , and for every location of .
The bad set. marks a location of as bad, scanning from the last step backwards, when more than elements of lie in its ExRec. The ExRec consists of its gadget, the leading EC on its wires (if it is not a preparation) and the trailing EC on its wires (if it is not a measurement). The trailing EC omits wires shared with a bad location of the next step.
Opaque quantities. The quantities , a function of location ids, and , a natural number, are not part of the provided definition layer. They are therefore not unfolded here.
Conclusion. There is a local stochastic model on wires, with unconstrained environment dimension, initial environment and error superoperators, such that:
- For every set ,
- The decoded noisy output of equals the noisy output of under :
where . 3. is local stochastic for with bound . 4. For every real with at all locations of , every location of satisfies
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.