Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Prediction of arbitrary bounded observables for sparse channels

Open
QAlgorithms.Papers.Independent.Extend50.P46.corollary4_5

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

prove2quantum

The unknown channel is an arbitrary complex-linear CPTP map on nnn qubits. Choi access supplies independent copies of the normalized reference-first state J(N)=(id⊗N)(∣Ω⟩⟨Ω∣)J(\mathcal N)=(\mathrm{id}\otimes\mathcal N)(|\Omega\rangle\langle\Omega|)J(N)=(id⊗N)(∣Ω⟩⟨Ω∣). The algorithm is a joint POVM on exactly its stated number of copies, chosen before the channel. Accuracy means simultaneous absolute error under its actual Born law. All constants, and all exponents hidden in O~\widetilde OO, are uniform before the channel, dimension, basis and accuracy parameters. Assume ε>0\varepsilon>0ε>0 and 0<δ<10<\delta<10<δ<1.

Let s≥1s\ge1s≥1 and B>0B>0B>0 be known bounds. If the PTM has at most sss nonzero entries, there is a learner using

m=O ⁣(n+log⁡(1/δ)ε4B4s4)m=O\!\left(\frac{n+\log(1/\delta)}{\varepsilon^4}B^4s^4\right)m=O(ε4n+log(1/δ)​B4s4)

copies whose classical table predicts, on one common event of probability at least 1−δ1-\delta1−δ, every tr⁡(ON(ρ))\operatorname{tr}(O\mathcal N(\rho))tr(ON(ρ)) within ε\varepsilonε for every state ρ\rhoρ and Hermitian OOO satisfying ∥O∥2≤B2n\|O\|_2\le B\sqrt{2^n}∥O∥2​≤B2n​. Neither state nor observable sparsity is required. The predictor is the explicit contraction of the learned PTM with their Pauli coefficient vectors.

This gives a uniform prediction guarantee without assuming the support of the channel is known.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P46
Formal statement
noncomputable section

open MeasureTheory

open scoped Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Extend50.P46

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.24, Corollary 4.5: one classical table predicts all bounded
observables on all states; neither input sparsity nor known channel support is assumed. -/
theorem corollary4_5 :
    ∃ C : ℝ, 0 < C ∧ ∀ n s : ℕ, 1 ≤ s → ∀ B eps delta : ℝ,
      0 < B → 0 < eps → 0 < delta → delta < 1 →
      ∃ P : ChoiLearner n (Matrix (ErrorMitigation.PauliIndex n) (ErrorMitigation.PauliIndex n) ℝ),
        (P.copies : ℝ) ≤ C * (n + Real.log delta⁻¹) / eps^4 * B^4 * (s : ℝ)^4 ∧
        ∀ N : {F : (Matrix (Qubits n) (Qubits n) ℂ) →ₗ[ℂ] (Matrix (Qubits n) (Qubits n) ℂ) // IsChannel F}, supportCount (fun p : ErrorMitigation.PauliIndex n × ErrorMitigation.PauliIndex n => ptm N p.1 p.2) ≤ s →
          let E := {r | ∀ rho O : (Matrix (Qubits n) (Qubits n) ℂ), IsDensityMatrix rho → O.IsHermitian →
            frobNorm O ≤ B * Real.sqrt ((2 : ℝ)^n) →
            |predictPauli r rho O - (O * N.val rho).trace.re| ≤ eps}
          1 - delta ≤ choiReportEventProbability P N E := by sorry

end QAlgorithms.Papers.Independent.Extend50.P46

end
Source
Learning Quantum Processes and Hamiltonians via the Pauli Transfer Matrix, arXiv:2212.04471v2, PDF p. 24, Corollary 4.5
Read-back

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

There exists a real constant C>0C>0C>0 such that, for every natural number nnn, every natural number s≥1s\ge1s≥1, and all real B,ε,δB,\varepsilon,\deltaB,ε,δ with B>0B>0B>0, ε>0\varepsilon>0ε>0, and 0<δ<10<\delta<10<δ<1, there exist natural numbers t,mt,mt,m, positive semidefinite matrices (Mo)o=0m−1(M_o)_{o=0}^{m-1}(Mo​)o=0m−1​ on ttt copies of two nnn-bit registers with ∑oMo=I\sum_oM_o=I∑o​Mo​=I, and decoded real matrices r(o)r^{(o)}r(o) indexed by Pauli assignments, such that

t≤C n+log⁡(δ−1)ε4 B4s4.t\le C\,\frac{n+\log(\delta^{-1})}{\varepsilon^4}\,B^4s^4.t≤Cε4n+log(δ−1)​B4s4.

For every complex-linear map N\mathcal NN admitting a finite Kraus representation N(X)=∑ℓKℓXKℓ∗\mathcal N(X)=\sum_\ell K_\ell X K_\ell^{*}N(X)=∑ℓ​Kℓ​XKℓ∗​ for all XXX, with ∑ℓKℓ∗Kℓ=I\sum_\ell K_\ell^{*}K_\ell=I∑ℓ​Kℓ∗​Kℓ​=I, write PA=⨂qA(q)P_A=\bigotimes_qA(q)PA​=⨂q​A(q) for A(q)∈{I,X,Y,Z}A(q)\in\{I,X,Y,Z\}A(q)∈{I,X,Y,Z} and TAD=2−nRe⁡Tr⁡(PAN(PD))T_{AD}=2^{-n}\operatorname{Re}\operatorname{Tr}(P_A\mathcal N(P_D))TAD​=2−nReTr(PA​N(PD​)). If at most sss entries of TTT are nonzero, then with total probability at least 1−δ1-\delta1−δ, the decoded matrix simultaneously satisfies, for every positive semidefinite trace-one matrix ρ\rhoρ and every Hermitian matrix OOO on nnn bits with (∑u,v∣Ouv∣2)1/2≤B2n(\sum_{u,v}|O_{uv}|^2)^{1/2}\le B\sqrt{2^n}(∑u,v​∣Ouv​∣2)1/2≤B2n​,

∣∑A,D(2−nRe⁡Tr⁡(PAO))rAD(o)Re⁡Tr⁡(PDρ)−Re⁡Tr⁡(ON(ρ))∣≤ε.\left| \sum_{A,D} \left(2^{-n}\operatorname{Re}\operatorname{Tr}(P_AO)\right) r^{(o)}_{AD} \operatorname{Re}\operatorname{Tr}(P_D\rho) -\operatorname{Re}\operatorname{Tr}(O\mathcal N(\rho)) \right|\le\varepsilon.​A,D∑​(2−nReTr(PA​O))rAD(o)​ReTr(PD​ρ)−ReTr(ON(ρ))​≤ε.

Here the probability is the sum of Re⁡Tr⁡(MoJN⊗t)\operatorname{Re}\operatorname{Tr}(M_oJ_{\mathcal N}^{\otimes t})ReTr(Mo​JN⊗t​) over outcomes satisfying this entire simultaneous condition, where (JN)(u,v),(u′,v′)=2−nN(∣u⟩⟨u′∣)v,v′(J_{\mathcal N})_{(u,v),(u',v')}=2^{-n}\mathcal N(|u\rangle\langle u'|)_{v,v'}(JN​)(u,v),(u′,v′)​=2−nN(∣u⟩⟨u′∣)v,v′​ and tensor-power entries are products over copies. The logarithm is natural; no upper bounds on BBB or ε\varepsilonε and no outcome-count bound are asserted. The quantifiers include n=0n=0n=0 and t=0t=0t=0, with singleton empty-string registers and the scalar identity for the zeroth tensor power.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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