Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

E.4 / Eq.(122): transposition k=2

Open
QAlgorithms.Papers.Independent.Extend50.P06.transposition_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 put X=I1⊗J(I)23X=I_1\otimes J(I)_{23}X=I1​⊗J(I)23​, V=F12⊗I3V=F_{12}\otimes I_3V=F12​⊗I3​, A±=(I±V)/2A_\pm=(I\pm V)/2A±​=(I±V)/2, and q=d2−1q=d^2-1q=d2−1. Define

S±=A±(I−2X/(d±1))A±,S0=[d(X+VXV)−(XV+VX)]/q,S1=[d(XV+VX)−(X+VXV)]/q,S2=(X−VXV)/q,S3=i(XV−VX)/q.\begin{aligned}S_\pm&=A_\pm(I-2X/(d\pm1))A_\pm,\\S_0&=[d(X+VXV)-(XV+VX)]/q,\\S_1&=[d(XV+VX)-(X+VXV)]/q,\\S_2&=(X-VXV)/\sqrt q,\qquad S_3=i(XV-VX)/\sqrt q.\end{aligned}S±​S0​S1​S2​​=A±​(I−2X/(d±1))A±​,=[d(X+VXV)−(XV+VX)]/q,=[d(XV+VX)−(X+VXV)]/q,=(X−VXV)/q​,S3​=i(XV−VX)/q​.​

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

Ω=1d2∑a∈{+,−,0,1,2,3}: Sa≠0ϵa(Sa)OP⊗(Sa)IFtr⁡(Sa†Sa),ϵ3=−1,ϵa=1 (a≠3).\Omega=\frac1{d^2}\sum_{a\in\{+,-,0,1,2,3\}:\,S_a\ne0}\frac{\epsilon_a(S_a)_{OP}\otimes(S_a)_{IF}}{\operatorname{tr}(S_a^\dagger S_a)},\qquad \epsilon_3=-1,\quad\epsilon_a=1\ (a\ne3).Ω=d21​a∈{+,−,0,1,2,3}:Sa​=0∑​tr(Sa†​Sa​)ϵa​(Sa​)OP​⊗(Sa​)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.(122): explicit mixed S basis, with crossed placement,
zero S- omitted at d=2, and the imaginary S3 sign retained. -/
theorem transposition_performance_two (d : ℕ) (hd : 2 ≤ d) (H : HaarLaw d) :
    performance (k := 2) H transposeTarget = sixExpansion d true (sBasis 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.4 / Eq.(122): transposition 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 transposition performance matrix, indexed by (a,i,o,b)(a,\mathbf i,\mathbf o,b)(a,i,o,b), where 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′)T=1d2∫SU(d)Uab Ua′b′‾∏t=01Uotit‾ Uvtjt dH(U).\Omega^{\mathrm T}_{(a,\mathbf i,\mathbf o,b),(a',\mathbf j,\mathbf v,b')} =\frac1{d^2}\int_{\mathrm{SU}(d)} U_{ab}\,\overline{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′)T​=d21​∫SU(d)​Uab​Ua′b′​​t=0∏1​Uot​it​​​Uvt​jt​​dH(U).

On triples x=(x0,x1,x2)x=(x_0,x_1,x_2)x=(x0​,x1​,x2​), y=(y0,y1,y2)y=(y_0,y_1,y_2)y=(y0​,y1​,y2​) of indices, let

Xx,y=δx0,y0δx1,x2δy1,y2,Vx,y=δx0,y1δx1,y0δx2,y2,A=I+V2,B=I−V2,q=d2−1.X_{x,y}=\delta_{x_0,y_0}\delta_{x_1,x_2}\delta_{y_1,y_2}, \qquad V_{x,y}=\delta_{x_0,y_1}\delta_{x_1,y_0}\delta_{x_2,y_2}, \qquad A=\frac{I+V}{2},\quad B=\frac{I-V}{2},\quad q=d^2-1.Xx,y​=δx0​,y0​​δx1​,x2​​δy1​,y2​​,Vx,y​=δx0​,y1​​δx1​,y0​​δx2​,y2​​,A=2I+V​,B=2I−V​,q=d2−1.

Define six matrices on triples by

S0=A(I−2Xd+1)A,S1=B(I−2Xd−1)B,S2=d(X+VXV)−(XV+VX)q,S3=d(XV+VX)−(X+VXV)q,S4=X−VXVd2−1,S5=i(XV−VX)d2−1,\begin{aligned} S_0&=A\left(I-\frac{2X}{d+1}\right)A,& S_1&=B\left(I-\frac{2X}{d-1}\right)B,\\ S_2&=\frac{d(X+VXV)-(XV+VX)}q,& S_3&=\frac{d(XV+VX)-(X+VXV)}q,\\ S_4&=\frac{X-VXV}{\sqrt{d^2-1}},& S_5&=\frac{\mathrm i(XV-VX)}{\sqrt{d^2-1}}, \end{aligned}S0​S2​S4​​=A(I−d+12X​)A,=qd(X+VXV)−(XV+VX)​,=d2−1​X−VXV​,​S1​S3​S5​​=B(I−d−12X​)B,=qd(XV+VX)−(X+VXV)​,=d2−1​i(XV−VX)​,​

where III is the identity on triples and i2=−1\mathrm i^2=-1i2=−1. For matrices C,DC,DC,D on triples, set

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

Then the asserted identity is

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

A zero SrS_rSr​ contributes the zero matrix; this convention applies also at 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