Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix A2: channel-pair fidelity is independent of purification

Open
QAlgorithms.Papers.Independent.Advance50.P17.purificationIndependence

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

prove2quantum

Fix CPTP maps E,F\mathcal E,\mathcal FE,F and an input density matrix ρ\rhoρ on a ddd-dimensional system. Define ∣ψρ⟩=∑a,i(ρ)ia∣a⟩∣i⟩|\psi_\rho\rangle=\sum_{a,i}(\sqrt\rho)_{ia}|a\rangle|i\rangle∣ψρ​⟩=∑a,i​(ρ​)ia​∣a⟩∣i⟩ and let GF(ρ)G_F(\rho)GF​(ρ) and GD(ρ)G_D(\rho)GD​(ρ) be respectively squared fidelity and half trace-norm distance of its two extended channel outputs. For any unit purification ψ\psiψ of ρ\rhoρ on A⊗IA\otimes IA⊗I with dim⁡A≥d\dim A\ge ddimA≥d,

F((IA⊗E)(ψ),(IA⊗F)(ψ))=GF(ρ),D((IA⊗E)(ψ),(IA⊗F)(ψ))=GD(ρ).F((\mathcal I_A\otimes\mathcal E)(\psi),(\mathcal I_A\otimes\mathcal F)(\psi))=G_F(\rho),\qquad D((\mathcal I_A\otimes\mathcal E)(\psi),(\mathcal I_A\otimes\mathcal F)(\psi))=G_D(\rho).F((IA​⊗E)(ψ),(IA​⊗F)(ψ))=GF​(ρ),D((IA​⊗E)(ψ),(IA​⊗F)(ψ))=GD​(ρ).

The canonical objectives therefore do not depend on the choice or size of purification.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P17
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped Matrix ComplexConjugate Topology

namespace QAlgorithms.Papers.Independent.Advance50.P17

open QAlgorithms.Papers.Independent.Information100.P53 (fidelity)

open QAlgorithms.Papers.Independent.Information100.P08 (canonicalPurification)

open QAlgorithms.Papers.Independent.Information100.P75 (hermitianReal)

variable {I J K : Type} [Fintype I] [Fintype J] [Fintype K]
  [DecidableEq I] [DecidableEq J] [DecidableEq K]
  [Nonempty I] [Nonempty J] [Nonempty K]

/-- Appendix A2, PDF p.12: both canonical objectives are independent of the purification.
The purification and marginal are actual normalized data, not an assumed objective value. -/
theorem purificationIndependence (E F : FiniteProcess I I) (rho : ProcessDensityInput I)
    (hdim : Fintype.card I ≤ Fintype.card J) (psi : ProcessPureInput (J × I))
    (hp : traceLeft (pureDensity psi.val) = rho.val) :
    fidelity (idTensorSuperop E.val (pureDensity psi.val))
      (idTensorSuperop F.val (pureDensity psi.val)) = purifiedFidelity E.val F.val rho.val ∧
    traceDistance (idTensorSuperop E.val (pureDensity psi.val))
      (idTensorSuperop F.val (pureDensity psi.val)) = purifiedChannelTraceDistance E.val F.val rho.val := by sorry

end QAlgorithms.Papers.Independent.Advance50.P17

end
Source
Distance measures to compare real and ideal quantum processes, arXiv:quant-ph/0408063v2, PDF p. 12, Appendix A2: channel-pair fidelity is independent of purification
Read-back

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

Let I,JI,JI,J be finite nonempty index types with decidable equality, let E,FE,FE,F be channels on complex I×II\times II×I matrices, and let ρ\rhoρ be positive semidefinite with trace 111. Here channels admit finite Kraus representations X↦∑aKaXKa†X\mapsto\sum_aK_aXK_a^\daggerX↦∑a​Ka​XKa†​ with ∑aKa†Ka=1\sum_aK_a^\dagger K_a=1∑a​Ka†​Ka​=1. Assume ∣I∣≤∣J∣|I|\le |J|∣I∣≤∣J∣, and let ψ∈CJ×I\psi\in\mathbb C^{J\times I}ψ∈CJ×I be a unit vector satisfying

∑j∈Jψ(j,i)ψ(j,i′)‾=ρi,i′(i,i′∈I).\sum_{j\in J}\psi(j,i)\overline{\psi(j,i')}=\rho_{i,i'}\qquad(i,i'\in I).j∈J∑​ψ(j,i)ψ(j,i′)​=ρi,i′​(i,i′∈I).

Define the vector χρ∈CI×I\chi_\rho\in\mathbb C^{I\times I}χρ​∈CI×I by χρ(i,i′)=(ρ)i′,i\chi_\rho(i,i')=(\sqrt\rho)_{i',i}χρ​(i,i′)=(ρ​)i′,i​, where the square root is matrix functional calculus. Write Pv=vv†P_v=vv^\daggerPv​=vv†, let id⁡⊗E\operatorname{id}\otimes Eid⊗E apply EEE to each reference-indexed matrix block, and set

F(A,B)=(Re⁡tr⁡A BA)2,Dtr(A,B)=12Re⁡tr⁡(A−B)†(A−B).\mathcal F(A,B)=\left(\operatorname{Re}\operatorname{tr}\sqrt{\sqrt A\,B\sqrt A}\right)^2,\qquad D_{\mathrm{tr}}(A,B)=\tfrac12\operatorname{Re}\operatorname{tr}\sqrt{(A-B)^\dagger(A-B)}.F(A,B)=(RetrA​BA​​)2,Dtr​(A,B)=21​Retr(A−B)†(A−B)​.

Then both equalities hold:

F((id⁡J⊗E)(Pψ),(id⁡J⊗F)(Pψ))=F((id⁡I⊗E)(Pχρ),(id⁡I⊗F)(Pχρ)),Dtr((id⁡J⊗E)(Pψ),(id⁡J⊗F)(Pψ))=Dtr((id⁡I⊗E)(Pχρ),(id⁡I⊗F)(Pχρ)).\begin{aligned} \mathcal F((\operatorname{id}_J\otimes E)(P_\psi),(\operatorname{id}_J\otimes F)(P_\psi)) &=\mathcal F((\operatorname{id}_I\otimes E)(P_{\chi_\rho}),(\operatorname{id}_I\otimes F)(P_{\chi_\rho})),\\ D_{\mathrm{tr}}((\operatorname{id}_J\otimes E)(P_\psi),(\operatorname{id}_J\otimes F)(P_\psi)) &=D_{\mathrm{tr}}((\operatorname{id}_I\otimes E)(P_{\chi_\rho}),(\operatorname{id}_I\otimes F)(P_{\chi_\rho})). \end{aligned}F((idJ​⊗E)(Pψ​),(idJ​⊗F)(Pψ​))Dtr​((idJ​⊗E)(Pψ​),(idJ​⊗F)(Pψ​))​=F((idI​⊗E)(Pχρ​​),(idI​⊗F)(Pχρ​​)),=Dtr​((idI​⊗E)(Pχρ​​),(idI​⊗F)(Pχρ​​)).​
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