Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section IV B: large-ancilla averaged distances converge to process distance

Open
QAlgorithms.Papers.Independent.Advance50.P17.stabilizedAverage

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

prove2quantum

Fix CPTP maps E,F\mathcal E,\mathcal FE,F on a positive finite-dimensional system, and choose Δ∈{D,A,B,C}\Delta\in\{D,A,B,C\}Δ∈{D,A,B,C}. With normalized Haar averages on the enlarged registers,

lim⁡m→∞Δave(Im⊗E,Im⊗F)=Δpro(E,F).\lim_{m\to\infty}\Delta_{\rm ave}(\mathcal I_m\otimes\mathcal E,\mathcal I_m\otimes\mathcal F)=\Delta_{\rm pro}(\mathcal E,\mathcal F).m→∞lim​Δave​(Im​⊗E,Im​⊗F)=Δpro​(E,F).

Here mmm ranges over positive integer ancilla dimensions. The assertion includes existence of this limit and identifies it with the normalized Choi-state distance.

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]

/-- Section IV B, PDF p.7: the actual large-ancilla Haar averages converge to process distance,
for the four concrete candidates. Using m+1 indexes all positive ancilla sizes. -/
theorem stabilizedAverage (c : Choice) (E F : FiniteProcess I I) :
    Tendsto (fun m : ℕ => aveDistance (stateDistance c)
      (idTensorSuperop (R := Fin (m + 1)) E.val)
      (idTensorSuperop (R := Fin (m + 1)) F.val)) atTop
      (𝓝 (proDistance (stateDistance c) E.val F.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. 7, Section IV B: large-ancilla averaged distances converge to process distance
Read-back

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

Let III be a finite nonempty type with decidable equality, let E,FE,FE,F be channels on its complex matrix space, and choose any one of the functions

dtr(A,B)=12Re⁡tr⁡(A−B)†(A−B),dangle(A,B)=arccos⁡F(A,B),dbures(A,B)=2−2F(A,B),dsine(A,B)=1−F(A,B),d_{\mathrm{tr}}(A,B)=\tfrac12\operatorname{Re}\operatorname{tr}\sqrt{(A-B)^\dagger(A-B)},\quad d_{\mathrm{angle}}(A,B)=\arccos\sqrt{F(A,B)},\quad d_{\mathrm{bures}}(A,B)=\sqrt{2-2\sqrt{F(A,B)}},\quad d_{\mathrm{sine}}(A,B)=\sqrt{1-F(A,B)},dtr​(A,B)=21​Retr(A−B)†(A−B)​,dangle​(A,B)=arccosF(A,B)​,dbures​(A,B)=2−2F(A,B)​​,dsine​(A,B)=1−F(A,B)​,

where F(A,B)=(Re⁡tr⁡ABA)2F(A,B)=(\operatorname{Re}\operatorname{tr}\sqrt{\sqrt A B\sqrt A})^2F(A,B)=(RetrA​BA​​)2. A channel here admits a finite Kraus representation with ∑jKj†Kj=1\sum_jK_j^\dagger K_j=1∑j​Kj†​Kj​=1. For channels G,HG,HG,H on any finite nonempty input space KKK, let Dav(G,H)D_{\mathrm{av}}(G,H)Dav​(G,H) be the integral of the chosen state function between G(ψUψU†)G(\psi_U\psi_U^\dagger)G(ψU​ψU†​) and H(ψUψU†)H(\psi_U\psi_U^\dagger)H(ψU​ψU†​), where ψU\psi_UψU​ is the fixed column specified by the definitions’ enumeration and chosen basis element of KKK, and UUU ranges over normalized Haar measure on the ∣K∣×∣K∣|K|\times|K|∣K∣×∣K∣ unitary group. Put ϕI(i,j)=∣I∣−1/2\phi_I(i,j)=|I|^{-1/2}ϕI​(i,j)=∣I∣−1/2 when i=ji=ji=j and 000 otherwise and CG=(id⁡I⊗G)(ϕIϕI†)C_G=(\operatorname{id}_I\otimes G)(\phi_I\phi_I^\dagger)CG​=(idI​⊗G)(ϕI​ϕI†​). Then

lim⁡m→∞Dav(id⁡m+1⊗E,id⁡m+1⊗F)=d(CE,CF),\lim_{m\to\infty}D_{\mathrm{av}}(\operatorname{id}_{m+1}\otimes E,\operatorname{id}_{m+1}\otimes F) =d(C_E,C_F),m→∞lim​Dav​(idm+1​⊗E,idm+1​⊗F)=d(CE​,CF​),

where mmm ranges over all natural numbers, so the ancillary dimensions are 1,2,3,…1,2,3,\ldots1,2,3,…, and each tensor extension applies the channel to blocks with fixed ancillary indices.

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