Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5: inversion, transposition, and estimation

Open
QAlgorithms.Papers.Independent.Extend50.P06.inversion_estimation

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

prove2quantum

All registers have specified computational bases and positive finite dimensions. An unknown operation is the channel of U∈SU(d)U\in\mathrm{SU}(d)U∈SU(d), with k≥1k\ge1k≥1 identical black-box uses. Every process, probe, measurement and guess is fixed independently of UUU. The unnormalized input-first Choi operator is J(V)=∣V⟩ ⁣⟩⟨ ⁣⟨V∣J(V)=|V\rangle\!\rangle\langle\!\langle V|J(V)=∣V⟩⟩⟨⟨V∣, where ∣V⟩ ⁣⟩=∑i∣i⟩⊗V∣i⟩|V\rangle\!\rangle=\sum_i|i\rangle\otimes V|i\rangle∣V⟩⟩=∑i​∣i⟩⊗V∣i⟩. For a target f(U)f(U)f(U) of dimension eee, write F(S,f;U)=Re⁡tr⁡[(S∗J(U)⊗k)J(f(U))]/e2F(S,f;U)=\operatorname{Re}\operatorname{tr}[(S*J(U)^{\otimes k})J(f(U))]/e^2F(S,f;U)=Retr[(S∗J(U)⊗k)J(f(U))]/e2 and F‾(S,f)=∫F(S,f;U) dU\overline F(S,f)=\int F(S,f;U)\,dUF(S,f)=∫F(S,f;U)dU, for probability Haar measure. Parallel, sequential and general processes mean Definitions 2–4, with arbitrary finite memory. Write Fc∗(f;d,k)F_c^*(f;d,k)Fc∗​(f;d,k) for the greatest attained average fidelity in class ccc; any displayed optimum includes attainment.

For every d≥1d\ge1d≥1 and k≥1k\ge1k≥1, a parallel measure-and-prepare process attains the optimal inversion average fidelity, and normalized parallel unitary estimation has the same attained optimum:

Fpar∗(U↦U−1;d,k)=Fest∗(d,k).F_{\rm par}^*(U\mapsto U^{-1};d,k)=F_{\rm est}^*(d,k).Fpar∗​(U↦U−1;d,k)=Fest∗​(d,k).

Estimation uses fixed unitary guesses scored by tr⁡[J(V)J(U)]/d2\operatorname{tr}[J(V)J(U)]/d^2tr[J(V)J(U)]/d2. This is the inversion counterpart of Theorem 3. The second sentence's printed transposition is corrected to inversion using the proof and Eqs.(62)–(67).

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P06
Formal statement
namespace QAlgorithms.Papers.Independent.Extend50.P06

open scoped BigOperators ComplexConjugate Matrix ComplexOrder

open MeasureTheory

noncomputable section

attribute [local instance] Classical.propDecidable

-- Exact accepted interfaces; no duplicate SU subtype or ambient-coordinate Haar law.

open QAlgorithms.Papers.Independent.Information100.P47 (Mat)

open QAlgorithms.Papers.Independent.Claimed50.P21 (SU HaarLaw)

open QAlgorithms.Papers.Independent.Dependency50.P05 (ChannelChoi)

attribute [local instance] QAlgorithms.Papers.Independent.Extend50.P06.targetMatrixMeasurable

/-- Theorem 5, PDF p.21. Printed second sentence repeats “transposition”;
changed to inversion, as fixed by Eqs.(62)–(67) and the concluding proof
paragraph. The printed reference to Lemma 2 at Eq.(64) means Theorem 2. -/
theorem inversion_estimation (d k : ℕ) (hd : 0 < d) (hk : 1 ≤ k)
    (H : HaarLaw d) :
    ∃ S : TransformationProcess k d d, TransformationAdmissible .parallel S ∧ ParallelMeasurePrepare S ∧
      IsGreatest (scores (k := k) H inverseTarget .parallel) (transformationAverage H inverseTarget S) ∧
      ∃ n : ℕ, ∃ E : Estimator k d n,
        IsGreatest (estimationScores (k := k) H) (estimateScore H E) ∧
        transformationAverage H inverseTarget S = estimateScore H E := by sorry

end

end QAlgorithms.Papers.Independent.Extend50.P06
Source
Deterministic transformations between unitary operations: Exponential advantage with adaptive quantum circuits and the power of indefinite causality, arXiv:2109.08202v3, PDF p. 21, Theorem 5: inversion, transposition, and estimation
Read-back

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

