Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Canonical optimal probabilistic-PBT conversion

Open
QAlgorithms.Papers.Independent.Extend50.P08.optimal_probabilistic_conversion

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

prove2quantum

Fix N≥1N\ge1N≥1 and d≥2d\ge2d≥2. Let g=(∑μ⊢Nmμ2)−1g=(\sum_{\mu\vdash N}m_\mu^2)^{-1}g=(∑μ⊢N​mμ2​)−1 and O=dN∑μgmμ/dμ PμO=\sqrt{d^N}\sum_\mu\sqrt{gm_\mu/d_\mu}\,P_\muO=dN​∑μ​gmμ​/dμ​​Pμ​. On each port, embed the effective success effect from (A5) with coefficients uα=dN+1gmα/(Ndα)u_\alpha=d^{N+1}gm_\alpha/(Nd_\alpha)uα​=dN+1gmα​/(Ndα​) on the complementary Young projector and the normalized Bell projector. The physical success effects are Mi=(O−1⊗I)Ei(O−1⊗I)M_i=(O^{-1}\otimes I)E_i(O^{-1}\otimes I)Mi​=(O−1⊗I)Ei​(O−1⊗I), and M0=I−∑iMiM_0=I-\sum_iM_iM0​=I−∑i​Mi​. This is physical exact pPBT. Redistribute the physical failure by Mi↦Mi+M0/NM_i\mapsto M_i+M_0/NMi​↦Mi​+M0​/N, keeping the same resource. The resulting deterministic fidelity satisfies

F=psucc=1−d2−1N+d2−1.F=p_{\mathrm{succ}}=1-\frac{d^2-1}{N+d^2-1}.F=psucc​=1−N+d2−1d2−1​.

This operational instance uses the source’s explicit canonical data, independently of the ambiguous universal Theorem 4. Here dλd_\lambdadλ​ is the dimension of the actual symmetric-group Specht module labelled by λ\lambdaλ, and mλm_\lambdamλ​ is its Schur–Weyl multiplicity for local dimension ddd (with d=2d=2d=2 in the qubit case).

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

/-- Lemma 6, PDF p.13 Eq.(48), with the canonical physical realization of
(A5),(A6) on p.20 and redistribution (39) on p.11. The complete effective
normalization is O†O tensor I, rather than identity. -/
theorem optimal_probabilistic_conversion (d N : ℕ) (hd : 2 ≤ d) (hN : 0 < N) :
    IsPhysicalPBT (probabilisticFilter d N) (probabilisticEffects d N) ∧
    IsExact (probabilisticFilter d N) (probabilisticEffects d N) ∧
    IsPhysicalPBT (probabilisticFilter d N) (redistribute (probabilisticEffects d N)) ∧
    QuditFidelity.entanglementFidelity d (by omega)
      (successfulMap (probabilisticFilter d N) (redistribute (probabilisticEffects d N))) =
        pbtSuccess (probabilisticFilter d N) (probabilisticEffects d N) ∧
    pbtSuccess (probabilisticFilter d N) (probabilisticEffects d N) =
      1 - ((d : ℝ) ^ 2 - 1) / ((N : ℝ) + (d : ℝ) ^ 2 - 1) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P08

end
Source
Minimal Port-based Teleportation, arXiv:2111.05499v2, PDF p. 13, Lemma 6: conversion of the canonical optimal pPBT
Read-back

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

For all natural d,Nd,Nd,N with d≥2d\ge2d≥2 and N>0N>0N>0, let Pd,n\mathcal P_{d,n}Pd,n​ be the Young diagrams with nnn cells and at most ddd rows. For each λ\lambdaλ, using its fixed cell numbering, let Rλ,Cλ⊆SnR_\lambda,C_\lambda\subseteq S_nRλ​,Cλ​⊆Sn​ preserve rows and columns, and define

(Yλ)g,h=∑a∈Rλ, b∈Cλg=habsgn⁡(b).(Y_\lambda)_{g,h} =\sum_{\substack{a\in R_\lambda,\ b\in C_\lambda\\g=hab}}\operatorname{sgn}(b).(Yλ​)g,h​=a∈Rλ​, b∈Cλ​g=hab​∑​sgn(b).

Let fλf_\lambdafλ​ be the complex dimension of its column span, QλQ_\lambdaQλ​ the orthogonal projection onto that span, LπL_\piLπ​ the matrix with entry 111 when g=πhg=\pi hg=πh, and χλ(π)=tr⁡(LπQλ)\chi_\lambda(\pi)=\operatorname{tr}(L_\pi Q_\lambda)χλ​(π)=tr(Lπ​Qλ​). Let (Tπ)y,x=1(T_\pi)_{y,x}=1(Tπ​)y,x​=1 when y=x∘π−1y=x\circ\pi^{-1}y=x∘π−1, and zero otherwise, and put

Pλ=fλn!∑π∈Snχλ(π−1)Tπ.P_\lambda=\frac{f_\lambda}{n!}\sum_{\pi\in S_n}\chi_\lambda(\pi^{-1})T_\pi.Pλ​=n!fλ​​π∈Sn​∑​χλ​(π−1)Tπ​.

Let mλm_\lambdamλ​ count fillings by 0,…,d−10,\ldots,d-10,…,d−1 weakly increasing along rows and strictly increasing down columns, and define

