Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Learning all Pauli transfer-matrix entries with quantum memory

Open
QAlgorithms.Papers.Independent.Extend50.P46.theorem4_1

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.

Write PAP_APA​ for the Pauli string with label A∈{I,X,Y,Z}nA\in\{I,X,Y,Z\}^nA∈{I,X,Y,Z}n, and RABP=2−ntr⁡(PAN(PB))R^P_{AB}=2^{-n}\operatorname{tr}(P_A\mathcal N(P_B))RABP​=2−ntr(PA​N(PB​)). There is a learner, independent of the unknown channel, using

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

copies and returning estimates with ∣R^AB−RABP∣≤ε|\widehat R_{AB}-R^P_{AB}|\le\varepsilon∣RAB​−RABP​∣≤ε for all A,BA,BA,B simultaneously with probability at least 1−δ1-\delta1−δ. This is a sample bound; printing the full table has no claimed efficient time bound.

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.21, Theorem 4.1: an unknown-channel-independent joint measurement.
There is no time bound for printing the entire table. -/
theorem theorem4_1 :
    ∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, ∀ 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},

          1 - delta ≤ choiReportEventProbability P N {r | tableGood r (ptm N) eps} := 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. 21, Theorem 4.1
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, 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 matrices (Mo)o=0m−1(M_o)_{o=0}^{m-1}(Mo​)o=0m−1​ on ttt copies of two nnn-bit registers satisfying ∑oMo=I\sum_oM_o=I∑o​Mo​=I, and a decoder assigning a real matrix r(o)r^{(o)}r(o) indexed by Pauli assignments to each outcome, with

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

These choices work 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, as follows. For assignments A,B:{0,…,n−1}→{I,X,Y,Z}A,B:\{0,\ldots,n-1\}\to\{I,X,Y,Z\}A,B:{0,…,n−1}→{I,X,Y,Z}, put PA=⨂qA(q)P_A=\bigotimes_q A(q)PA​=⨂q​A(q) 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​)). Define the matrix JNJ_{\mathcal N}JN​ by (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′​ for nnn-bit strings u,v,u′,v′u,v,u',v'u,v,u′,v′, and let JN⊗tJ_{\mathcal N}^{\otimes t}JN⊗t​ have entries given by products of the corresponding ttt entries. Then

∑o∀A,B, ∣rAB(o)−TAB∣≤εRe⁡Tr⁡ ⁣(MoJN⊗t)≥1−δ.\sum_{\substack{o\\ \forall A,B,\ |r^{(o)}_{AB}-T_{AB}|\le\varepsilon}} \operatorname{Re}\operatorname{Tr}\!\left(M_oJ_{\mathcal N}^{\otimes t}\right) \ge1-\delta.o∀A,B, ∣rAB(o)​−TAB​∣≤ε​∑​ReTr(Mo​JN⊗t​)≥1−δ.

The logarithm is natural, ε\varepsilonε has no upper restriction, and no bound on the number of outcomes is asserted. The copy count may be 000, in which case the tensor power is the scalar identity on a one-dimensional space; n=0n=0n=0 likewise uses the unique empty bit string and empty Pauli tensor products.

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