Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Asymptotic universal programming of CPTP maps

Open
QAlgorithms.Papers.Independent.Extend50.P38.universal_programmable_processor

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

prove2quantum

Fix a positive qudit dimension ddd. For each positive number NNN of ports, let RNR_NRN​ be the density of NNN maximally entangled pairs. There is a fixed family of Alice measurements MNM_NMN​, namely the normalized square-root measurements, independent of the operation and input. Let GN(MN,R,X)G_N(M_N,R,X)GN​(MN​,R,X) denote Alice's measurement followed by retention of the indicated Bob port, with no correction, on program density RRR and input operator XXX. For every completely positive trace-preserving map EEE on a qudit, the program PE,N=(id⁡A⊗E⊗N)(RN)P_{E,N}=(\operatorname{id}_A\otimes E^{\otimes N})(R_N)PE,N​=(idA​⊗E⊗N)(RN​) is a density matrix, the programmed map is a channel, and

GN(MN,PE,N,X)=E(GN(MN,RN,X)).G_N(M_N,P_{E,N},X)=E\bigl(G_N(M_N,R_N,X)\bigr).GN​(MN​,PE,N​,X)=E(GN​(MN​,RN​,X)).

Write ΛN(X)=GN(MN,RN,X)\Lambda_N(X)=G_N(M_N,R_N,X)ΛN​(X)=GN​(MN​,RN​,X) and F\mathcal FF for squared Uhlmann fidelity. For every unit input vector vvv, with ρv=∣v⟩⟨v∣\rho_v=|v\rangle\langle v|ρv​=∣v⟩⟨v∣,

F(E(ρv),GN(MN,PE,N,ρv))≥F(ρv,ΛN(ρv)).\mathcal F\bigl(E(\rho_v),G_N(M_N,P_{E,N},\rho_v)\bigr)\geq\mathcal F\bigl(\rho_v,\Lambda_N(\rho_v)\bigr).F(E(ρv​),GN​(MN​,PE,N​,ρv​))≥F(ρv​,ΛN​(ρv​)).

For each such EEE, the Haar average over vvv of the fidelity on the left tends to 111 as N→∞N\to\inftyN→∞. Thus the fixed processor is asymptotically faithful for every CPTP operation, including those with mixed program densities.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P38
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

open Filter MeasureTheory

namespace QAlgorithms.Papers.Independent.Extend50.P38

attribute [local instance] Classical.propDecidable Classical.decEq

-- Pinned accepted definitions; neither is re-declared in this module.

open QAlgorithms.Papers.Independent.Frontier18.P14 (singlet)

open QAlgorithms.Papers.Independent.Renew46.P01 (SpinPath)

/-- PDF pp.1,4: a fixed processor family, quantified before the programmed CPTP map
and the input. Programs are densities, generally mixed. The output equals E after
teleportation, pointwise squared fidelity cannot decrease, and average fidelity tends to one.
Only the trace-preserving reading justified by the source's p.4 argument is included. -/
theorem universal_programmable_processor (d : ℕ) (hd : 0 < d) :
    ∃ M : (N : ℕ) → Fin N → Matrix (AC d N) (AC d N) ℂ,
      (∀ N, M N = srm (signals d N)) ∧
      (∀ N, 0 < N → IsPOVM (M N)) ∧
      ∀ E : Superop (Fin d) (Fin d), IsChannel E →
        (∀ N : ℕ, 0 < N →
          let R := resourceDensity (1 : Matrix (Ports d N) (Ports d N) ℂ)
          IsDensityMatrix (program E R) ∧
          IsChannel (processor (M N) (program E R)) ∧
          (∀ X : Matrix (Fin d) (Fin d) ℂ,
            processor (M N) (program E R) X = E (processor (M N) R X)) ∧
          (∀ v : EuclideanSpace ℂ (Fin d), IsState v →
            stateFidelity (pureDensity v) (processor (M N) R (pureDensity v)) ≤
              stateFidelity (E (pureDensity v))
                (processor (M N) (program E R) (pureDensity v)))) ∧
        Tendsto (fun N : ℕ => programmedAverage hd E (M N)
          (resourceDensity (1 : Matrix (Ports d N) (Ports d N) ℂ))) atTop (nhds 1) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P38

