Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

E.5 / Eq.(125): inversion k=2

Open
QAlgorithms.Papers.Independent.Extend50.P06.inversion_performance_two

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.

On three ordered factors, let V12,V23,V31V_{12},V_{23},V_{31}V12​,V23​,V31​ be swaps and V123,V321V_{123},V_{321}V123​,V321​ the indicated cyclic permutation matrices. Define

R+=(I+V12+V23+V31+V123+V321)/6,R−=(I−V12−V23−V31+V123+V321)/6,R0=(2I−V123−V321)/3,R1=(2V23−V31−V12)/3,R2=(V12−V31)/3,R3=i(V123−V321)/3.\begin{aligned}R_+&=(I+V_{12}+V_{23}+V_{31}+V_{123}+V_{321})/6,\\R_-&=(I-V_{12}-V_{23}-V_{31}+V_{123}+V_{321})/6,\\R_0&=(2I-V_{123}-V_{321})/3,\\R_1&=(2V_{23}-V_{31}-V_{12})/3,\\R_2&=(V_{12}-V_{31})/\sqrt3,\qquad R_3=i(V_{123}-V_{321})/\sqrt3.\end{aligned}R+​R−​R0​R1​R2​​=(I+V12​+V23​+V31​+V123​+V321​)/6,=(I−V12​−V23​−V31​+V123​+V321​)/6,=(2I−V123​−V321​)/3,=(2V23​−V31​−V12​)/3,=(V12​−V31​)/3​,R3​=i(V123​−V321​)/3​.​

For d≥2d\ge2d≥2, at k=2k=2k=2 the inversion performance operator is

Ω=1d2∑a∈{+,−,0,1,2,3}: Ra≠0ϵa(Ra)OP⊗(Ra)IFtr⁡(Ra†Ra),ϵ3=−1,ϵa=1 (a≠3).\Omega=\frac1{d^2}\sum_{a\in\{+,-,0,1,2,3\}:\,R_a\ne0}\frac{\epsilon_a(R_a)_{OP}\otimes(R_a)_{IF}}{\operatorname{tr}(R_a^\dagger R_a)},\qquad \epsilon_3=-1,\quad\epsilon_a=1\ (a\ne3).Ω=d21​a∈{+,−,0,1,2,3}:Ra​=0∑​tr(Ra†​Ra​)ϵa​(Ra​)OP​⊗(Ra​)IF​​,ϵ3​=−1,ϵa​=1 (a=3).

Zero members are omitted, in particular the minus projector at d=2d=2d=2. Projector denominators equal their traces; other denominators equal the printed squared-operator traces. The imaginary member causes the minus sign. This retains exact physical wire order and gives the explicit objective.

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.34, Eq.(125): printed “trans” changed to inversion by Eq.(123);
R- is omitted at d=2 and the imaginary R3 term has minus sign. -/
theorem inversion_performance_two (d : ℕ) (hd : 2 ≤ d) (H : HaarLaw d) :
    performance (k := 2) H inverseTarget = sixExpansion d true (rBasis d) := 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. 34, E.5 / Eq.(125): inversion k=2
Read-back

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

For every natural number d≥2d\ge2d≥2 and every Borel probability measure HHH on SU(d)\mathrm{SU}(d)SU(d) invariant under left and right multiplication, define the two-query performance matrix for U↦U†U\mapsto U^\daggerU↦U†, indexed by (a,i,o,b)(a,\mathbf i,\mathbf o,b)(a,i,o,b), with a,b∈{0,…,d−1}a,b\in\{0,\ldots,d-1\}a,b∈{0,…,d−1} and i,o∈{0,…,d−1}2\mathbf i,\mathbf o\in\{0,\ldots,d-1\}^2i,o∈{0,…,d−1}2, by

