Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§5.2 summary: qubit inversion optimum

Open
QAlgorithms.Papers.Independent.Extend50.P06.inversion_qubits

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 k≥1k\ge1k≥1, parallel inversion of qubit unitaries has the attained optimum

Fpar∗(U↦U−1;2,k)=cos⁡2 ⁣(πk+3).F_{\rm par}^*(U\mapsto U^{-1};2,k)=\cos^2\!\left(\frac\pi{k+3}\right).Fpar∗​(U↦U−1;2,k)=cos2(k+3π​).

This is the inversion application of the paper's equivalence with unitary estimation.

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

/-- PDF p.22, second summary bullet: exact qubit parallel inversion optimum. -/
theorem inversion_qubits (k : ℕ) (hk : 1 ≤ k) (H : HaarLaw 2) :
    IsGreatest (scores (k := k) H inverseTarget .parallel)
      ((Real.cos (Real.pi/((k : ℝ)+3)))^2) := 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. 22, §5.2 summary: qubit inversion optimum
Read-back

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

For every integer k≥1k\ge1k≥1 and every probability measure HHH on SU(2)\mathrm{SU}(2)SU(2) invariant under left and right multiplication, the greatest parallel score defined here is

cos⁡2 ⁣(πk+3),\cos^2\!\left(\frac{\pi}{k+3}\right),cos2(k+3π​),

and this value is attained. Put Q={0,1}kQ=\{0,1\}^kQ={0,1}k, let SSS be a complex matrix indexed by {0,1}×Q×Q×{0,1}\{0,1\}\times Q\times Q\times\{0,1\}{0,1}×Q×Q×{0,1}, and define

J(V)(a,b),(a′,b′)=VbaVb′a′‾,CU(i,o),(j,v)=∏t<kUotitUvtjt‾,LS(C)(a,b),(a′,b′)=∑i,j,o,v∈QS(a,i,o,b),(a′,j,v,b′)C(i,o),(j,v).J(V)_{(a,b),(a',b')}=V_{ba}\overline{V_{b'a'}},\quad C_U{}_{(i,o),(j,v)}=\prod_{t<k}U_{o_ti_t}\overline{U_{v_tj_t}},\quad L_S(C)_{(a,b),(a',b')}=\sum_{i,j,o,v\in Q}S_{(a,i,o,b),(a',j,v,b')}C_{(i,o),(j,v)}.J(V)(a,b),(a′,b′)​=Vba​Vb′a′​​,CU​(i,o),(j,v)​=t<k∏​Uot​it​​Uvt​jt​​​,LS​(C)(a,b),(a′,b′)​=i,j,o,v∈Q∑​S(a,i,o,b),(a′,j,v,b′)​C(i,o),(j,v)​.

The score is 14∫Re⁡Tr⁡(LS(CU)J(U†)) dH(U)\frac14\int\operatorname{Re}\operatorname{Tr}(L_S(C_U)J(U^\dagger))\,dH(U)41​∫ReTr(LS​(CU​)J(U†))dH(U). Parallel admissibility means S⪰0S\succeq0S⪰0, Tr⁡S=2k+1\operatorname{Tr}S=2^{k+1}TrS=2k+1, and

R{b}S=R{o0,…,ok−1,b}S,R{i0,…,ik−1,o0,…,ok−1,b}S=RallS,\mathcal R_{\{b\}}S=\mathcal R_{\{o_0,\ldots,o_{k-1},b\}}S,\qquad \mathcal R_{\{i_0,\ldots,i_{k-1},o_0,\ldots,o_{k-1},b\}}S=\mathcal R_{\mathrm{all}}S,R{b}​S=R{o0​,…,ok−1​,b}​S,R{i0​,…,ik−1​,o0​,…,ok−1​,b}​S=Rall​S,

where RM(S)xy=2−∣M∣1xM=yM∑zMS(xMˉ,zM),(yMˉ,zM)\mathcal R_M(S)_{xy}=2^{-|M|}\mathbf1_{x_M=y_M}\sum_{z_M}S_{(x_{\bar M},z_M),(y_{\bar M},z_M)}RM​(S)xy​=2−∣M∣1xM​=yM​​∑zM​​S(xMˉ​,zM​),(yMˉ​,zM​)​. There exists an admissible SSS attaining the displayed value, and every admissible SSS has score at most that value.

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