Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3: U(1) worst-case error

Open
QAlgorithms.Papers.Independent.Extend50.P09.u1_worst

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let n,k,t,αn,k,t,\alphan,k,t,α be integers with 0≤k,t≤n0\le k,t\le n0≤k,t≤n and 0≤α≤n−k0\le\alpha\le n-k0≤α≤n−k. Append a fixed unit vector of charge α\alphaα to kkk logical qubits and conjugate by a Haar-random unitary in the full commutant of the nnn-qubit Hamming-weight operator. Erase a fixed known set of ttt sites. Let ϵChoi\epsilon_{\rm Choi}ϵChoi​ and ϵworst\epsilon_{\rm worst}ϵworst​ denote the optimal CPTP recovery errors, using root fidelity FFF and purified distance P=1−F2P=\sqrt{1-F^2}P=1−F2​, respectively on the normalized maximally entangled input and on all reference-entangled inputs with one common decoder.

All logarithms are base two. Asymptotic inequalities are eventual bounds with positive constants chosen before the sizes, ancillary vectors, and erased sets over which they are uniform. For fixed 0<a<10<a<10<a<1, α=an\alpha=anα=an is imposed only along an admissible unbounded integer-size subsequence, with positive k,tk,tk,t; the threshold may depend on its little-o convergence rate.

Under kt2=o(n)kt^2=o(n)kt2=o(n), there are C,c>0C,c>0C,c>0 such that eventually, with Bn=kt4na(1−a)(1+Ckt2/n)B_n=\frac{k\sqrt t}{4n\sqrt{a(1-a)}}(1+Ckt^2/n)Bn​=4na(1−a)​kt​​(1+Ckt2/n),

Eϵworst≤Bn,Pr⁡[ϵworst>Bn]≤e−cn.\mathbb E\epsilon_{\rm worst}\le B_n,\qquad\Pr[\epsilon_{\rm worst}>B_n]\le e^{-cn}.Eϵworst​≤Bn​,Pr[ϵworst​>Bn​]≤e−cn.

The two conclusions state both mean recovery performance and an exponential upper bound on failure probability.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P09
Formal statement
noncomputable section

open scoped Matrix Matrix.Norms.Elementwise ComplexConjugate ENNReal ComplexOrder

open MeasureTheory Filter

namespace QAlgorithms.Papers.Independent.Extend50.P09

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact generic definitions from the pinned accepted library.

open QAlgorithms.Papers.Independent.Information100.P22 (Op mixed bell)

open QAlgorithms.Papers.Independent.Information100.P67 (conditionalMinEntropy)

open QAlgorithms.Papers.Independent.Advance50.P02 (negLog)

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixMeasurable

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P09.covariantMatrixBorel

/-- Theorem 3, PDF p.7, (55)–(56): leading k*sqrt(t), relative kt²/n. -/
theorem u1_worst (laws : PhysicalUnitaryLaws 2) (h : ∀ n, IsCommutantHaarLaw (U1Group n) (laws n)) :
    U1Performance true laws := by sorry

end QAlgorithms.Papers.Independent.Extend50.P09

end
Source
Near-optimal covariant quantum error-correcting codes from random unitaries with symmetries, arXiv:2112.01498v2, PDF p. 7, Theorem 3: U(1) worst-case error
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let (μn)n∈N(\mu_n)_{n\in\mathbb N}(μn​)n∈N​ be Borel measures on all complex matrices indexed by binary words of length nnn. Assume, for every natural nnn, including 000, that μn\mu_nμn​ is a probability measure assigning zero mass to the complement of

Gn={U:U†U=I, UQn=QnU},(Qn)xy=1{x=y}∣x∣,G_n=\{U:U^\dagger U=I,\ UQ_n=Q_nU\}, \qquad (Q_n)_{xy}=\mathbf1_{\{x=y\}}|x|,Gn​={U:U†U=I, UQn​=Qn​U},(Qn​)xy​=1{x=y}​∣x∣,

and that μn\mu_nμn​ is preserved by left multiplication by every V∈GnV\in G_nV∈Gn​. Then, for every real aaa with 0<a<10<a<10<a<1, there are constants C,c>0C,c>0C,c>0 such that, for every four sequences Ni,ki,ti,αiN_i,k_i,t_i,\alpha_iNi​,ki​,ti​,αi​ of natural numbers satisfying

Ni→∞,kiti2Ni→0,N_i\to\infty,\qquad \frac{k_it_i^2}{N_i}\to0,Ni​→∞,Ni​ki​ti2​​→0,

