Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact discrimination success and entanglement fidelity of standard PBT

Open
QAlgorithms.Papers.Independent.Extend50.P19.standard_pbt_performance

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

prove2quantum

Let d,N≥1d,N\ge1d,N≥1 be integers. Write Φ+=∣Φ+⟩⟨Φ+∣\Phi^+=|\Phi^+\rangle\langle\Phi^+|Φ+=∣Φ+⟩⟨Φ+∣, where ∣Φ+⟩=d−1/2∑j=1d∣j,j⟩|\Phi^+\rangle=d^{-1/2}\sum_{j=1}^d|j,j\rangle∣Φ+⟩=d−1/2∑j=1d​∣j,j⟩, and let φ0=(Φ+)⊗N\varphi_0=(\Phi^+)^{\otimes N}φ0​=(Φ+)⊗N be the port resource. On ANBA^N BANB, define ρi=ΦAiB+⊗IAic/dN−1\rho_i=\Phi^+_{A_iB}\otimes I_{A_i^c}/d^{N-1}ρi​=ΦAi​B+​⊗IAic​​/dN−1, ρˉ=∑iρi\bar\rho=\sum_i\rho_iρˉ​=∑i​ρi​, and Π\PiΠ as the support projection of ρˉ\bar\rhoρˉ​. All inverse powers are generalized spectral inverse powers, zero on the kernel. The fixed measurement is

Ei0=ρˉ−1/2ρiρˉ−1/2+I−ΠN.E_i^0=\bar\rho^{-1/2}\rho_i\bar\rho^{-1/2}+\frac{I-\Pi}{N}.Ei0​=ρˉ​−1/2ρi​ρˉ​−1/2+NI−Π​.

The complementary term completes the PGM to a full POVM without affecting the ensemble probabilities. Let p(ρ,E)=N−1∑itr⁡(Eiρi)p(\rho,E)=N^{-1}\sum_i\operatorname{tr}(E_i\rho_i)p(ρ,E)=N−1∑i​tr(Ei​ρi​). Let F(φ,E)F(\varphi,E)F(φ,E) denote the entanglement fidelity of deterministic single-input PBT: Alice measures A0ANA_0A^NA0​AN with the NNN-outcome POVM EEE, communicates iii, and Bob keeps BiB_iBi​ as the output and traces out his other ports. Thus F=⟨Φ+∣(Λ⊗id)(Φ+)∣Φ+⟩F=\langle\Phi^+|(\Lambda\otimes\mathrm{id})(\Phi^+)|\Phi^+\rangleF=⟨Φ+∣(Λ⊗id)(Φ+)∣Φ+⟩ for the resulting physical channel Λ\LambdaΛ.

For a partition μ⊢dN\mu\vdash_d Nμ⊢d​N, let mμ=dim⁡Vμdm_\mu=\dim V_\mu^dmμ​=dimVμd​ and dμ=dim⁡Wμd_\mu=\dim W_\mudμ​=dimWμ​ be the Weyl and Specht dimensions. In each inner sum, μ=α+□\mu=\alpha+\squareμ=α+□ ranges over valid partitions obtained by adding one box. Then

p(ρ,E0)=1NdN∑α⊢dN−1(∑μ=α+□mμdμ)2,p(\rho,E^0)=\frac1{Nd^N}\sum_{\alpha\vdash_d N-1}\left(\sum_{\mu=\alpha+\square}\sqrt{m_\mu d_\mu}\right)^2,p(ρ,E0)=NdN1​α⊢d​N−1∑​​μ=α+□∑​mμ​dμ​​​2, F(φ0,E0)=1dN+2∑α⊢dN−1(∑μ=α+□mμdμ)2.F(\varphi_0,E^0)=\frac1{d^{N+2}}\sum_{\alpha\vdash_d N-1}\left(\sum_{\mu=\alpha+\square}\sqrt{m_\mu d_\mu}\right)^2.F(φ0​,E0)=dN+21​α⊢d​N−1∑​​μ=α+□∑​mμ​dμ​​​2.

The square is taken separately for every α\alphaα. These are the exact standard-protocol performance formulas, including N=1N=1N=1 and d=1d=1d=1.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P19
Formal statement
set_option backward.isDefEq.respectTransparency.types false

noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

open QAlgorithms

namespace QAlgorithms.Papers.Independent.Extend50.P19

attribute [local instance] Classical.propDecidable

/-- Section 4.1, PDF pp.8-10, (4.13), and p.15, (6.1): exact standard PBT
performance. The inner sum is squared separately for each alpha. -/
theorem standard_pbt_performance (d N : ℕ) (hd : 0 < d) (hN : 0 < N) :
    discriminationSuccess (portRho d N) (standardPGM d N) =
      coefficientScore (d := d) (N := N) (fun _ => 1) / ((N : ℝ) * (d : ℝ)^N) ∧
    pbtFidelity (standardResource d N) (standardPGM d N) =
      coefficientScore (d := d) (N := N) (fun _ => 1) / (d : ℝ)^(N+2) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P19

end
Source
Optimality of the pretty good measurement for port-based teleportation, arXiv:2008.11194v2, PDF p. 8, §4.1, (4.13); §6, (6.1)
Read-back

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

For all natural numbers d,Nd,Nd,N with d>0d>0d>0 and N>0N>0N>0, write [m]={0,…,m−1}[m]=\{0,\ldots,m-1\}[m]={0,…,m−1}, Bm=[m]→[d]B_m=[m]\to[d]Bm​=[m]→[d], B=BNB=B_NB=BN​, and D=B×[d]D=B\times[d]D=B×[d]. On DDD, define

