Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

SDP (145): maximum SE root fidelity

Open
QAlgorithms.Papers.Independent.Extend50.P47.sdp_se

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

prove2quantum

Every register has a fixed finite nonempty computational basis. States are positive semidefinite trace-one matrices, and pure vectors have norm one. Write F(ρ,σ)=∥ρσ∥12F(\rho,\sigma)=\|\sqrt\rho\sqrt\sigma\|_1^2F(ρ,σ)=∥ρ​σ​∥12​ for squared fidelity. Here GGG is a finite group and UUU denotes its specified unitary representation. Raw Bose averages Π=∣G∣−1∑gU(g)\Pi=|G|^{-1}\sum_gU(g)Π=∣G∣−1∑g​U(g) use an ordinary representation; conjugation symmetry permits a projective representation. The set SymG\mathrm{Sym}_GSymG​ consists of invariant densities; B ⁣-SymG\mathrm{B\!\text{-}Sym}_GB-SymG​ consists of densities supported by Π\PiΠ. The sets SymExtG\mathrm{SymExt}_GSymExtG​ and BSEG\mathrm{BSE}_GBSEG​ are their normalized-extension marginal analogues, tracing out precisely the stated reference register.

The attained maximum of sqrt(F(ρ,τ)) over SymExtG equals the attained maximum Re Tr X subject to [[ρ,X†],[X,τ]] PSD, trace-one PSD ω, and τ=TrRω, ∀g,ω=U(g)ωU(g)†. The optimal acceptance probability is the square of this optimum.

max⁡σ∈SymExtGF(ρ,σ)=max⁡X,ωRSRe⁡Tr⁡X,(ρX†XTr⁡RωRS)⪰0,ωRS⪰0,Tr⁡ωRS=1,ωRS=U(g)ωRSU(g)† (∀g).\max_{\sigma\in\mathrm{SymExt}_G}\sqrt{F(\rho,\sigma)}=\max_{X,\omega_{RS}}\operatorname{Re}\operatorname{Tr}X,\quad\begin{pmatrix}\rho&X^\dagger\\X&\operatorname{Tr}_R\omega_{RS}\end{pmatrix}\succeq0,\quad\omega_{RS}\succeq0,\quad\operatorname{Tr}\omega_{RS}=1,\quad\omega_{RS}=U(g)\omega_{RS}U(g)^\dagger\ (\forall g).σ∈SymExtG​max​F(ρ,σ)​=X,ωRS​max​ReTrX,(ρX​X†TrR​ωRS​​)⪰0,ωRS​⪰0,TrωRS​=1,ωRS​=U(g)ωRS​U(g)† (∀g).

The formula gives the exact characterization or operational specialization described in the cited result. Here XXX acts on SSS; an extension variable acts on RSRSRS, and only its SSS marginal is placed in the lower-right block. The objective is root fidelity, rather than a probability.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P47
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P47

open scoped ComplexConjugate ComplexOrder Matrix Matrix.Norms.L2Operator Manifold ContDiff

open MeasureTheory

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

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

variable {G S R P T A B C D R2 S2 : Type*}

variable [Fintype G] [Group G] [DecidableEq G]

variable [Fintype S] [DecidableEq S] [Nonempty S]

variable [Fintype R] [DecidableEq R] [Nonempty R]

variable [Fintype P] [DecidableEq P] [Nonempty P]

variable [Fintype T] [DecidableEq T] [Nonempty T]

variable [Fintype A] [DecidableEq A] [Nonempty A]

variable [Fintype B] [DecidableEq B] [Nonempty B]

variable [Fintype C] [DecidableEq C] [Nonempty C]

variable [Fintype D] [DecidableEq D] [Nonempty D]

variable [Fintype R2] [DecidableEq R2] [Nonempty R2]

variable [Fintype S2] [DecidableEq S2] [Nonempty S2]

/-- PDF p.18, (145): equality of attained root-fidelity and invariant-extension
SDP maxima; the marginal occupies only the lower-right block. -/
theorem sdp_se [Nonempty S] [Nonempty R] (U : G → Matrix.unitaryGroup (R × S) ℂ) (hU : IsProjectiveUnitaryLift U)
    (rho : Mat S) (hrho : IsDensityMatrix rho) :
    ∃ v, IsGreatest (rootValues rho (SE (fun g => (U g : Mat (R × S))))) v ∧
      IsGreatest (extensionSDP rho (Sym (fun g => (U g : Mat (R × S))))) v := by sorry

end QAlgorithms.Papers.Independent.Extend50.P47

end
Source
Testing symmetry on quantum computers, arXiv:2105.12758v3, PDF p. 18, SDP (145): maximum SE root fidelity
Read-back

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

Let GGG be a finite group, R,SR,SR,S nonempty finite index types with the required decidable equalities, and UgU_gUg​ unitary matrices on CR×S\mathbb C^{R\times S}CR×S such that for each g,hg,hg,h there exists a complex zzz of modulus one with Ugh=zUgUhU_{gh}=zU_gU_hUgh​=zUg​Uh​. Let ρ⪰0\rho\succeq0ρ⪰0 on SSS have trace one. There exists a real vvv that is an attained maximum of both

{F(ρ,σ):σ⪰0, tr⁡σ=1, ∃ω⪰0, tr⁡ω=1, ω=UgωUg† ∀g, Tr⁡Rω=σ}\{F(\rho,\sigma):\sigma\succeq0,\ \operatorname{tr}\sigma=1,\ \exists\omega\succeq0,\ \operatorname{tr}\omega=1,\ \omega=U_g\omega U_g^\dagger\ \forall g,\ \operatorname{Tr}_R\omega=\sigma\}{F(ρ,σ):σ⪰0, trσ=1, ∃ω⪰0, trω=1, ω=Ug​ωUg†​ ∀g, TrR​ω=σ}

and

{Re⁡tr⁡X:ω⪰0, tr⁡ω=1, ω=UgωUg† ∀g, (ρX†XTr⁡Rω)⪰0}.\left\{\operatorname{Re}\operatorname{tr}X: \omega\succeq0,\ \operatorname{tr}\omega=1,\ \omega=U_g\omega U_g^\dagger\ \forall g,\ \begin{pmatrix}\rho&X^\dagger\\X&\operatorname{Tr}_R\omega\end{pmatrix}\succeq0\right\}.{RetrX:ω⪰0, trω=1, ω=Ug​ωUg†​ ∀g, (ρX​X†TrR​ω​)⪰0}.

Here X,σX,\sigmaX,σ are complex matrices on SSS, ω\omegaω is a complex matrix on R×SR\times SR×S, (Tr⁡Rω)st=∑rω(r,s),(r,t)(\operatorname{Tr}_R\omega)_{st}=\sum_r\omega_{(r,s),(r,t)}(TrR​ω)st​=∑r​ω(r,s),(r,t)​, and F(B,C)=Re⁡tr⁡B CBF(B,C)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt B\,C\sqrt B}F(B,C)=RetrB​CB​​.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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