and, for every iii,

0<Ni,0<ki≤Ni,0<ti≤Ni,αi≤Ni−ki,αi=aNi,0<N_i,\quad 0<k_i\le N_i,\quad 0<t_i\le N_i,\quad \alpha_i\le N_i-k_i,\quad \alpha_i=aN_i,0<Ni​,0<ki​≤Ni​,0<ti​≤Ni​,αi​≤Ni​−ki​,αi​=aNi​,

there is an index i0i_0i0​ with the following property. For every i≥i0i\ge i_0i≥i0​, every supplied witness of ki≤Nik_i\le N_iki​≤Ni​, every unit vector ψ\psiψ on binary words of length Ni−kiN_i-k_iNi​−ki​ whose amplitudes vanish outside Hamming weight αi\alpha_iαi​, and every set SSS of tit_iti​ physical coordinates, define

CU(ρ)=Tr⁡S[U(ρ⊗∣ψ⟩⟨ψ∣)U†],bi=kiti4Nia(1−a)(1+Ckiti2Ni).\mathcal C_U(\rho) =\operatorname{Tr}_{S} \left[U(\rho\otimes|\psi\rangle\langle\psi|)U^\dagger\right], \qquad b_i=\frac{k_i\sqrt{t_i}}{4N_i\sqrt{a(1-a)}} \left(1+C\frac{k_it_i^2}{N_i}\right).CU​(ρ)=TrS​[U(ρ⊗∣ψ⟩⟨ψ∣)U†],bi​=4Ni​a(1−a)​ki​ti​​​(1+CNi​ki​ti2​​).

Here the logical coordinates come first, the ancillary coordinates last, and tracing out SSS leaves ScS^cSc. Define

Eworst(C)=inf⁡Dsup⁡∥ξ∥=1d ⁣(∣ξ⟩⟨ξ∣,(id⁡⊗(D∘C))(∣ξ⟩⟨ξ∣)),d(ρ,σ)=1−(Re⁡Tr⁡ρ σρ)2.E_{\mathrm{worst}}(\mathcal C) =\inf_D\sup_{\|\xi\|=1} d\!\left(|\xi\rangle\langle\xi|, (\operatorname{id}\otimes(D\circ\mathcal C)) (|\xi\rangle\langle\xi|)\right), \qquad d(\rho,\sigma)= \sqrt{1-\left(\operatorname{Re}\operatorname{Tr} \sqrt{\sqrt\rho\,\sigma\sqrt\rho}\right)^2}.Eworst​(C)=Dinf​∥ξ∥=1sup​d(∣ξ⟩⟨ξ∣,(id⊗(D∘C))(∣ξ⟩⟨ξ∣)),d(ρ,σ)=1−(ReTrρ​σρ​​)2​.

The supremum ranges over unit vectors on two copies of the logical system; DDD ranges over channels from the surviving system back to the logical system. A channel is a finite Kraus map X↦∑jKjXKj†X\mapsto\sum_jK_jXK_j^\daggerX↦∑j​Kj​XKj†​ with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I; its identity extension acts on reference-indexed matrix blocks, and (∣ξ⟩⟨ξ∣)xy=ξxξy‾(|\xi\rangle\langle\xi|)_{xy}=\xi_x\overline{\xi_y}(∣ξ⟩⟨ξ∣)xy​=ξx​ξy​​. The conclusions are

∫Eworst(CU) dμNi(U)≤bi,μNi{U:bi<Eworst(CU)}real≤e−cNi.\int E_{\mathrm{worst}}(\mathcal C_U)\,d\mu_{N_i}(U)\le b_i, \qquad \mu_{N_i}\{U:b_i<E_{\mathrm{worst}}(\mathcal C_U)\}^{\mathrm{real}} \le e^{-cN_i}.∫Eworst​(CU​)dμNi​​(U)≤bi​,μNi​​{U:bi​<Eworst​(CU​)}real≤e−cNi​.

The real square root is zero on negative arguments, and the measure superscript means conversion from extended nonnegative mass to a real number. The order is an infimum over one recovery channel followed by a supremum over input vectors, with no assertion of attainment. The constants C,cC,cC,c precede all four sequences, and i0i_0i0​ precedes ψ,S\psi,Sψ,S. If the exact integer constraints αi=aNi\alpha_i=aN_iαi​=aNi​ cannot be met—for example for irrational aaa—the corresponding sequence implication is vacuous.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me