Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section V B, Eqs.(62)–(65): entanglement fidelity is bilinear in Choi matrices

Open
QAlgorithms.Papers.Independent.Bridge50.P16.fidelityBilinear

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

prove2quantum

Let 1≤d≤n1\le d\le n1≤d≤n, and let E:Cd→Cn\mathcal E:\mathbb C^d\to\mathbb C^nE:Cd→Cn, N:Cn→Cn\mathcal N:\mathbb C^n\to\mathbb C^nN:Cn→Cn, and D:Cn→Cd\mathcal D:\mathbb C^n\to\mathbb C^dD:Cn→Cd be CPTP maps on operators. In fixed orthonormal bases define the unnormalized input-first Choi matrix by XA[(i,j),(i′,j′)]=⟨j∣A(∣i⟩⟨i′∣)∣j′⟩X_{\mathcal A}[(i,j),(i',j')]=\langle j|\mathcal A(|i\rangle\langle i'|)|j'\rangleXA​[(i,j),(i′,j′)]=⟨j∣A(∣i⟩⟨i′∣)∣j′⟩. Define the linear contraction

fN(X)[(l′,i′),(l,i)]=∑k,k′=0n−1XN[(k,l),(k′,l′)]X[(i,k),(i′,k′)].f_{\mathcal N}(X)[(l',i'),(l,i)]=\sum_{k,k'=0}^{n-1}X_{\mathcal N}[(k,l),(k',l')]X[(i,k),(i',k')].fN​(X)[(l′,i′),(l,i)]=k,k′=0∑n−1​XN​[(k,l),(k′,l′)]X[(i,k),(i′,k′)].

For the squared overlap with the normalized maximally entangled logical state,

Fe(DNE)=1d2Tr⁡ ⁣[XDfN(XE)].F_e(\mathcal D\mathcal N\mathcal E)=\frac{1}{d^2}\operatorname{Tr}\!\left[X_{\mathcal D}f_{\mathcal N}(X_{\mathcal E})\right].Fe​(DNE)=d21​Tr[XD​fN​(XE​)].

The real trace objective extends to a real bilinear function of arbitrary encoding and decoding Choi matrices. This supplies the linear objective in each SDP slice.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P16
Formal statement
noncomputable section

open Filter MeasureTheory

open scoped BigOperators ENNReal NNReal Matrix ComplexOrder

namespace QAlgorithms.Papers.Independent.Bridge50.P16

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

open QAlgorithms.Papers.Independent.Frontier30.P08 (interleavedSymplecticForm)

open QAlgorithms.Papers.Independent.Dependency50.P30 (thermalEntropyBits)

open QAlgorithms.Papers.Independent.Frontier18.P18 (operatorCoeff boundedOperator)

open QAlgorithms.Papers.Independent.Information100.P34 (choi)

open QAlgorithms.Papers.Independent.Dependency50.P32 (CPTP applyChoi)

/-- PDF p.12 Eqs.(62)--(65). Printed prose duplicates XE; changed to XE and XD
because Eq.(63) explicitly depends on those two distinct Choi matrices. -/
theorem fidelityBilinear {d n : ℕ} (hd : 0 < d) (hdn : d ≤ n)
    (E : Superop (Fin d) (Fin n)) (N : Superop (Fin n) (Fin n))
    (D : Superop (Fin n) (Fin d)) (hE : IsChannel E) (hN : IsChannel N) (hD : IsChannel D) :
    QuditFidelity.entanglementFidelity d hd (D ∘ N ∘ E) =
      jointObjective N (choi E) (choi D) / (d : ℝ) ^ 2 ∧
    ∃ L : Matrix (Fin d × Fin n) (Fin d × Fin n) ℂ →ₗ[ℝ]
        (Matrix (Fin n × Fin d) (Fin n × Fin d) ℂ →ₗ[ℝ] ℝ),
      ∀ XE XD, L XE XD = jointObjective N XE XD := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P16

end
Source
Improved quantum capacity bounds of Gaussian loss channels and achievable rates with Gottesman-Kitaev-Preskill codes, arXiv:1801.07271v2, PDF p. 12, Section V B, Eqs.(62)–(65): entanglement fidelity is bilinear in Choi matrices
Read-back

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

For every pair of natural numbers d,nd,nd,n with 0<d≤n0<d\leq n0<d≤n, and every three operations E:Md(C)→Mn(C)E:M_d(\mathbb C)\to M_n(\mathbb C)E:Md​(C)→Mn​(C), N:Mn(C)→Mn(C)N:M_n(\mathbb C)\to M_n(\mathbb C)N:Mn​(C)→Mn​(C), and D:Mn(C)→Md(C)D:M_n(\mathbb C)\to M_d(\mathbb C)D:Mn​(C)→Md​(C), assume each has a finite Kraus representation: for its respective input and output dimensions there are matrices KjK_jKj​, indexed by some finite set {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1}, with ∑jKj∗Kj=I\sum_jK_j^*K_j=I∑j​Kj∗​Kj​=I and operation X↦∑jKjXKj∗X\mapsto\sum_jK_jXK_j^*X↦∑j​Kj​XKj∗​ on every matrix. Define the Choi matrix by

J(E)(a,b),(a′,b′)=E(∣a⟩⟨a′∣)bb′,J(E)_{(a,b),(a',b')}=E(|a\rangle\langle a'|)_{bb'},J(E)(a,b),(a′,b′)​=E(∣a⟩⟨a′∣)bb′​,

and likewise define J(D)J(D)J(D). For arbitrary matrices XEX_EXE​ indexed by {0,…,d−1}×{0,…,n−1}\{0,\ldots,d-1\}\times\{0,\ldots,n-1\}{0,…,d−1}×{0,…,n−1} and XDX_DXD​ indexed by the reverse product, define

CN(XE)(r,i),(s,j)=∑k,k′<nN(∣k⟩⟨k′∣)sr(XE)(j,k),(i,k′),FN(XE,XD)=Re⁡tr⁡(XDCN(XE)).C_N(X_E)_{(r,i),(s,j)} =\sum_{k,k'<n}N(|k\rangle\langle k'|)_{sr} (X_E)_{(j,k),(i,k')}, \qquad F_N(X_E,X_D)=\operatorname{Re}\operatorname{tr}\bigl(X_DC_N(X_E)\bigr).CN​(XE​)(r,i),(s,j)​=k,k′<n∑​N(∣k⟩⟨k′∣)sr​(XE​)(j,k),(i,k′)​,FN​(XE​,XD​)=Retr(XD​CN​(XE​)).

Let ϕ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⟩, and let I⊗ΦI\otimes\PhiI⊗Φ mean the operation obtained by applying Φ\PhiΦ to every matrix block indexed by the unchanged first subsystem. Then

Re⁡tr⁡ ⁣(∣ϕd⟩⟨ϕd∣ (I⊗(D∘N∘E))(∣ϕd⟩⟨ϕd∣))=FN(J(E),J(D))d2.\operatorname{Re}\operatorname{tr}\!\left( |\phi_d\rangle\langle\phi_d|\, (I\otimes(D\circ N\circ E))(|\phi_d\rangle\langle\phi_d|) \right) =\frac{F_N(J(E),J(D))}{d^2}.Retr(∣ϕd​⟩⟨ϕd​∣(I⊗(D∘N∘E))(∣ϕd​⟩⟨ϕd​∣))=d2FN​(J(E),J(D))​.

Moreover, there exists a real-linear map from the entire space of matrices XEX_EXE​ to the space of real-linear real-valued functionals of XDX_DXD​, whose value at every pair (XE,XD)(X_E,X_D)(XE​,XD​) is FN(XE,XD)F_N(X_E,X_D)FN​(XE​,XD​). Thus this second assertion concerns all matrices, without positivity or channel constraints on those arguments. The hypotheses exclude zero dimensions but include d=1d=1d=1 and d=nd=nd=n.

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