z=(∑μ∈Pd,Nmμ2)−1,O=∑μ∈Pd,NdNz mμfμPμ,J=g(O),g(t)=t−1,z=\left(\sum_{\mu\in\mathcal P_{d,N}}m_\mu^2\right)^{-1}, \qquad O=\sum_{\mu\in\mathcal P_{d,N}} \sqrt{d^N}\sqrt{\frac{z\,m_\mu}{f_\mu}}P_\mu, \qquad J=g(O),\quad g(t)=t^{-1},z=​μ∈Pd,N​∑​mμ2​​−1,O=μ∈Pd,N​∑​dN​fμ​zmμ​​​Pμ​,J=g(O),g(t)=t−1,

where g(O)g(O)g(O) is defined by continuous functional calculus. For i<Ni<Ni<N, let x∖ix^{\setminus i}x∖i be the word obtained from x∈{0,…,d−1}Nx\in\{0,\ldots,d-1\}^{N}x∈{0,…,d−1}N by removing position iii and keeping the other positions in order, and define an effect-sized matrix

(Ki)(x,c),(y,c′)=∑α∈Pd,N−1dN+1z mαNfαd (Pα)x∖i,y∖i 1{xi=c, yi=c′}.(K_i)_{(x,c),(y,c')}= \sum_{\alpha\in\mathcal P_{d,N-1}} \frac{d^{N+1}z\,m_\alpha}{Nf_\alpha d}\, (P_\alpha)_{x^{\setminus i},y^{\setminus i}}\, \mathbf1_{\{x_i=c,\ y_i=c'\}}.(Ki​)(x,c),(y,c′)​=α∈Pd,N−1​∑​Nfα​ddN+1zmα​​(Pα​)x∖i,y∖i​1{xi​=c, yi​=c′}​.

Set Mi=(J⊗I)Ki(J⊗I)M_i=(J\otimes I)K_i(J\otimes I)Mi​=(J⊗I)Ki​(J⊗I), M∅=I−∑iMiM_\varnothing=I-\sum_iM_iM∅​=I−∑i​Mi​, and M^i=Mi+M∅/N\widehat M_i=M_i+M_\varnothing/NMi​=Mi​+M∅​/N, M^∅=0\widehat M_\varnothing=0M∅​=0. For either effect family EEE, define each retained-port map on every complex d×dd\times dd×d matrix XXX by

BiO,E(X)b,b′=d−N∑x,yxi=b, yi=b′xj=yj (j≠i)∑c,c′<d((O†⊗I)Ei(O⊗I))(y,c′),(x,c)Xc,c′,TO,E=∑i<NBiO,E.\mathcal B_i^{O,E}(X)_{b,b'}= d^{-N} \sum_{\substack{x,y\\x_i=b,\ y_i=b'\\x_j=y_j\ (j\ne i)}} \sum_{c,c'<d} \bigl((O^\dagger\otimes I)E_i(O\otimes I)\bigr)_{(y,c'),(x,c)}X_{c,c'}, \qquad \mathcal T_{O,E}=\sum_{i<N}\mathcal B_i^{O,E}.BiO,E​(X)b,b′​=d−Nx,yxi​=b, yi​=b′xj​=yj​ (j=i)​∑​c,c′<d∑​((O†⊗I)Ei​(O⊗I))(y,c′),(x,c)​Xc,c′​,TO,E​=i<N∑​BiO,E​.

Write p=Re⁡tr⁡TO,M(I/d)p=\operatorname{Re}\operatorname{tr}\mathcal T_{O,M}(I/d)p=RetrTO,M​(I/d) and Φd=d−1/2∑a<d∣a,a⟩\Phi_d=d^{-1/2}\sum_{a<d}|a,a\rangleΦd​=d−1/2∑a<d​∣a,a⟩, with kets the coordinate unit vectors. The theorem asserts that tr⁡(O†O)=dN\operatorname{tr}(O^\dagger O)=d^Ntr(O†O)=dN, that both MMM and M^\widehat MM have positive semidefinite effects summing to the identity, and that for every i<Ni<Ni<N there exists a real pi≥0p_i\ge0pi​≥0 such that BiO,M(X)=piX\mathcal B_i^{O,M}(X)=p_iXBiO,M​(X)=pi​X for every complex matrix XXX. It further asserts

Re⁡tr⁡ ⁣(∣Φd⟩⟨Φd∣ (id⊗TO,M^)(∣Φd⟩⟨Φd∣))=p=1−d2−1N+d2−1,\operatorname{Re}\operatorname{tr}\!\left( |\Phi_d\rangle\langle\Phi_d|\, (\mathrm{id}\otimes\mathcal T_{O,\widehat M})(|\Phi_d\rangle\langle\Phi_d|) \right) =p =1-\frac{d^2-1}{N+d^2-1},Retr(∣Φd​⟩⟨Φd​∣(id⊗TO,M​)(∣Φd​⟩⟨Φd​∣))=p=1−N+d2−1d2−1​,

where the identity tensor extension applies the map to each first-register block. Every scalar inverse and the functional-calculus reciprocal take zero to zero; N=1N=1N=1 is included, so the α\alphaα-sum may involve the empty diagram.

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