Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Remark 30: improved approximate universal processor

Open
QAlgorithms.Papers.Independent.Extend50.P21.universal_approximate_processor

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

prove2quantum

All Hilbert spaces are nonzero and finite dimensional over C\mathbb CC. Channels are completely positive and trace preserving (CPTP), density operators are positive semidefinite with trace one, and pure programs are unit vectors. A processor is one fixed CPTP map P:B(H1⊗Cp)→B(H2)P:\mathcal B(\mathcal H_1\otimes\mathbb C^p)\to\mathcal B(\mathcal H_2)P:B(H1​⊗Cp)→B(H2​), chosen before the target channel. An ε\varepsilonε-processor means that every target TTT has a density program πT\pi_TπT​ with 12∥P(⋅⊗πT)−T∥⋄≤ε\frac12\|P(\cdot\otimes\pi_T)-T\|_\diamond\le\varepsilon21​∥P(⋅⊗πT​)−T∥⋄​≤ε, including entangled reference inputs. For every pair of positive integers d1,d2d_1,d_2d1​,d2​ and 0<ε<10<\varepsilon<10<ε<1, all CPTP maps from input dimension d1d_1d1​ to output dimension d2d_2d2​ admit one ε\varepsilonε-processor with pure programs and

0<p≤(5d1/ε)2d12d2.0<p\le(5d_1/\varepsilon)^{2d_1^2d_2}.0<p≤(5d1​/ε)2d12​d2​.

For equal dimensions d≥2d\ge2d≥2, a processor can simultaneously satisfy log⁡p≤2d3log⁡(5d/ε)\log p\le2d^3\log(5d/\varepsilon)logp≤2d3log(5d/ε) and p≤(1+2/ε)Cd3log⁡dp\le(1+2/\varepsilon)^{C d^3\log d}p≤(1+2/ε)Cd3logd for an absolute C>0C>0C>0 uniform in d,εd,\varepsilond,ε. Replacing nearby sphere-net centers by valid Choi purifications doubles the trace radius without increasing cardinality, supplying the source half-diamond accuracy. This makes the improved exponent explicit.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P21
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder Manifold ContDiff

open QAlgorithms

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

open QAlgorithms.Papers.Independent.Support21.P09 (Irreducible EquivalentModels)

open QAlgorithms.Papers.Independent.Information100.P69 (diamond)

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

open QAlgorithms.Papers.Independent.Information100.P60 (wernerHolevo)

namespace QAlgorithms.Papers.Independent.Extend50.P21

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

/-- PDF p.18, Remark 30: explicit rectangular universal bound and its
O(d^3 log d) exponent, with an absolute constant before dimension and accuracy.
Repair: replace sphere-net centers by nearby valid low-rank Choi purifications.
The doubled radius gives full-diamond 2 epsilon, hence half-diamond epsilon. -/
theorem universal_approximate_processor :
    (∀ d1 d2 : ℕ, 0 < d1 → 0 < d2 → ∀ epsilon : ℝ,
      0 < epsilon → epsilon < 1 →
      ∃ p : ℕ, 0 < p ∧
        (p : ℝ) ≤ (5 * d1 / epsilon) ^ (2 * d1 ^ 2 * d2) ∧
        ∃ processor : Superop (Fin d1 × Fin p) (Fin d2),
          PureImplements processor {T | IsChannel T} epsilon) ∧
    (∃ C : ℝ, 0 < C ∧ ∀ d : ℕ, 2 ≤ d → ∀ epsilon : ℝ,
      0 < epsilon → epsilon < 1 →
      ∃ p : ℕ, 0 < p ∧
        Real.log (p : ℝ) ≤ 2 * (d : ℝ) ^ 3 * Real.log (5 * d / epsilon) ∧
        (p : ℝ) ≤ Real.rpow (1 + 2 / epsilon) (C * (d : ℝ) ^ 3 * Real.log d) ∧
        ∃ processor : Superop (Fin d × Fin p) (Fin d),
          PureImplements processor {T | IsChannel T} epsilon) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P21

end
Source
Programmability of covariant quantum channels, arXiv:2012.00717v2, PDF p. 18, Remark 30: improved approximate universal processor
Read-back

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

For every pair of positive natural numbers d1,d2d_1,d_2d1​,d2​, including dimension 111, and every real 0<ϵ<10<\epsilon<10<ϵ<1, there are a positive integer ppp and a channel processor P\mathcal PP from matrices on {0,…,d1−1}×{0,…,p−1}\{0,\ldots,d_1-1\}\times\{0,\ldots,p-1\}{0,…,d1​−1}×{0,…,p−1} to matrices on {0,…,d2−1}\{0,\ldots,d_2-1\}{0,…,d2​−1}, such that

p≤(5d1ϵ)2d12d2p\le\left(\frac{5d_1}{\epsilon}\right)^{2d_1^2d_2}p≤(ϵ5d1​​)2d12​d2​

and every channel TTT from d1×d1d_1\times d_1d1​×d1​ to d2×d2d_2\times d_2d2​×d2​ matrices has a unit vector ψ∈Cp\psi\in\mathbb C^pψ∈Cp satisfying ∥P( ⋅ ⊗ψψ†)−T∥⋄/2≤ϵ\|\mathcal P(\,\cdot\,\otimes\psi\psi^\dagger)-T\|_\diamond/2\le\epsilon∥P(⋅⊗ψψ†)−T∥⋄​/2≤ϵ. In addition, there exists a single real constant C>0C>0C>0 such that, for every integer d≥2d\ge2d≥2 and every real 0<ϵ<10<\epsilon<10<ϵ<1, some positive integer ppp satisfies both

ln⁡p≤2d3ln⁡(5d/ϵ),p≤(1+2/ϵ)Cd3ln⁡d,\ln p\le2d^3\ln(5d/\epsilon), \qquad p\le(1+2/\epsilon)^{C d^3\ln d},lnp≤2d3ln(5d/ϵ),p≤(1+2/ϵ)Cd3lnd,

and supports a channel processor with the same unit-vector-program approximation property for every channel on d×dd\times dd×d matrices. The constant CCC is independent of d,ϵd,\epsilond,ϵ, while the processors and program dimensions may depend on them, and each target channel may use its own program. A channel means a finite Kraus map A↦∑jKjAKj†A\mapsto\sum_jK_jAK_j^\daggerA↦∑j​Kj​AKj†​ satisfying ∑jKj†Kj=1\sum_jK_j^\dagger K_j=1∑j​Kj†​Kj​=1; for input dimension dind_{\rm in}din​, the diamond quantity is sup⁡∥X∥1≤1∥(id⁡din⊗Δ)(X)∥1\sup_{\|X\|_1\le1}\|(\operatorname{id}_{d_{\rm in}}\otimes\Delta)(X)\|_1sup∥X∥1​≤1​∥(iddin​​⊗Δ)(X)∥1​, where amplification acts on matrix blocks and ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​.

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