(ρi)(a,b),(a′,b′)=d−N1{a(i)=b, a′(i)=b′, ∀j≠i, a(j)=a′(j)},R=∑iρi,Gi=R+1/2ρiR+1/2+1N(ID−RR+),(\rho_i)_{(a,b),(a',b')} =d^{-N}\mathbf1_{\{a(i)=b,\ a'(i)=b',\ \forall j\ne i,\ a(j)=a'(j)\}}, \quad R=\sum_i\rho_i, \quad G_i=R^{+1/2}\rho_iR^{+1/2}+\frac1N(I_D-RR^+),(ρi​)(a,b),(a′,b′)​=d−N1{a(i)=b, a′(i)=b′, ∀j=i, a(j)=a′(j)}​,R=i∑​ρi​,Gi​=R+1/2ρi​R+1/2+N1​(ID​−RR+),

where R+R^+R+ and R+1/2R^{+1/2}R+1/2 apply the spectral functions x−1x^{-1}x−1 and (x)−1(\sqrt{x})^{-1}(x​)−1 to RRR, taking value zero at zero. Put Ω(a,b)=d−N/21{a=b}\Omega(a,b)=d^{-N/2}\mathbf1_{\{a=b\}}Ω(a,b)=d−N/21{a=b}​ on B×BB\times BB×B and ϕ0=ΩΩ∗\phi_0=\Omega\Omega^*ϕ0​=ΩΩ∗. To define the scalar on the right-hand sides, let Pd,m\mathcal P_{d,m}Pd,m​ be the Young diagrams with mmm cells and at most ddd rows. For each such λ\lambdaλ, use its fixed cell numbering, let Rλ,Cλ⊆SmR_\lambda,C_\lambda\subseteq S_mRλ​,Cλ​⊆Sm​ preserve rows and columns, and define

sλ=dim⁡Cspan⁡{∑u∈Rλ,v∈Cλsgn⁡(v)ehuv:h∈Sm},wλ=dim⁡Cspan⁡{∑u∈Rλ,v∈Cλsgn⁡(v)ex∘(uv)−1:x∈Bm}.s_\lambda= \dim_{\mathbb C}\operatorname{span} \left\{\sum_{u\in R_\lambda,v\in C_\lambda}\operatorname{sgn}(v)e_{huv}:h\in S_m\right\}, \qquad w_\lambda= \dim_{\mathbb C}\operatorname{span} \left\{\sum_{u\in R_\lambda,v\in C_\lambda}\operatorname{sgn}(v)e_{x\circ(uv)^{-1}}:x\in B_m\right\}.sλ​=dimC​span⎩⎨⎧​u∈Rλ​,v∈Cλ​∑​sgn(v)ehuv​:h∈Sm​⎭⎬⎫​,wλ​=dimC​span⎩⎨⎧​u∈Rλ​,v∈Cλ​∑​sgn(v)ex∘(uv)−1​:x∈Bm​⎭⎬⎫​.

The first span lies in CSm\mathbb C^{S_m}CSm​, the second in CBm\mathbb C^{B_m}CBm​, and eze_zez​ denotes a coordinate vector. Set

Q1=∑α∈Pd,N−1(∑μ∈Pd,Ncells⁡(α)⊆cells⁡(μ)∣μ∣=∣α∣+1sμwμ)2.Q_1= \sum_{\alpha\in\mathcal P_{d,N-1}} \left( \sum_{\substack{\mu\in\mathcal P_{d,N}\\ \operatorname{cells}(\alpha)\subseteq\operatorname{cells}(\mu)\\|\mu|=|\alpha|+1}} \sqrt{s_\mu w_\mu} \right)^2.Q1​=α∈Pd,N−1​∑​​μ∈Pd,N​cells(α)⊆cells(μ)∣μ∣=∣α∣+1​∑​sμ​wμ​​​2.

With

S(ρ,G)=1N∑iRe⁡tr⁡(Giρi),F(ϕ0,G)=1d2Re⁡∑k,l∈[d],i∈[N]a,a′∈B ∑r:[N]∖{i}→[d](Gi)(a,l),(a′,k)(ϕ0)(a′,r[i←k]), (a,r[i←l]),S(\rho,G)=\frac1N\sum_i\operatorname{Re}\operatorname{tr}(G_i\rho_i), \qquad \mathcal F(\phi_0,G)=\frac1{d^2}\operatorname{Re} \sum_{\substack{k,l\in[d],\,i\in[N]\\a,a'\in B}} \ \sum_{r:[N]\setminus\{i\}\to[d]} (G_i)_{(a,l),(a',k)} (\phi_0)_{(a',r[i\leftarrow k]),\,(a,r[i\leftarrow l])},S(ρ,G)=N1​i∑​Retr(Gi​ρi​),F(ϕ0​,G)=d21​Rek,l∈[d],i∈[N]a,a′∈B​∑​ r:[N]∖{i}→[d]∑​(Gi​)(a,l),(a′,k)​(ϕ0​)(a′,r[i←k]),(a,r[i←l])​,

where insertion fills position iii with the indicated value, the assertion is the conjunction of the two exact equalities

S(ρ,G)=Q1NdNandF(ϕ0,G)=Q1dN+2.S(\rho,G)=\frac{Q_1}{Nd^N} \qquad\text{and}\qquad \mathcal F(\phi_0,G)=\frac{Q_1}{d^{N+2}}.S(ρ,G)=NdNQ1​​andF(ϕ0​,G)=dN+2Q1​​.

The case N=1N=1N=1, where α\alphaα is the empty diagram, is included.

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