Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.1: maximum G-Bose symmetric fidelity

Open
QAlgorithms.Papers.Independent.Extend50.P47.bose_fidelity

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.

For nonzero ΠU, Algorithm 1 accepts with probability Tr(ΠUρ), which equals an attained maximum of F(ρ,σ) over density matrices satisfying σ=ΠUσΠU. In the excluded case, ΠU=0 gives acceptance 0 and no Bose-symmetric states, so the printed maximum does not exist in that case.

pacc=Tr⁡(Πρ)=max⁡σ∈B ⁣-SymGF(ρ,σ)(Π≠0).p_{\rm acc}=\operatorname{Tr}(\Pi\rho)=\max_{\sigma\in\mathrm{B\!\text{-}Sym}_G}F(\rho,\sigma)\quad(\Pi\ne0).pacc​=Tr(Πρ)=σ∈B-SymG​max​F(ρ,σ)(Π=0).

The formula gives the exact characterization or operational specialization described in the cited result.

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.7, Theorem 3.1. Source correction: a Bose maximum requires a nonzero
projector; the zero-projector case has zero acceptance and no comparison density. -/
theorem bose_fidelity [Nonempty S] (U : G →* Matrix.unitaryGroup S ℂ)
    (rho : Mat S) (hrho : IsDensityMatrix rho) :
    controlReturnProbability (symmetryControlAverage (fun g => (U g : Mat S))) rho =
      effectProb (symmetryControlAverage (fun g => (U g : Mat S))) rho ∧
    (symmetryControlAverage (fun g => (U g : Mat S)) ≠ 0 →
      IsGreatest (symmetryFidelityValues rho (Bose (symmetryControlAverage (fun g => (U g : Mat S)))))
        (effectProb (symmetryControlAverage (fun g => (U g : Mat S))) rho)) ∧
    (symmetryControlAverage (fun g => (U g : Mat S)) = 0 →
      controlReturnProbability (symmetryControlAverage (fun g => (U g : Mat S))) rho = 0 ∧
      ¬ ∃ sigma, Bose (symmetryControlAverage (fun g => (U g : Mat S))) sigma) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P47

end
Source
Testing symmetry on quantum computers, arXiv:2105.12758v3, PDF p. 7, Theorem 3.1: maximum G-Bose symmetric fidelity
Read-back

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

Let GGG be a finite group, let SSS be a nonempty finite index set with decidable equality, let U:G→U(CS)U:G\to \mathrm U(\mathbb C^S)U:G→U(CS) be a group homomorphism, and let ρ\rhoρ be a positive semidefinite complex matrix indexed by SSS with trace 111. Put Q=∣G∣−1∑g∈GUgQ=|G|^{-1}\sum_{g\in G}U_gQ=∣G∣−1∑g∈G​Ug​. Then

Re⁡tr⁡(Q†Qρ)=Re⁡tr⁡(Qρ).\operatorname{Re}\operatorname{tr}(Q^\dagger Q\rho) =\operatorname{Re}\operatorname{tr}(Q\rho).Retr(Q†Qρ)=Retr(Qρ).

If Q≠0Q\ne0Q=0, the number Re⁡tr⁡(Qρ)\operatorname{Re}\operatorname{tr}(Q\rho)Retr(Qρ) is the greatest element of

{[Re⁡tr⁡ρ σρ]2:σ⪰0, tr⁡σ=1, σ=QσQ};\left\{ \left[\operatorname{Re}\operatorname{tr} \sqrt{\sqrt{\rho}\,\sigma\sqrt{\rho}}\right]^2: \sigma\succeq0,\ \operatorname{tr}\sigma=1,\ \sigma=Q\sigma Q \right\};{[Retrρ​σρ​​]2:σ⪰0, trσ=1, σ=QσQ};

in particular, this value is attained by some such σ\sigmaσ and bounds every such value from above. Here the matrix square roots are defined by continuous functional calculus. If Q=0Q=0Q=0, then Re⁡tr⁡(Q†Qρ)=0\operatorname{Re}\operatorname{tr}(Q^\dagger Q\rho)=0Retr(Q†Qρ)=0, and there is no positive semidefinite trace-one matrix σ\sigmaσ satisfying σ=QσQ\sigma=Q\sigma Qσ=QσQ.

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