Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Qubit success and failure comparison

Open
QAlgorithms.Papers.Independent.Extend50.P08.minimal_exact_success_comparison

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

prove2quantum

For every N≥1N\ge1N≥1, let pmp_mpm​ be success of the Bell-resource minimal SRM protocol and let ppp_ppp​ be success of the canonical optimal exact qubit pPBT protocol constructed from (A5). Then

pm=1−N+22N+1,pp=1−3N+3,1−pm1−pp=(N+2)(N+3)3 2N+1⟶0.p_m=1-\frac{N+2}{2^{N+1}},\qquad p_p=1-\frac3{N+3},\qquad \frac{1-p_m}{1-p_p}=\frac{(N+2)(N+3)}{3\,2^{N+1}}\longrightarrow0.pm​=1−2N+1N+2​,pp​=1−N+33​,1−pp​1−pm​​=32N+1(N+2)(N+3)​⟶0.

For N≥2N\ge2N≥2, pp<pmp_p<p_mpp​<pm​; at N=1N=1N=1 they coincide. The exact failure ratio specifies the exponential success improvement being compared, without asserting any gate-count improvement, fidelity dominance or nonreducibility.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P08
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.L2Operator

namespace QAlgorithms.Papers.Independent.Extend50.P08

attribute [local instance] Classical.propDecidable Classical.decEq

/-- §I, PDF p.2; Theorem 2 p.7, Fig.2 p.9, (A8) p.20: qubit success
comparison, with its exact exponentially small failure ratio. Equality occurs at N=1. -/
theorem minimal_exact_success_comparison :
    (∀ N : ℕ, 0 < N →
      pbtSuccess (1 : AliceMatrix 2 N) (minimalEffects 2 N) =
        1 - ((N : ℝ) + 2) / 2 ^ (N + 1) ∧
      pbtSuccess (probabilisticFilter 2 N) (probabilisticEffects 2 N) = 1 - 3 / ((N : ℝ) + 3) ∧
      (2 ≤ N → pbtSuccess (probabilisticFilter 2 N) (probabilisticEffects 2 N) <
        pbtSuccess (1 : AliceMatrix 2 N) (minimalEffects 2 N)) ∧
      (1 - pbtSuccess (1 : AliceMatrix 2 N) (minimalEffects 2 N)) /
        (1 - pbtSuccess (probabilisticFilter 2 N) (probabilisticEffects 2 N)) =
          (((N : ℝ) + 2) * (N + 3)) / (3 * 2 ^ (N + 1))) ∧
    Filter.Tendsto (fun N =>
      (1 - pbtSuccess (1 : AliceMatrix 2 N) (minimalEffects 2 N)) /
        (1 - pbtSuccess (probabilisticFilter 2 N) (probabilisticEffects 2 N)))
      Filter.atTop (nhds 0) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P08

end
Source
Minimal Port-based Teleportation, arXiv:2111.05499v2, PDF p. 2, §I/§III A: qubit minimal-PBT success versus canonical optimal exact pPBT
Read-back

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

