Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 12: deterministic square-root-measurement entanglement fidelity

Open
QAlgorithms.Papers.Independent.Extend50.P33.theorem12

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

prove2quantum

Let d≥2d\ge2d≥2 be the local dimension, N≥2N\ge2N≥2 the number of ports, and n=N+1n=N+1n=N+1. All physical diagrams have height at most ddd. Write mλm_\lambdamλ​ for its multiplicity in the natural tensor permutation action, dλd_\lambdadλ​ for its Specht dimension, and PλP_\lambdaPλ​ for the full isotypic projector. The relation μ∈α\mu\in\alphaμ∈α means adding one box. Let ρa=Ban/dN\rho_a=B_{an}/d^Nρa​=Ban​/dN, ρ=∑aρa\rho=\sum_a\rho_aρ=∑a​ρa​ and R=ρ−1/2R=\rho^{-1/2}R=ρ−1/2 with zero inverse on the kernel. Complete the square-root effects by Πa=RρaR+(I−∑bRρbR)/N\Pi_a=R\rho_aR+(I-\sum_bR\rho_bR)/NΠa​=Rρa​R+(I−∑b​Rρb​R)/N. They form a POVM, and their entanglement fidelity, F=d−2∑aTr⁡(ρaΠa)F=d^{-2}\sum_a\operatorname{Tr}(\rho_a\Pi_a)F=d−2∑a​Tr(ρa​Πa​), is

F=1dN+2∑α⊢N−1(∑μ∈αdμmμ)2.F=\frac1{d^{N+2}}\sum_{\alpha\vdash N-1}\left(\sum_{\mu\in\alpha}\sqrt{d_\mu m_\mu}\right)^2.F=dN+21​α⊢N−1∑​(μ∈α∑​dμ​mμ​​)2.

This evaluates the specified measurement. It makes no general measurement-optimality claim.

Here fidelity is the normalized Bell-reference entanglement fidelity of the actual channel obtained by measuring the stated POVM, selecting Bob’s port and tracing all other systems. The theorem also asserts that this constructed map is a quantum channel.

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

noncomputable section

open scoped Matrix ComplexOrder Matrix.Norms.L2Operator

namespace QAlgorithms.Papers.Independent.Extend50.P33

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact accepted type constructors; local notation only reorders Word's arguments.

local notation "Word" => (fun d r : ℕ =>
  QAlgorithms.Papers.Independent.Information100.P58.Word r d)

local notation "Op" => (fun d r : ℕ =>
  QAlgorithms.Papers.Independent.Information100.P21.Op
    (QAlgorithms.Papers.Independent.Information100.P58.Word r d))

open QAlgorithms.Papers.Independent.Information100.P07 (support)

open QAlgorithms.Papers.Independent.Gap20.P01 (spechtMatrix)

/-- PDF pp.5,13–14 Theorem12: fidelity of the completed square-root
measurement, using its actual channel and normalized Bell overlap.
The square is inside the alpha sum; no optimality is asserted. -/
theorem theorem12 (d k : ℕ) (hd : 2 ≤ d) :
    (∀ a, (srm d k a).PosSemidef) ∧ (∑ a, srm d k a) = 1 ∧
    IsChannel (pbtDeterministicChannel d k) ∧
    deterministicFidelity d k (by omega) = (1/(d:ℝ)^(k+4)) *
      ∑ a : Schur.Partition d (k+1),
        (∑ b : Schur.Partition d (k+2), if Extends a b then
          Real.sqrt ((sdim b:ℝ) * mult b) else 0)^2 := by sorry

end QAlgorithms.Papers.Independent.Extend50.P33

end
Source
Port-based teleportation in arbitrary dimension, arXiv:1612.09260v3, PDF p. 13, Theorem 12: deterministic square-root-measurement entanglement fidelity
Read-back

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

For every pair of natural numbers d,kd,kd,k with d≥2d\ge2d≥2, put N=k+2N=k+2N=k+2 and Wr={0,…,d−1}rW_r=\{0,\ldots,d-1\}^rWr​={0,…,d−1}r. On WN+1W_{N+1}WN+1​ define Ba(x,y)B_a(x,y)Ba​(x,y) to be 111 exactly when xa=xNx_a=x_Nxa​=xN​, ya=yNy_a=y_Nya​=yN​, and xℓ=yℓx_\ell=y_\ellxℓ​=yℓ​ outside {a,N}\{a,N\}{a,N}, and 000 otherwise. Set Sa=d−NBaS_a=d^{-N}B_aSa​=d−NBa​, R=f(∑bSb)R=f(\sum_bS_b)R=f(∑b​Sb​) using continuous functional calculus with f(t)=(t)−1f(t)=(\sqrt t)^{-1}f(t)=(t​)−1 and f(0)=0f(0)=0f(0)=0, and

