Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2: U(1) Choi error

Open
QAlgorithms.Papers.Independent.Extend50.P09.u1_choi

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 k2t2=o(n)k^2t^2=o(n)k2t2=o(n), there are C,c>0C,c>0C,c>0 such that eventually, with Bn=tk4na(1−a)(1+Ck2t2/n)B_n=\frac{\sqrt{tk}}{4n\sqrt{a(1-a)}}(1+Ck^2t^2/n)Bn​=4na(1−a)​tk​​(1+Ck2t2/n),

EϵChoi≤Bn,Pr⁡[ϵChoi>Bn]≤e−cn.\mathbb E\epsilon_{\rm Choi}\le B_n,\qquad\Pr[\epsilon_{\rm Choi}>B_n]\le e^{-cn}.EϵChoi​≤Bn​,Pr[ϵChoi​>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 2, PDF pp.5–6, (30)–(31): expectation AND exponential upper
tail, with denominator 4*n*sqrt(a*(1-a)). -/
theorem u1_choi (laws : PhysicalUnitaryLaws 2) (h : ∀ n, IsCommutantHaarLaw (U1Group n) (laws n)) :
    U1Performance false 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. 5, Theorem 2: U(1) Choi 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 a family of Borel measures on complex matrices indexed by binary words of length nnn. Suppose that for every natural nnn, including 000, μn\mu_nμn​ is a probability measure concentrated on matrices

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 left multiplication by each V∈GnV\in G_nV∈Gn​ preserves μn\mu_nμn​. 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 the following holds for every four sequences Ni,ki,ti,αiN_i,k_i,t_i,\alpha_iNi​,ki​,ti​,αi​ of natural numbers satisfying

Ni→∞,ki2ti2Ni→0,N_i\to\infty,\qquad \frac{k_i^2t_i^2}{N_i}\to0,Ni​→∞,Ni​ki2​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 exists i0i_0i0​ such that, 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​ supported on words of Hamming weight αi\alpha_iαi​, and every subset SSS of the NiN_iNi​ coordinates with ∣S∣=ti|S|=t_i∣S∣=ti​, put

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

The tensor product places ρ\rhoρ first and ψ\psiψ last, and the surviving coordinates are ScS^cSc. Define

E(C)=inf⁡D1−(Re⁡Tr⁡Φ (id⁡⊗(D∘C))(Φ)Φ)2,Φ=∣Φki⟩⟨Φki∣,∣Φki⟩=2−ki/2∑x∣x,x⟩.E(\mathcal C) =\inf_D \sqrt{1-\left( \operatorname{Re}\operatorname{Tr} \sqrt{\sqrt{\Phi}\, (\operatorname{id}\otimes(D\circ\mathcal C))(\Phi) \sqrt{\Phi}}\right)^2}, \quad \Phi=|\Phi_{k_i}\rangle\langle\Phi_{k_i}|,\quad |\Phi_{k_i}\rangle=2^{-k_i/2}\sum_x|x,x\rangle.E(C)=Dinf​1−(ReTrΦ​(id⊗(D∘C))(Φ)Φ​​)2​,Φ=∣Φki​​⟩⟨Φki​​∣,∣Φki​​⟩=2−ki​/2x∑​∣x,x⟩.

The infimum is over all channels from the surviving coordinates to the kik_iki​-coordinate logical system; a channel has a finite Kraus expression 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, and the identity extension applies it to reference-indexed matrix blocks. The asserted bounds are

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

The square root is the total real square root, and the measure superscript denotes conversion of extended nonnegative mass to a real number. Constants C,cC,cC,c are chosen before the sequences, and i0i_0i0​ before ψ,S\psi,Sψ,S; the assertion does not replace the infimum by an attained minimum. The exact equality αi=aNi\alpha_i=aN_iαi​=aNi​ may make the sequence hypotheses unsatisfiable, as it does for irrational aaa, in which case the corresponding requirement 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