Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6 footnote 8: real optimization

Open
QAlgorithms.Papers.Independent.Extend50.P06.real_superchannel

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 a Borel-measurable target, suppose its actual performance operator is real in the computational basis: Ω‾=Ω\overline\Omega=\OmegaΩ=Ω. For any admissible SSS in a specified class, the explicitly constructed matrix

SR=S+S‾2S_{\mathbb R}=\frac{S+\overline S}{2}SR​=2S+S​

is admissible in the same class, all its entries are real, and tr⁡(SRΩ)=tr⁡(SΩ)\operatorname{tr}(S_{\mathbb R}\Omega)=\operatorname{tr}(S\Omega)tr(SR​Ω)=tr(SΩ). Bars denote entrywise conjugation. This permits optimization over real process matrices.

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, footnote 8: entrywise conjugation, not adjoint. With a real
performance matrix, real symmetrization preserves the domain and objective. -/
theorem real_superchannel (d e k : ℕ) (hd : 0 < d) (he : 0 < e) (hk : 1 ≤ k)
    (H : HaarLaw d) (f : Target d e) (c : StrategyClass) (S : TransformationProcess k d e)
    (hS : TransformationAdmissible c S) (hreal : (performance (k := k) H f.value).map conj =
      performance (k := k) H f.value) :
    let Sreal := (2 : ℂ)⁻¹ • (S + S.map conj)
    TransformationAdmissible c Sreal ∧ (∀ x y, (Sreal x y).im = 0) ∧
      Matrix.trace (Sreal * performance H f.value) =
        Matrix.trace (S * performance H f.value) := 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, §6 footnote 8: real optimization
Read-back

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

Let d,e>0d,e>0d,e>0 and k≥1k\ge1k≥1 be integers, HHH a probability measure on SU(d)\mathrm{SU}(d)SU(d) invariant under left and right multiplication, f:SU(d)→SU(e)f:\mathrm{SU}(d)\to\mathrm{SU}(e)f:SU(d)→SU(e) a continuous map, and ccc one of the parallel, sequential, or general classes. Put D={0,…,d−1}D=\{0,\ldots,d-1\}D={0,…,d−1}, E={0,…,e−1}E=\{0,\ldots,e-1\}E={0,…,e−1}, Q=DkQ=D^kQ=Dk, and let SSS be a complex matrix on E×Q×Q×EE\times Q\times Q\times EE×Q×Q×E. Define

F(a,i,o,b),(a′,j,v,b′)=1e2∫f(U)baf(U)b′a′‾∏t<kUotit‾ Uvtjt dH(U).F_{(a,i,o,b),(a',j,v,b')}= \frac1{e^2}\int f(U)_{ba}\overline{f(U)_{b'a'}} \prod_{t<k}\overline{U_{o_ti_t}}\,U_{v_tj_t}\,dH(U).F(a,i,o,b),(a′,j,v,b′)​=e21​∫f(U)ba​f(U)b′a′​​t<k∏​Uot​it​​​Uvt​jt​​dH(U).

For selected tensor factors MMM, let RM(S)xy=1xM=yM∑zMS(xMˉ,zM),(yMˉ,zM)/dim⁡(M)\mathcal R_M(S)_{xy}=\mathbf1_{x_M=y_M}\sum_{z_M}S_{(x_{\bar M},z_M),(y_{\bar M},z_M)}/\dim(M)RM​(S)xy​=1xM​=yM​​∑zM​​S(xMˉ​,zM​),(yMˉ​,zM​)​/dim(M). Parallel admissibility requires S⪰0S\succeq0S⪰0, RbS=R{o0,…,ok−1,b}S\mathcal R_bS=\mathcal R_{\{o_0,\ldots,o_{k-1},b\}}SRb​S=R{o0​,…,ok−1​,b}​S, R{i0,…,ik−1,o0,…,ok−1,b}S=RallS\mathcal R_{\{i_0,\ldots,i_{k-1},o_0,\ldots,o_{k-1},b\}}S=\mathcal R_{\mathrm{all}}SR{i0​,…,ik−1​,o0​,…,ok−1​,b}​S=Rall​S, and Tr⁡S=edk\operatorname{Tr}S=ed^kTrS=edk. Sequential admissibility requires positivity, the latter replacement equality and trace condition, and R{ij,oj:j>t}∪{b}S=R{ij,oj:j>t}∪{ot,b}S\mathcal R_{\{i_j,o_j:j>t\}\cup\{b\}}S=\mathcal R_{\{i_j,o_j:j>t\}\cup\{o_t,b\}}SR{ij​,oj​:j>t}∪{b}​S=R{ij​,oj​:j>t}∪{ot​,b}​S for every t<kt<kt<k. General admissibility requires positivity and the following property: whenever Ct⪰0C_t\succeq0Ct​⪰0 on D×DD\times DD×D and ∑o(Ct)(i,o),(j,o)=1i=j\sum_o(C_t)_{(i,o),(j,o)}=\mathbf1_{i=j}∑o​(Ct​)(i,o),(j,o)​=1i=j​ for each ttt, the matrix

L(a,b),(a′,b′)=∑i,j,o,v∈QS(a,i,o,b),(a′,j,v,b′)∏t<k(Ct)(it,ot),(jt,vt)L_{(a,b),(a',b')}= \sum_{i,j,o,v\in Q}S_{(a,i,o,b),(a',j,v,b')} \prod_{t<k}(C_t)_{(i_t,o_t),(j_t,v_t)}L(a,b),(a′,b′)​=i,j,o,v∈Q∑​S(a,i,o,b),(a′,j,v,b′)​t<k∏​(Ct​)(it​,ot​),(jt​,vt​)​

is positive semidefinite and satisfies ∑bL(a,b),(a′,b)=1a=a′\sum_bL_{(a,b),(a',b)}=\mathbf1_{a=a'}∑b​L(a,b),(a′,b)​=1a=a′​. If SSS is admissible in class ccc and F‾=F\overline F=FF=F entrywise, then

SR=12(S+S‾)S_{\mathbb R}=\frac12(S+\overline S)SR​=21​(S+S)

is admissible in the same class, every entry of SRS_{\mathbb R}SR​ has zero imaginary part, and the full complex traces satisfy Tr⁡(SRF)=Tr⁡(SF)\operatorname{Tr}(S_{\mathbb R}F)=\operatorname{Tr}(SF)Tr(SR​F)=Tr(SF).

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