Ea=RSaR+1N(I−∑bRSbR),C(Z)uv=d−N∑a<N∑z∈WNza=u∑i,j=0d−1Zij(Ea) z[a←v]⋅j, z⋅i.E_a=RS_aR+\frac1N\left(I-\sum_bRS_bR\right),\qquad \mathcal C(Z)_{uv} =d^{-N}\sum_{a<N}\sum_{\substack{z\in W_N\\z_a=u}} \sum_{i,j=0}^{d-1}Z_{ij}(E_a)_{\,z[a\leftarrow v]\cdot j,\,z\cdot i}.Ea​=RSa​R+N1​(I−b∑​RSb​R),C(Z)uv​=d−Na<N∑​z∈WN​za​=u​∑​i,j=0∑d−1​Zij​(Ea​)z[a←v]⋅j,z⋅i​.

Here a dot appends a coordinate and brackets replace one. Every EaE_aEa​ is positive semidefinite and ∑aEa=I\sum_aE_a=I∑a​Ea​=I. Moreover, there exist a natural number rrr and complex d×dd\times dd×d matrices K0,…,Kr−1K_0,\ldots,K_{r-1}K0​,…,Kr−1​ such that ∑ℓKℓ†Kℓ=I\sum_\ell K_\ell^\dagger K_\ell=I∑ℓ​Kℓ†​Kℓ​=I and C(Z)=∑ℓKℓZKℓ†\mathcal C(Z)=\sum_\ell K_\ell ZK_\ell^\daggerC(Z)=∑ℓ​Kℓ​ZKℓ†​ for every complex matrix ZZZ. To define the dimensions in the final equality, a shape λ\lambdaλ of size sss is a Young diagram with sss cells and at most ddd rows; using its fixed cell numbering, let Rλ,Cλ⊆SsR_\lambda,C_\lambda\subseteq S_sRλ​,Cλ​⊆Ss​ preserve rows and columns. Let fλf_\lambdafλ​ be the complex dimension of the range of the matrix with entries ∑α∈Rλ,β∈Cλsgn⁡(β)1g=hαβ\sum_{\alpha\in R_\lambda,\beta\in C_\lambda}\operatorname{sgn}(\beta)\mathbf1_{g=h\alpha\beta}∑α∈Rλ​,β∈Cλ​​sgn(β)1g=hαβ​ indexed by g,h∈Ssg,h\in S_sg,h∈Ss​, and let mλm_\lambdamλ​ be the complex dimension of the range of ∑α,βsgn⁡(β)Pαβ\sum_{\alpha,\beta}\operatorname{sgn}(\beta)P_{\alpha\beta}∑α,β​sgn(β)Pαβ​ on WsW_sWs​, where Pπ(y,x)=1y=x∘π−1P_\pi(y,x)=\mathbf1_{y=x\circ\pi^{-1}}Pπ​(y,x)=1y=x∘π−1​. Writing λ⊆μ\lambda\subseteq\muλ⊆μ for inclusion of cell sets and ϕd=d−1/2∑i∣i,i⟩\phi_d=d^{-1/2}\sum_i|i,i\rangleϕd​=d−1/2∑i​∣i,i⟩, the asserted fidelity identity is

Re⁡Tr⁡ ⁣[∣ϕd⟩⟨ϕd∣ (id⊗C)(∣ϕd⟩⟨ϕd∣)]=1dN+2∑∣λ∣=N−1at most d rows(∑∣μ∣=Nat most d rowsλ⊆μfμmμ)2.\operatorname{Re}\operatorname{Tr}\!\left[ |\phi_d\rangle\langle\phi_d|\, (\mathrm{id}\otimes\mathcal C)(|\phi_d\rangle\langle\phi_d|) \right] = \frac1{d^{N+2}} \sum_{\substack{|\lambda|=N-1\\\text{at most }d\text{ rows}}} \left( \sum_{\substack{|\mu|=N\\\text{at most }d\text{ rows}\\\lambda\subseteq\mu}} \sqrt{f_\mu m_\mu} \right)^2.ReTr[∣ϕd​⟩⟨ϕd​∣(id⊗C)(∣ϕd​⟩⟨ϕd​∣)]=dN+21​∣λ∣=N−1at most d rows​∑​​∣μ∣=Nat most d rowsλ⊆μ​∑​fμ​mμ​​​2.

The case k=0k=0k=0 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