Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Discovering the significant entries of a sparse Pauli transfer matrix

Open
QAlgorithms.Papers.Independent.Extend50.P46.lemma4_4

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.

Assume the unknown PTM has at most sss nonzero entries, without supplied support. Using

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

the learner returns a finite list of distinct locations and estimates such that, simultaneously with probability at least 1−δ1-\delta1−δ: omitted true entries have magnitude at most ε\varepsilonε; listed true entries have magnitude strictly greater than ε/6\varepsilon/6ε/6; the list has length at most sss; and every listed estimate has error at most ε\varepsilonε.

The list is computed by retaining entries whose preliminary estimated magnitude exceeds ε/2\varepsilon/2ε/2. This provides support discovery rather than support advice.

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 pp.23-24, Lemma 4.4: support discovery and all four list guarantees.
The list is the finite filter at the strict eps/2 cutoff, with each retained value read from r. -/
theorem lemma4_4 :
    ∃ C : ℝ, 0 < C ∧ ∀ n s : ℕ, ∀ eps delta : ℝ,
      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 ∧
        ∀ 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 →

          1 - delta ≤ choiReportEventProbability P N {r | sparseListGood r (ptm N) eps s} := 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. 23, Lemma 4.4
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 pair of natural numbers n,sn,sn,s, including 000, and all real ε,δ\varepsilon,\deltaε,δ with ε>0\varepsilon>0ε>0 and 0<δ<10<\delta<10<δ<1, there exist natural numbers t,mt,mt,m, positive semidefinite measurement 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, satisfying t≤C(n+log⁡(δ−1))/ε4t\le C(n+\log(\delta^{-1}))/\varepsilon^4t≤C(n+log(δ−1))/ε4. For every complex-linear map N\mathcal NN having 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, put 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 TAB=2−nRe⁡Tr⁡(PAN(PB))T_{AB}=2^{-n}\operatorname{Re}\operatorname{Tr}(P_A\mathcal N(P_B))TAB​=2−nReTr(PA​N(PB​)). If at most sss pairs (A,B)(A,B)(A,B) have TAB≠0T_{AB}\ne0TAB​=0, then the total probability of outcomes satisfying all the following conditions is at least 1−δ1-\delta1−δ: for

Lo={(A,B):ε/2<∣rAB(o)∣},L_o=\{(A,B):\varepsilon/2<|r^{(o)}_{AB}|\},Lo​={(A,B):ε/2<∣rAB(o)​∣},

every pair outside LoL_oLo​ has ∣TAB∣≤ε|T_{AB}|\le\varepsilon∣TAB​∣≤ε; every pair inside LoL_oLo​ has ε/6<∣TAB∣\varepsilon/6<|T_{AB}|ε/6<∣TAB​∣ and ∣rAB(o)−TAB∣≤ε|r^{(o)}_{AB}-T_{AB}|\le\varepsilon∣rAB(o)​−TAB​∣≤ε; and ∣Lo∣≤s|L_o|\le s∣Lo​∣≤s. Explicitly, that probability is the sum of Re⁡Tr⁡(MoJN⊗t)\operatorname{Re}\operatorname{Tr}(M_oJ_{\mathcal N}^{\otimes t})ReTr(Mo​JN⊗t​) over those outcomes, 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 the tensor-power entries are products over copies. The logarithm is natural, no upper bound on ε\varepsilonε or outcome-count bound is assumed, and t=0t=0t=0 uses the scalar identity as tensor power. For n=0n=0n=0, the bit-string spaces are singletons; for s=0s=0s=0, no channel satisfies the support hypothesis, so the channel-dependent guarantee is vacuous.

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