For each natural number NNN, the two success quantities in this assertion are defined as follows. Let AN={0,1}{0,…,N−1}A_N=\{0,1\}^{\{0,\ldots,N-1\}}AN​={0,1}{0,…,N−1} and, for each port i<Ni<Ni<N, define a matrix on AN×{0,1}A_N\times\{0,1\}AN​×{0,1} by Bi((x,c),(y,c′))=12B_i((x,c),(y,c'))=\tfrac12Bi​((x,c),(y,c′))=21​ when xj=yjx_j=y_jxj​=yj​ for all j≠ij\ne ij=i, xi=cx_i=cxi​=c, and yi=c′y_i=c'yi​=c′, and by zero otherwise. Set σi=2−(N−1)Bi\sigma_i=2^{-(N-1)}B_iσi​=2−(N−1)Bi​, with N−1N-1N−1 truncated at zero, and define C=f(∑iσi)C=f(\sum_i\sigma_i)C=f(∑i​σi​) by continuous functional calculus for f(t)=(t)−1f(t)=(\sqrt t)^{-1}f(t)=(t​)−1, Ri=CσiCR_i=C\sigma_iCRi​=Cσi​C, and Rfail=I−∑iRiR_{\mathrm{fail}}=I-\sum_iR_iRfail​=I−∑i​Ri​. To define the second family, let P2,n\mathcal P_{2,n}P2,n​ be the Young diagrams with nnn cells and at most two rows. Using the fixed cell numbering for each λ\lambdaλ, let Rλ,CλR_\lambda,C_\lambdaRλ​,Cλ​ be the row preserving and column preserving permutations, define Yλ(g,h)=∑a∈Rλ,b∈Cλsgn⁡(b)1{g=hab}Y_\lambda(g,h)=\sum_{a\in R_\lambda,b\in C_\lambda}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}Yλ​(g,h)=∑a∈Rλ​,b∈Cλ​​sgn(b)1{g=hab}​, let SλS_\lambdaSλ​ be its range, rλ=dim⁡CSλr_\lambda=\dim_{\mathbb C}S_\lambdarλ​=dimC​Sλ​, and QλQ_\lambdaQλ​ its orthogonal projection. Put Lπ(g,h)=1{g=πh}L_\pi(g,h)=\mathbf1_{\{g=\pi h\}}Lπ​(g,h)=1{g=πh}​, Tπ(x,y)=1{x=y∘π−1}T_\pi(x,y)=\mathbf1_{\{x=y\circ\pi^{-1}\}}Tπ​(x,y)=1{x=y∘π−1}​, and Pλ=(rλ/n!)∑πtr⁡(Lπ−1Qλ)TπP_\lambda=(r_\lambda/n!)\sum_\pi\operatorname{tr}(L_{\pi^{-1}}Q_\lambda)T_\piPλ​=(rλ​/n!)∑π​tr(Lπ−1​Qλ​)Tπ​. Let mλm_\lambdamλ​ count fillings by {0,1}\{0,1\}{0,1} that are weakly increasing along rows and strictly increasing down columns, and set

cN=(∑μ∈P2,Nmμ2)−1,ON=∑μ∈P2,N2NcNmμrμ Pμ.c_N=\left(\sum_{\mu\in\mathcal P_{2,N}}m_\mu^2\right)^{-1}, \qquad O_N=\sum_{\mu\in\mathcal P_{2,N}} \sqrt{2^N}\sqrt{\frac{c_Nm_\mu}{r_\mu}}\,P_\mu.cN​=​μ∈P2,N​∑​mμ2​​−1,ON​=μ∈P2,N​∑​2N​rμ​cN​mμ​​​Pμ​.

For i<Ni<Ni<N, let xi^x_{\widehat i}xi​ be the word obtained by deleting coordinate iii, retaining the order of the other coordinates, and define

Wi((x,c),(y,c′))=∑α∈P2,N−12N+1cNmα2NrαPα(xi^,yi^)1{xi=c, yi=c′}.W_i((x,c),(y,c'))= \sum_{\alpha\in\mathcal P_{2,N-1}} \frac{2^{N+1}c_Nm_\alpha}{2Nr_\alpha} P_\alpha(x_{\widehat i},y_{\widehat i}) \mathbf1_{\{x_i=c,\ y_i=c'\}}.Wi​((x,c),(y,c′))=α∈P2,N−1​∑​2Nrα​2N+1cN​mα​​Pα​(xi​,yi​)1{xi​=c, yi​=c′}​.

Define VN=g(ON)V_N=g(O_N)VN​=g(ON​) by continuous functional calculus with g(t)=t−1g(t)=t^{-1}g(t)=t−1, Hi=(VN⊗I2)Wi(VN⊗I2)H_i=(V_N\otimes I_2)W_i(V_N\otimes I_2)Hi​=(VN​⊗I2​)Wi​(VN​⊗I2​), and Hfail=I−∑iHiH_{\mathrm{fail}}=I-\sum_iH_iHfail​=I−∑i​Hi​. Every inverse here, including that of zero, is total with 0−1=00^{-1}=00−1=0. For a matrix OOO on ANA_NAN​ and a family of port effects MiM_iMi​, write

sN(O,M)=2−(N+1)∑i<NRe⁡tr⁡((O⊗I2)†Mi(O⊗I2));s_N(O,M)=2^{-(N+1)} \sum_{i<N}\operatorname{Re}\operatorname{tr} \bigl((O\otimes I_2)^\dagger M_i(O\otimes I_2)\bigr);sN​(O,M)=2−(N+1)i<N∑​Retr((O⊗I2​)†Mi​(O⊗I2​));

this is the success quantity used in the assertion, and the failure effect does not enter this sum. Put aN=sN(I,R)a_N=s_N(I,R)aN​=sN​(I,R) and bN=sN(ON,H)b_N=s_N(O_N,H)bN​=sN​(ON​,H). For every N>0N>0N>0,

aN=1−N+22N+1,bN=1−3N+3,N≥2 ⟹ bN<aN,a_N=1-\frac{N+2}{2^{N+1}}, \qquad b_N=1-\frac{3}{N+3}, \qquad N\ge2\ \Longrightarrow\ b_N<a_N,aN​=1−2N+1N+2​,bN​=1−N+33​,N≥2 ⟹ bN​<aN​,

and

1−aN1−bN=(N+2)(N+3)3⋅2N+1.\frac{1-a_N}{1-b_N} =\frac{(N+2)(N+3)}{3\cdot2^{N+1}}.1−bN​1−aN​​=3⋅2N+1(N+2)(N+3)​.

Finally, the sequence (1−aN)/(1−bN)(1-a_N)/(1-b_N)(1−aN​)/(1−bN​) tends to 000 as NNN tends to infinity through the natural numbers. The pointwise formulas above require N>0N>0N>0; the sequence in the limit is also defined at N=0N=0N=0, where both success sums are empty, a0=b0=0a_0=b_0=0a0​=b0​=0, and the ratio is 111.

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