§4.3: simultaneous erasure bounds and flagged mixtures
OpenQAlgorithms.Papers.Independent.Extend50.P03.all_erasure_patternsA code encodes logical qubits in physical qubits, with , by appending a fixed normalized -qubit eigenvector of the Hamming-weight charge with eigenvalue , then applying . Thus . The ancilla is chosen independently of . The law is probability Haar on the full charge centralizer, including every sector phase. Erasure of a set of wires gives its complement to the decoder. Fidelity means root fidelity and . The optimized Choi error uses normalized EPR pairs; the optimized worst error chooses one CPTP decoder before all normalized joint logical/reference states over every finite reference dimension.
Fix . Work along admissible integer sequences with and exactly. The constants below are positive and depend only on , preceding the growth sequence, ancilla, and erased-wire choices; the eventual threshold may depend on the sequence. The displayed little-o ratio tends to zero. Expectations are integrable, and a probability bound allows a zero bad-event probability. For each metric use its own regime: for Choi and for worst error. Let denote the corresponding leading bound multiplied by times its relative remainder. There is one exceptional set of probability at most outside which every -wire location and every probability mixture of those locations with a classical location flag has error at most . Every fixed flagged mixture also has integrable mean error at most eventually. More explicitly, for any real threshold and nonnegative bounding each site's failure probability,
For with and , . Thus the union bound preserves exponential concentration. A fixed encoder need not have equal errors at different sites.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P03
noncomputable section
open MeasureTheory Filter
open scoped Matrix ComplexConjugate ComplexOrder ENNReal Matrix.Norms.Elementwise
namespace QAlgorithms.Papers.Independent.Extend50.P03
open QAlgorithms.Papers.Independent.Support50.P23 (minEntropy)
attribute [local instance] Classical.propDecidable
attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P03.matrixContinuousENorm
/-- Section 4.3, PDF p.12: simultaneous sites and flagged mixtures. The finite
union bound retains binomial(n,t), and t=o(n) gives subexponential amplification. -/
theorem all_erasure_patterns :
PatternGuarantee ChargeHaar ∧
(∀ n k alpha t : ℕ, ∀ A : Ancilla n k alpha, ∀ worst : Bool,
∀ mu : Measure ((Matrix.unitaryGroup (Qubits n) ℂ)), ChargeHaar n mu → ∀ B p : ℝ, 0 ≤ p →
(∀ S : Finset (Fin n), S.card = t →
mu {U | B < siteError worst A S U} ≤ ENNReal.ofReal p) →
mu {U | ∃ S : Finset (Fin n), S.card = t ∧ B < siteError worst A S U} ≤
ENNReal.ofReal ((n.choose t : ℝ) * p)) ∧
(∀ n t : ℕ → ℕ, Tendsto n atTop atTop → (∀ i, t i ≤ n i) →
Tendsto (fun i => (t i : ℝ)/n i) atTop (nhds 0) →
Tendsto (fun i => Real.logb 2 (Nat.choose (n i) (t i)) / n i) atTop (nhds 0)) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P03
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Write , and let be the diagonal matrix whose entry at a string is its number of ones. A charge ancilla for consists of , , and a unit vector on satisfying ; its encoder is , using the first and last coordinates. A charge Haar law is a probability measure on the unitary matrices on , almost surely supported on matrices commuting with , and invariant under left multiplication by every such unitary. For a channel with input , define its Choi error as , where is the supremum over recovery channels of the root fidelity between and , with . Define its worst error similarly using , where and ranges over density matrices on . Here density matrices are positive semidefinite with trace one, channels have finite Kraus representations , , and . Let be the corresponding error after encoding and tracing out the sites in , with selecting Choi error and selecting worst error. For a probability law on subsets of sites supported on subsets of size , let be the error when the erased subset is recorded as a classical flag, its coordinates are replaced by zeros, and its contents are traced out. The declaration asserts three conjunctions. First, for every and , there are constants such that every sequence with , , , , and , and with
has an index such that, for every , every charge ancilla , and every charge Haar law , each such mixture error is integrable and has mean at most , and
The charge relation is exact, so no such sequence exists for irrational . Second, for every , every charge ancilla , either choice of , every charge Haar law , every real , and every real , if each individual size- erasure event has measure at most , then the event that at least one size- erasure has error greater than has measure at most ; when , there are no such subsets. Third, for every pair of natural-number sequences with , for every , and , one has . Real bounds on measures are interpreted through their nonnegative extended-real embeddings; any early zero denominators in the last assertion use the total convention .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.