Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Memory-assisted lower bounds for sparse unital channels and sparse prediction

Open
QAlgorithms.Papers.Independent.Extend50.P46.appendixE_sparse_extension

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

prove2quantum

There are universal c>0c>0c>0 and 0<ε0≤1/60<\varepsilon_0\le1/60<ε0​≤1/6 such that the following two lower bounds hold for every n≥1n\ge1n≥1 and 0<ε≤ε00<\varepsilon\le\varepsilon_00<ε≤ε0​. The unknown CPTP channel is promised unital with at most two nonzero PTM entries; the promise is uniform and its support is unknown.

  1. Every joint-POVM Choi learner that estimates every PTM entry within ε\varepsilonε, simultaneously with probability at least 2/32/32/3 on every promised channel, uses T≥cn/ε2T\ge cn/\varepsilon^2T≥cn/ε2 copies.
  2. The same bound holds for any classical-report joint-POVM learner and decoder that, with simultaneous success probability at least 2/32/32/3 on every promised channel, predicts tr⁡(ON(ρ))\operatorname{tr}(O\mathcal N(\rho))tr(ON(ρ)) within ε\varepsilonε for all states with Pauli sparsity at most two and Hermitian observables with Pauli sparsity at most one and ∥O∥2≤2n\|O\|_2\le\sqrt{2^n}∥O∥2​≤2n​.

Thus both tasks satisfy

T=Ω(n/ε2)T=\Omega(n/\varepsilon^2)T=Ω(n/ε2)

