Appendix B: linear-charge averaged Choi fidelity and purified-distance expansion
OpenQAlgorithms.Papers.Independent.Extend50.P03.average_choi_asymptoticsA 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. Write for the constructed averaged EPR output, , and . The fidelity clause assumes ; the relative purified-distance clause separately assumes . In their respective regimes, eventually
These are two-sided expansions of the specific average-state comparison, not optimized decoder errors.
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
/-- Appendix B, PDF pp.22–23: the fidelity expansion assumes kt=o(n).
The relative purified-distance expansion separately assumes k^2t^2=o(n).
Fidelity deficit has denominator n^2; both constants are uniform in the sequence. -/
theorem average_choi_asymptotics :
∀ a : ℝ, 0 < a → a < 1 → ∃ C : ℝ, 0 < C ∧
∀ d : ℕ → ChargeCodeParameters, LinearSequence a d →
(Tendsto (fun i => ((d i).k : ℝ) * (d i).t / (d i).n) atTop (nhds 0) →
∃ N : ℕ, ∀ i ≥ N,
let n := (d i).n; let k := (d i).k; let alpha := (d i).alpha; let t := (d i).t
let F := rootFidelity (reducedAverage n k alpha t) (comparisonChoi n k alpha t)
|F - (1 - (t : ℝ)*k/(32*a*(1-a)*(n : ℝ)^2))| ≤
C*(k : ℝ)^3*(t : ℝ)^3/(n : ℝ)^3) ∧
(Tendsto (fun i => relativeRemainder false (d i)) atTop (nhds 0) →
∃ N : ℕ, ∀ i ≥ N,
let n := (d i).n; let k := (d i).k; let alpha := (d i).alpha; let t := (d i).t
let P := purified (reducedAverage n k alpha t) (comparisonChoi n k alpha t)
|P / leadingError false a (d i) - 1| ≤ C * relativeRemainder false (d i)) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P03
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every real with , there exists one real constant such that the following two implications hold for every sequence of natural parameters satisfying , , , , , and for every . Define to be the diagonal matrix on with entry at strings of weight and elsewhere, and define for integers , and otherwise. For natural , put
Let
where matrix square roots are defined by functional calculus. If , then there exists a natural such that, for every ,
If instead , then there exists a natural such that, for every ,
The two eventual thresholds may differ, while is chosen before the sequence and serves both implications. All displayed denominators are positive under the sequence hypotheses. The exact equalities exclude such sequences for irrational .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.