Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact qubit SRM entanglement fidelity

Open
QAlgorithms.Papers.Independent.Extend50.P38.qubit_fidelity

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

prove2quantum

For N≥1N\geq1N≥1, use NNN spin singlets as the resource and let Alice perform the square-root measurement of the singlet signals, completed by Δ=(I−∑iρ−1/2σiρ−1/2)/N\Delta=(I-\sum_i\rho^{-1/2}\sigma_i\rho^{-1/2})/NΔ=(I−∑i​ρ−1/2σi​ρ−1/2)/N on every outcome. These effects form a POVM and the resulting port-selection map ΛN\Lambda_NΛN​ is a channel. Its entanglement fidelity is

FN=12N+3∑k=0N(Nk)[N−2k−1k+1+N−2k+1N−k+1]2,F_N=\frac1{2^{N+3}}\sum_{k=0}^N\binom Nk\left[\frac{N-2k-1}{\sqrt{k+1}}+\frac{N-2k+1}{\sqrt{N-k+1}}\right]^2,FN​=2N+31​k=0∑N​(kN​)[k+1​N−2k−1​+N−k+1​N−2k+1​]2,

and its Haar-average pure-input fidelity is fN=(2FN+1)/3f_N=(2F_N+1)/3fN​=(2FN​+1)/3. This is an identity for the physical protocol, not a definition of its 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, last unnumbered fidelity display: exact entanglement fidelity of the
physical singlet-resource SRM channel, with its normalized kernel completion. -/
theorem qubit_fidelity (N : ℕ) (hN : 0 < N) :
    IsPOVM (srm (singletSignals N)) ∧ IsChannel (singletSrmChannel N) ∧
    QuditFidelity.entanglementFidelity 2 (by decide) (singletSrmChannel N) = qubitClosedF N ∧
    qubitAverage N = (2 * qubitClosedF N + 1) / 3 := 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, Last unnumbered display in right column
Read-back

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

For every natural number N>0N>0N>0, put P={0,1}NP=\{0,1\}^NP={0,1}N, and let 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​, with the other entries zero. Define

ω(a,b)=∏j=0N−1s(aj,bj),R=ωω†,\omega_{(a,b)}=\prod_{j=0}^{N-1}s(a_j,b_j), \qquad R=\omega\omega^\dagger,ω(a,b)​=j=0∏N−1​s(aj​,bj​),R=ωω†,

and matrices indexed by P×{0,1}P\times\{0,1\}P×{0,1} by

(Si)(a,u),(a′,v)={2−(N−1)s(u,ai)s(v,ai′)‾,aj=aj′ for every j≠i,0,otherwise.(S_i)_{(a,u),(a',v)} = \begin{cases} 2^{-(N-1)}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−(N−1)s(u,ai​)s(v,ai′​)​,0,​aj​=aj′​ for every j=i,otherwise.​

Using continuous functional calculus, set

H=f ⁣(∑iSi),f(t)=(t)−1,Ai=HSiH,C=1N(I−∑iAi),Mi=Ai+C,H=f\!\left(\sum_iS_i\right),\quad f(t)=(\sqrt t)^{-1},\qquad A_i=HS_iH,\qquad C=\frac1N\left(I-\sum_iA_i\right),\qquad M_i=A_i+C,H=f(i∑​Si​),f(t)=(t​)−1,Ai​=HSi​H,C=N1​(I−i∑​Ai​),Mi​=Ai​+C,

where the inverse at zero is zero. Define T\mathcal TT by

[T(X)]bc=∑i∑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(X)]_{bc} = \sum_i\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},[T(X)]bc​=i∑​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 the indicated bit at port iii. Let

Fe(T)=Re⁡tr⁡[ϕϕ†(id⁡⊗T)(ϕϕ†)],ϕ=e0⊗e0+e1⊗e12,F_e(\mathcal T)= \operatorname{Re}\operatorname{tr} \left[\phi\phi^\dagger(\operatorname{id}\otimes\mathcal T)(\phi\phi^\dagger)\right], \quad \phi=\frac{e_0\otimes e_0+e_1\otimes e_1}{\sqrt2},Fe​(T)=Retr[ϕϕ†(id⊗T)(ϕϕ†)],ϕ=2​e0​⊗e0​+e1​⊗e1​​,

where the extended map applies T\mathcal TT to each block of the second factor, and let

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

where μ2\mu_2μ2​ is the law of Ue0Ue_0Ue0​ for normalized Haar-distributed U∈U(2)U\in U(2)U∈U(2). Define

FN=12N+3∑k=0N(Nk)(N−2k−1k+1+N−2k+1N−k+1)2.F_N= \frac1{2^{N+3}} \sum_{k=0}^{N}\binom Nk \left( \frac{N-2k-1}{\sqrt{k+1}} + \frac{N-2k+1}{\sqrt{N-k+1}} \right)^2.FN​=2N+31​k=0∑N​(kN​)(k+1​N−2k−1​+N−k+1​N−2k+1​)2.

The theorem states that every MiM_iMi​ is positive semidefinite and ∑iMi=I\sum_iM_i=I∑i​Mi​=I; that T(X)=∑rKrXKr†\mathcal T(X)=\sum_rK_rXK_r^\daggerT(X)=∑r​Kr​XKr†​ for some finite family with ∑rKr†Kr=I2\sum_rK_r^\dagger K_r=I_2∑r​Kr†​Kr​=I2​; and that

Fe(T)=FN,AN=2FN+13.F_e(\mathcal T)=F_N,\qquad A_N=\frac{2F_N+1}{3}.Fe​(T)=FN​,AN​=32FN​+1​.
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