even with quantum memory. There is no entanglement-breaking hypothesis in this statement.

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.61, final paragraph: both memory-assisted lower bounds under the
unital constant-sparse promise. The D.4 ensemble has 2(4^n-1)^2 signed elements,
correcting the count printed in this paragraph. No entanglement-breaking promise is added. -/
theorem appendixE_sparse_extension :
    ∃ c eps0 : ℝ, 0 < c ∧ 0 < eps0 ∧ eps0 ≤ 1/6 ∧
      ∀ n : ℕ, 1 ≤ n → ∀ eps : ℝ, 0 < eps → eps ≤ eps0 →
      (∀ P : ChoiLearner n (Matrix (ErrorMitigation.PauliIndex n) (ErrorMitigation.PauliIndex n) ℝ),
        (∀ N : {F : (Matrix (Qubits n) (Qubits n) ℂ) →ₗ[ℂ] (Matrix (Qubits n) (Qubits n) ℂ) // IsChannel F}, N.val 1 = 1 →
          supportCount (fun ij : ErrorMitigation.PauliIndex n × ErrorMitigation.PauliIndex n => ptm N ij.1 ij.2) ≤ 2 →

          (2 : ℝ)/3 ≤ choiReportEventProbability P N {r | tableGood r (ptm N) eps}) →
        c * n / eps^2 ≤ (P.copies : ℝ)) ∧
      (∀ (Out : Type) (P : ChoiLearner n Out)
        (decode : Out → (Matrix (Qubits n) (Qubits n) ℂ) → (Matrix (Qubits n) (Qubits n) ℂ) → ℝ),
        (∀ N : {F : (Matrix (Qubits n) (Qubits n) ℂ) →ₗ[ℂ] (Matrix (Qubits n) (Qubits n) ℂ) // IsChannel F}, N.val 1 = 1 →
          supportCount (fun ij : ErrorMitigation.PauliIndex n × ErrorMitigation.PauliIndex n => ptm N ij.1 ij.2) ≤ 2 →
          let E := {r | ∀ rho O : (Matrix (Qubits n) (Qubits n) ℂ), IsDensityMatrix rho → O.IsHermitian →
            supportCount (ErrorMitigation.pauliStateVector rho) ≤ 2 →
            supportCount (ErrorMitigation.pauliObservableRow O) ≤ 1 →
            frobNorm O ≤ Real.sqrt ((2 : ℝ)^n) →
            |decode r rho O - (O * N.val rho).trace.re| ≤ eps}
          (2 : ℝ)/3 ≤ choiReportEventProbability P N E) →
        c * n / eps^2 ≤ (P.copies : ℝ)) := 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. 61, Appendix E, unnumbered sparse-channel and sparse-prediction lower bounds
Read-back

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

There exist real constants c>0c>0c>0 and 0<ε0≤1/60<\varepsilon_0\le1/60<ε0​≤1/6 such that, for every natural number n≥1n\ge1n≥1 and real 0<ε≤ε00<\varepsilon\le\varepsilon_00<ε≤ε0​, both of the following implications hold. Write d=2nd=2^nd=2n, Hn=C{0,1}n\mathcal H_n=\mathbb C^{\{0,1\}^n}Hn​=C{0,1}n, Pn={I,X,Y,Z}n\mathcal P_n=\{I,X,Y,Z\}^nPn​={I,X,Y,Z}n, and PA=⨂jAjP_A=\bigotimes_jA_jPA​=⨂j​Aj​; throughout, a channel means a complex-linear map N(X)=∑ℓ=0k−1EℓXEℓ†\mathcal N(X)=\sum_{\ell=0}^{k-1}E_\ell XE_\ell^\daggerN(X)=∑ℓ=0k−1​Eℓ​XEℓ†​ with finitely many Kraus matrices satisfying ∑ℓEℓ†Eℓ=I\sum_\ell E_\ell^\dagger E_\ell=I∑ℓ​Eℓ†​Eℓ​=I, its real Pauli transfer matrix is TAB=d−1Re⁡tr⁡(PAN(PB))T_{AB}=d^{-1}\operatorname{Re}\operatorname{tr}(P_A\mathcal N(P_B))TAB​=d−1Retr(PA​N(PB​)), and JN=d−1∑u,v∣u⟩⟨v∣⊗N(∣u⟩⟨v∣)J_{\mathcal N}=d^{-1}\sum_{u,v}|u\rangle\langle v|\otimes\mathcal N(|u\rangle\langle v|)JN​=d−1∑u,v​∣u⟩⟨v∣⊗N(∣u⟩⟨v∣). A learner with mmm copies consists of finitely many positive semidefinite matrices MoM_oMo​ summing to the identity on (Hn⊗Hn)⊗m(\mathcal H_n\otimes\mathcal H_n)^{\otimes m}(Hn​⊗Hn​)⊗m, together with a decoded report for each outcome, and assigns an event of reports the weight obtained by summing Re⁡tr⁡(MoJN⊗m)\operatorname{Re}\operatorname{tr}(M_oJ_{\mathcal N}^{\otimes m})Retr(Mo​JN⊗m​) over its outcomes. First, for every such learner reporting real Pn×Pn\mathcal P_n\times\mathcal P_nPn​×Pn​ matrices rrr, if for every channel satisfying N(I)=I\mathcal N(I)=IN(I)=I and #{(A,B):TAB≠0}≤2\#\{(A,B):T_{AB}\ne0\}\le2#{(A,B):TAB​=0}≤2, the event ∀A,B, ∣rAB−TAB∣≤ε\forall A,B,\ |r_{AB}-T_{AB}|\le\varepsilon∀A,B, ∣rAB​−TAB​∣≤ε has weight at least 2/32/32/3, then cn/ε2≤mcn/\varepsilon^2\le mcn/ε2≤m. Second, for every type Out\mathrm{Out}Out, every such learner reporting elements r∈Outr\in\mathrm{Out}r∈Out, and every function D:Out×Mat⁡(Hn)×Mat⁡(Hn)→RD:\mathrm{Out}\times\operatorname{Mat}(\mathcal H_n)\times\operatorname{Mat}(\mathcal H_n)\to\mathbb RD:Out×Mat(Hn​)×Mat(Hn​)→R, if for every channel satisfying those same unitality and transfer-support conditions the event

∀ρ,O,ρ⪰0, tr⁡ρ=1, O†=O,#{A:Re⁡tr⁡(PAρ)≠0}≤2,#{A:d−1Re⁡tr⁡(PAO)≠0}≤1,∥O∥F≤d⟹∣D(r,ρ,O)−Re⁡tr⁡(ON(ρ))∣≤ε\begin{gathered} \forall \rho,O,\quad \rho\succeq0,\ \operatorname{tr}\rho=1,\ O^\dagger=O,\quad \#\{A:\operatorname{Re}\operatorname{tr}(P_A\rho)\ne0\}\le2,\\ \#\{A:d^{-1}\operatorname{Re}\operatorname{tr}(P_AO)\ne0\}\le1,\quad \|O\|_{\mathrm F}\le\sqrt d \quad\Longrightarrow\quad |D(r,\rho,O)-\operatorname{Re}\operatorname{tr}(O\mathcal N(\rho))|\le\varepsilon \end{gathered}∀ρ,O,ρ⪰0, trρ=1, O†=O,#{A:Retr(PA​ρ)=0}≤2,#{A:d−1Retr(PA​O)=0}≤1,∥O∥F​≤d​⟹∣D(r,ρ,O)−Retr(ON(ρ))∣≤ε​

has weight at least 2/32/32/3, then cn/ε2≤mcn/\varepsilon^2\le mcn/ε2≤m. Here ∥O∥F=(∑u,v∣Ouv∣2)1/2\|O\|_{\mathrm F}=(\sum_{u,v}|O_{uv}|^2)^{1/2}∥O∥F​=(∑u,v​∣Ouv​∣2)1/2, the event in the second implication requires simultaneous accuracy for all qualifying ρ,O\rho,Oρ,O, and Out\mathrm{Out}Out need not be finite, although the learner has finitely many measurement outcomes. The same constants serve both implications; zero copies are included in the quantified learners, with scalar 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