Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Qubit classical threshold and first-order asymptotic error

Open
QAlgorithms.Papers.Independent.Extend50.P38.qubit_asymptotics

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

prove2quantum

Let fNf_NfN​ be the Haar-average pure-input fidelity of teleportation with NNN singlets and the normalized square-root measurement. Then

fN>23(N≥3),lim⁡N→∞N(1−fN)=12.f_N>\frac23\quad(N\geq3),\qquad\lim_{N\to\infty}N(1-f_N)=\frac12.fN​>32​(N≥3),N→∞lim​N(1−fN​)=21​.

The limit states the source's first-order asymptotic formula fN=1−1/(2N)+o(1/N)f_N=1-1/(2N)+o(1/N)fN​=1−1/(2N)+o(1/N). It retains the leading error coefficient and implies convergence to perfect average fidelity.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P38
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

open Filter MeasureTheory

namespace QAlgorithms.Papers.Independent.Extend50.P38

attribute [local instance] Classical.propDecidable Classical.decEq

-- Pinned accepted definitions; neither is re-declared in this module.

open QAlgorithms.Papers.Independent.Frontier18.P14 (singlet)

open QAlgorithms.Papers.Independent.Renew46.P01 (SpinPath)

/-- PDF p.3: strict classical threshold and the stated first-order asymptotic
f=1-1/(2N). The scaled error limit retains the coefficient, without inventing a remainder rate. -/
theorem qubit_asymptotics :
    (∀ N : ℕ, 3 ≤ N → 2 / 3 < qubitAverage N) ∧
    Tendsto (fun N : ℕ => (N : ℝ) * (1 - qubitAverage N)) atTop (nhds (1 / 2)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P38

end
Source
Asymptotic teleportation scheme as a universal programmable quantum processor, arXiv:0807.4568v2, PDF p. 3, Unnumbered paragraph following exact fidelity display
Read-back

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

For each natural number NNN, put P={0,1}NP=\{0,1\}^NP={0,1}N, define s(0,1)=1/2, s(1,0)=−1/2s(0,1)=1/\sqrt2,\ s(1,0)=-1/\sqrt2s(0,1)=1/2​, s(1,0)=−1/2​ and its other entries to be zero, and set R=ωω†R=\omega\omega^\daggerR=ωω†, where ω(a,b)=∏j<Ns(aj,bj)\omega_{(a,b)}=\prod_{j<N}s(a_j,b_j)ω(a,b)​=∏j<N​s(aj​,bj​). Define matrices indexed by P×{0,1}P\times\{0,1\}P×{0,1} by

(Si)(a,u),(a′,v)={2−max⁡(N−1,0)s(u,ai)s(v,ai′)‾,aj=aj′ for every j≠i,0,otherwise,(S_i)_{(a,u),(a',v)} = \begin{cases} 2^{-\max(N-1,0)}s(u,a_i)\overline{s(v,a'_i)}, &a_j=a'_j\text{ for every }j\ne i,\\ 0,&\text{otherwise}, \end{cases}(Si​)(a,u),(a′,v)​={2−max(N−1,0)s(u,ai​)s(v,ai′​)​,0,​aj​=aj′​ for every j=i,otherwise,​

and put

H=f ⁣(∑i<NSi),f(t)=(t)−1,Mi=HSiH+N−1(I−∑j<NHSjH),H=f\!\left(\sum_{i<N}S_i\right),\quad f(t)=(\sqrt t)^{-1}, \qquad M_i=HS_iH+N^{-1}\left(I-\sum_{j<N}HS_jH\right),H=f(i<N∑​Si​),f(t)=(t​)−1,Mi​=HSi​H+N−1​I−j<N∑​HSj​H​,

using continuous functional calculus and the convention 0−1=00^{-1}=00−1=0. For X∈M2(C)X\in M_2(\mathbb C)X∈M2​(C), define

[TN(X)]bc=∑i<N∑a,a′∈P∑u,v=01∑z:{j:j≠i}→{0,1}(Mi)(a′,v),(a,u)R(a,ιi(z,b)),(a′,ιi(z,c))Xuv,[\mathcal T_N(X)]_{bc} = \sum_{i<N}\sum_{a,a'\in P}\sum_{u,v=0}^{1} \sum_{z:\{j:j\ne i\}\to\{0,1\}} (M_i)_{(a',v),(a,u)} R_{(a,\iota_i(z,b)),(a',\iota_i(z,c))}X_{uv},[TN​(X)]bc​=i<N∑​a,a′∈P∑​u,v=0∑1​z:{j:j=i}→{0,1}∑​(Mi​)(a′,v),(a,u)​R(a,ιi​(z,b)),(a′,ιi​(z,c))​Xuv​,

where ιi\iota_iιi​ inserts its second argument at coordinate iii. Let

AN=∫Re⁡tr⁡[vv†TN(vv†)] dμ2(v),A_N=\int\operatorname{Re}\operatorname{tr} [vv^\dagger\mathcal T_N(vv^\dagger)]\,d\mu_2(v),AN​=∫Retr[vv†TN​(vv†)]dμ2​(v),

where μ2\mu_2μ2​ is the pushforward of normalized Haar measure on U(2)U(2)U(2) under U↦Ue0U\mapsto Ue_0U↦Ue0​. The theorem asserts both

AN>23for every N≥3,lim⁡N→∞N(1−AN)=12.A_N>\frac23\quad\text{for every }N\ge3, \qquad \lim_{N\to\infty}N(1-A_N)=\frac12.AN​>32​for every N≥3,N→∞lim​N(1−AN​)=21​.

The first assertion has no conclusion for N=0,1,2N=0,1,2N=0,1,2; the sequence in the limit is defined on all natural numbers, including N=0N=0N=0.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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