For natural numbers d>0d>0d>0 and k≥1k\ge1k≥1, let HHH be a probability measure on SU(d)\mathrm{SU}(d)SU(d) invariant under left and right multiplication. Put Q={0,…,d−1}{0,…,k−1}Q=\{0,\ldots,d-1\}^{\{0,\ldots,k-1\}}Q={0,…,d−1}{0,…,k−1}, W={0,…,d−1}×Q×Q×{0,…,d−1}W=\{0,\ldots,d-1\}\times Q\times Q\times\{0,\ldots,d-1\}W={0,…,d−1}×Q×Q×{0,…,d−1}, and define

C(V)(a,b),(a′,b′)=Vb,aVb′,a′‾,BU(i,o),(j,v)=∏t<kUot,itUvt,jt‾,LS(B)(a,b),(a′,b′)=∑i,j,o,vS(a,i,o,b),(a′,j,v,b′)B(i,o),(j,v).C(V)_{(a,b),(a',b')}=V_{b,a}\overline{V_{b',a'}}, \quad B_U{}_{(i,o),(j,v)}=\prod_{t<k}U_{o_t,i_t}\overline{U_{v_t,j_t}}, \quad L_S(B)_{(a,b),(a',b')}=\sum_{i,j,o,v}S_{(a,i,o,b),(a',j,v,b')}B_{(i,o),(j,v)}.C(V)(a,b),(a′,b′)​=Vb,a​Vb′,a′​​,BU​(i,o),(j,v)​=t<k∏​Uot​,it​​Uvt​,jt​​​,LS​(B)(a,b),(a′,b′)​=i,j,o,v∑​S(a,i,o,b),(a′,j,v,b′)​B(i,o),(j,v)​.

The inversion average is F†(S)=∫Re⁡Tr⁡(LS(BU)C(U†))/d2 dH(U)F_{\dagger}(S)=\int\operatorname{Re}\operatorname{Tr}(L_S(B_U)C(U^\dagger))/d^2\,dH(U)F†​(S)=∫ReTr(LS​(BU​)C(U†))/d2dH(U). For selected wires MMM, let (RMS)x,y=0(\mathcal R_MS)_{x,y}=0(RM​S)x,y​=0 where x,yx,yx,y disagree on MMM, and otherwise let it equal ∣W∣−1∑z∈WSx[M←z],y[M←z]|W|^{-1}\sum_{z\in W}S_{x[M\leftarrow z],y[M\leftarrow z]}∣W∣−1∑z∈W​Sx[M←z],y[M←z]​. Parallel admissibility requires SSS positive semidefinite, trace dk+1d^{k+1}dk+1, RBS=RO∪BS\mathcal R_BS=\mathcal R_{O\cup B}SRB​S=RO∪B​S, and RI∪O∪BS=RA∪I∪O∪BS\mathcal R_{I\cup O\cup B}S=\mathcal R_{A\cup I\cup O\cup B}SRI∪O∪B​S=RA∪I∪O∪B​S, with A,BA,BA,B the first and last wires and I,OI,OI,O all query input and output wires. There exists a parallel-admissible process SSS attaining the greatest inversion average among all such processes, with a finite decomposition

S(a,i,o,b),(a′,j,v,b′)=∑α<n0(Tα)(i,o),(j,v)(Rα)(a,b),(a′,b′),S_{(a,i,o,b),(a',j,v,b')} =\sum_{\alpha<n_0}(T_\alpha)_{(i,o),(j,v)} (R_\alpha)_{(a,b),(a',b')},S(a,i,o,b),(a′,j,v,b′)​=α<n0​∑​(Tα​)(i,o),(j,v)​(Rα​)(a,b),(a′,b′)​,

where the TαT_\alphaTα​ are positive semidefinite and sum entrywise to σi,j1o=v\sigma_{i,j}\mathbf1_{o=v}σi,j​1o=v​ for a positive semidefinite trace-one matrix σ\sigmaσ, while each RαR_\alphaRα​ is positive semidefinite with output partial trace equal to the identity. There also exist a natural number nnn, positive semidefinite tester matrices TαET^E_\alphaTαE​ with the same form of normalization, and guesses Gα∈SU(d)G_\alpha\in\mathrm{SU}(d)Gα​∈SU(d), whose score

Est⁡(E)=∫∑α<nRe⁡Tr⁡(TαEBU) Re⁡Tr⁡(C(Gα)C(U))d2 dH(U)\operatorname{Est}(E) =\int\sum_{\alpha<n}\operatorname{Re}\operatorname{Tr}(T^E_\alpha B_U)\, \frac{\operatorname{Re}\operatorname{Tr}(C(G_\alpha)C(U))}{d^2}\,dH(U)Est(E)=∫α<n∑​ReTr(TαE​BU​)d2ReTr(C(Gα​)C(U))​dH(U)

equals F†(S)F_{\dagger}(S)F†​(S) and is an attained greatest score over all estimators with any finite number of outcomes and this normalization. Dimension d=1d=1d=1 is included, and the existential outcome counts have no explicit positivity assumptions.

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