end
Source
Asymptotic teleportation scheme as a universal programmable quantum processor, arXiv:0807.4568v2, PDF p. 1, Unnumbered main result; construction pp.1–2 and conclusion p.4
Read-back

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

For every natural number d>0d>0d>0, there exists a family M(N)=(Mi(N))i<NM^{(N)}=(M_i^{(N)})_{i<N}M(N)=(Mi(N)​)i<N​, for every natural number NNN, of complex matrices on HN=PN×{0,…,d−1}H_N=P_N\times\{0,\ldots,d-1\}HN​=PN​×{0,…,d−1}, where PN={0,…,d−1}{0,…,N−1}P_N=\{0,\ldots,d-1\}^{\{0,\ldots,N-1\}}PN​={0,…,d−1}{0,…,N−1}, with the following properties. Define matrices Si(N)S_i^{(N)}Si(N)​ on HNH_NHN​ by

Si(N)[(a,u),(a′,v)]=d−N 1{ai=u, ai′=v, ∀j≠i, aj=aj′},S_i^{(N)}[(a,u),(a',v)] =d^{-N}\,\mathbf 1_{\{a_i=u,\ a'_i=v,\ \forall j\ne i,\ a_j=a'_j\}},Si(N)​[(a,u),(a′,v)]=d−N1{ai​=u, ai′​=v, ∀j=i, aj​=aj′​}​,

put QN=f(∑i<NSi(N))Q_N=f(\sum_{i<N}S_i^{(N)})QN​=f(∑i<N​Si(N)​), using continuous functional calculus with f(t)=(t)−1f(t)=(\sqrt t)^{-1}f(t)=(t​)−1, and interpret the inverse of zero as zero. Then, for every NNN,

Mi(N)=QNSi(N)QN+1N(I−∑j<NQNSj(N)QN).M_i^{(N)} =Q_NS_i^{(N)}Q_N+\frac1N\left(I-\sum_{j<N}Q_NS_j^{(N)}Q_N\right).Mi(N)​=QN​Si(N)​QN​+N1​​I−j<N∑​QN​Sj(N)​QN​​.

For every N>0N>0N>0, each Mi(N)M_i^{(N)}Mi(N)​ is positive semidefinite and ∑i<NMi(N)=I\sum_{i<N}M_i^{(N)}=I∑i<N​Mi(N)​=I. To describe the remaining assertions, let rN(a,b)=d−N/21{a=b}r_N(a,b)=d^{-N/2}\mathbf 1_{\{a=b\}}rN​(a,b)=d−N/21{a=b}​ and let RN=rNrN∗R_N=r_Nr_N^*RN​=rN​rN∗​, a matrix on PN×PNP_N\times P_NPN​×PN​. For any family L=(Li)i<NL=(L_i)_{i<N}L=(Li​)i<N​ of matrices on HNH_NHN​ and any matrix RRR on PN×PNP_N\times P_NPN​×PN​, define a map ΦL,R\Phi_{L,R}ΦL,R​ on d×dd\times dd×d matrices by

[ΦL,R(X)]bc=∑i<N∑a,a′∈PN∑u,v<d∑z:{j<N:j≠i}→{0,…,d−1}Li[(a′,v),(a,u)] R[(a,ιi(z,b)),(a′,ιi(z,c))] Xuv,[\Phi_{L,R}(X)]_{bc} =\sum_{i<N}\sum_{a,a'\in P_N}\sum_{u,v<d} \sum_{z:\{j<N:j\ne i\}\to\{0,\ldots,d-1\}} L_i[(a',v),(a,u)]\, R[(a,\iota_i(z,b)),(a',\iota_i(z,c))]\,X_{uv},[ΦL,R​(X)]bc​=i<N∑​a,a′∈PN​∑​u,v<d∑​z:{j<N:j=i}→{0,…,d−1}∑​Li​[(a′,v),(a,u)]R[(a,ιi​(z,b)),(a′,ιi​(z,c))]Xuv​,

where ιi(z,b)\iota_i(z,b)ιi​(z,b) is the port string equal to bbb at iii and to zjz_jzj​ elsewhere. For every map EEE on d×dd\times dd×d complex matrices that admits a finite Kraus representation

E(X)=∑ℓ<mKℓXKℓ∗,∑ℓ<mKℓ∗Kℓ=IE(X)=\sum_{\ell<m}K_\ell X K_\ell^*, \qquad \sum_{\ell<m}K_\ell^*K_\ell=IE(X)=ℓ<m∑​Kℓ​XKℓ∗​,ℓ<m∑​Kℓ∗​Kℓ​=I

for some natural number mmm, define its programmed resource by

[RE,N](a,b),(a′,b′)=∑x,x′∈PN(RN)(a,x),(a′,x′)∏j<N[E(exjxj′)]bjbj′,[R_{E,N}]_{(a,b),(a',b')} =\sum_{x,x'\in P_N} (R_N)_{(a,x),(a',x')} \prod_{j<N}[E(e_{x_jx'_j})]_{b_jb'_j},[RE,N​](a,b),(a′,b′)​=x,x′∈PN​∑​(RN​)(a,x),(a′,x′)​j<N∏​[E(exj​xj′​​)]bj​bj′​​,

where euve_{uv}euv​ has entry 111 at (u,v)(u,v)(u,v) and zero elsewhere. For every N>0N>0N>0, RE,NR_{E,N}RE,N​ is positive semidefinite with trace 111; ΦM(N),RE,N\Phi_{M^{(N)},R_{E,N}}ΦM(N),RE,N​​ admits a finite Kraus representation with the same completeness condition; and, for every complex d×dd\times dd×d matrix XXX,

ΦM(N),RE,N(X)=E ⁣(ΦM(N),RN(X)).\Phi_{M^{(N)},R_{E,N}}(X) =E\!\left(\Phi_{M^{(N)},R_N}(X)\right).ΦM(N),RE,N​​(X)=E(ΦM(N),RN​​(X)).

Writing

F(A,B)=(Re⁡tr⁡A B A)2,F(A,B)= \left(\operatorname{Re}\operatorname{tr} \sqrt{\sqrt A\,B\,\sqrt A}\right)^2,F(A,B)=(RetrA​BA​​)2,

where the matrix square roots are defined by continuous functional calculus, every vector v∈Cdv\in\mathbb C^dv∈Cd with ∥v∥=1\|v\|=1∥v∥=1 satisfies

F ⁣(vv∗,ΦM(N),RN(vv∗))≤F ⁣(E(vv∗),ΦM(N),RE,N(vv∗)).F\!\left(vv^*,\Phi_{M^{(N)},R_N}(vv^*)\right) \le F\!\left(E(vv^*),\Phi_{M^{(N)},R_{E,N}}(vv^*)\right).F(vv∗,ΦM(N),RN​​(vv∗))≤F(E(vv∗),ΦM(N),RE,N​​(vv∗)).

Finally, for each such EEE,

lim⁡N→∞∫F ⁣(E(vv∗),ΦM(N),RE,N(vv∗)) dνd(v)=1,\lim_{N\to\infty} \int F\!\left(E(vv^*),\Phi_{M^{(N)},R_{E,N}}(vv^*)\right)\,d\nu_d(v)=1,N→∞lim​∫F(E(vv∗),ΦM(N),RE,N​​(vv∗))dνd​(v)=1,

where νd\nu_dνd​ is the distribution of Ue0Ue_0Ue0​ when UUU has normalized Haar measure on the group of d×dd\times dd×d unitary matrices. The family M(N)M^{(N)}M(N) is chosen before EEE and works for every such EEE. The quantification over NNN includes N=0N=0N=0, with empty sums, empty products, and 0−1=00^{-1}=00−1=0; the positive semidefiniteness, normalization, channel, composition, and fidelity assertions above are required only for N>0N>0N>0.

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