Ω(a,i,o,b),(a′,j,v,b′)inv=1d2∫SU(d)Uab‾ Ua′b′∏t=01Uotit‾ Uvtjt dH(U).\Omega^{\mathrm{inv}}_{(a,\mathbf i,\mathbf o,b),(a',\mathbf j,\mathbf v,b')} =\frac1{d^2}\int_{\mathrm{SU}(d)} \overline{U_{ab}}\,U_{a'b'} \prod_{t=0}^{1}\overline{U_{o_t i_t}}\,U_{v_t j_t}\,dH(U).Ω(a,i,o,b),(a′,j,v,b′)inv​=d21​∫SU(d)​Uab​​Ua′b′​t=0∏1​Uot​it​​​Uvt​jt​​dH(U).

For a permutation π\piπ of {0,1,2}\{0,1,2\}{0,1,2}, define a matrix on triples by

(Ππ)x,y=∏t=02δxt,yπ(t).(\Pi_\pi)_{x,y}=\prod_{t=0}^{2}\delta_{x_t,y_{\pi(t)}}.(Ππ​)x,y​=t=0∏2​δxt​,yπ(t)​​.

Let

A=Π[1,0,2],B=Π[0,2,1],C=Π[2,1,0],V=Π[2,0,1],W=Π[1,2,0],A=\Pi_{[1,0,2]},\quad B=\Pi_{[0,2,1]},\quad C=\Pi_{[2,1,0]},\quad V=\Pi_{[2,0,1]},\quad W=\Pi_{[1,2,0]},A=Π[1,0,2]​,B=Π[0,2,1]​,C=Π[2,1,0]​,V=Π[2,0,1]​,W=Π[1,2,0]​,

where a displayed list gives the values of the permutation at 0,1,20,1,20,1,2, and define

R0=I+A+B+C+V+W6,R1=I−A−B−C+V+W6,R2=2I−V−W3,R3=2B−C−A3,R4=A−C3,R5=i(V−W)3.\begin{aligned} R_0&=\frac{I+A+B+C+V+W}{6},& R_1&=\frac{I-A-B-C+V+W}{6},\\ R_2&=\frac{2I-V-W}{3},& R_3&=\frac{2B-C-A}{3},\\ R_4&=\frac{A-C}{\sqrt3},& R_5&=\frac{\mathrm i(V-W)}{\sqrt3}. \end{aligned}R0​R2​R4​​=6I+A+B+C+V+W​,=32I−V−W​,=3​A−C​,​R1​R3​R5​​=6I−A−B−C+V+W​,=32B−C−A​,=3​i(V−W)​.​

Here III is the identity on triples and i2=−1\mathrm i^2=-1i2=−1. For matrices D,ED,ED,E on triples, define

C(D,E)(a,i,o,b),(a′,j,v,b′)=D(o0,o1,a),(v0,v1,a′) E(i0,i1,b),(j0,j1,b′).\mathcal C(D,E)_{(a,\mathbf i,\mathbf o,b),(a',\mathbf j,\mathbf v,b')} =D_{(o_0,o_1,a),(v_0,v_1,a')}\, E_{(i_0,i_1,b),(j_0,j_1,b')}.C(D,E)(a,i,o,b),(a′,j,v,b′)​=D(o0​,o1​,a),(v0​,v1​,a′)​E(i0​,i1​,b),(j0​,j1​,b′)​.

The asserted equality is

Ωinv=1d2∑0≤r≤5Rr≠0εrtr⁡(Rr†Rr)C(Rr,Rr),εr={−1r=5,1r≠5.\Omega^{\mathrm{inv}} =\frac1{d^2}\sum_{\substack{0\le r\le5\\R_r\ne0}} \frac{\varepsilon_r}{\operatorname{tr}(R_r^\dagger R_r)} \mathcal C(R_r,R_r), \qquad \varepsilon_r= \begin{cases}-1&r=5,\\1&r\ne5.\end{cases}Ωinv=d21​0≤r≤5Rr​=0​∑​tr(Rr†​Rr​)εr​​C(Rr​,Rr​),εr​={−11​r=5,r=5.​

Every zero RrR_rRr​ contributes the zero matrix, including any such case when d=2d=2d=2.

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