Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Mixed-state exponential stabilizer de Finetti theorem

Open
QAlgorithms.Papers.Independent.Extend50.P30.mixedExponentialDeFinetti

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

prove2quantum

Let ddd be prime and let ρ\rhoρ be a positive semidefinite trace-one state on t≥1t\geq1t≥1 blocks of nnn qudits. Assume it commutes with all R(O)R(O)R(O) for O∈Ot(d)O\in O_t(d)O∈Ot​(d). For 1≤s≤t1\leq s\leq t1≤s≤t, there is a probability distribution on mixed stabilizer states, meaning maximally mixed code states, with the approximation below. Support on the symmetric subspace is not required.

12∥ρ1…s−∑σp(σ)σ⊗s∥1≤2d(2n+2)2/2d−(t−s)/2.\frac12\left\|\rho_{1\ldots s}-\sum_\sigma p(\sigma)\sigma^{\otimes s}\right\|_1\leq2d^{(2n+2)^2/2}d^{-(t-s)/2}.21​​ρ1…s​−σ∑​p(σ)σ⊗s​1​≤2d(2n+2)2/2d−(t−s)/2.

This gives the source's mixed-state exponential stabilizer de finetti theorem in the fixed computational-basis and phase conventions.

Formalization Note Pure states carry norm one; stabilizer averages use density matrices to discard global phases. All finite tensor indices are explicitly ordered by copy, then physical qudit.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P30
Formal statement
noncomputable section

open scoped BigOperators ComplexConjugate Matrix

namespace QAlgorithms.Papers.Independent.Extend50.P30

open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)

open QAlgorithms.Papers.Independent.Gap20.P06 (ketBra)

attribute [local instance] Classical.propDecidable

/-- PDF p.58, Theorem 7.6: density commutation; mixtures are of maximally mixed code states. -/
theorem mixedExponentialDeFinetti (d n t s : ℕ) [NeZero d] [Fact (Nat.Prime d)]
    (ht : 1 ≤ t) (hs : 1 ≤ s) (hst : s ≤ t)
    (rho : Matrix (QuditCopies d n t) (QuditCopies d n t) ℂ) (hrho : QAlgorithms.IsDensityMatrix rho)
    (hinv : ∀ O : StochasticOrthogonal d t,
      rho * tensorRelation n (graphRelation O.val) = tensorRelation n (graphRelation O.val) * rho) :
    ∃ p : QuditOperator d n → ℝ, IsDistributionOn (mixedStabilizers d n) p ∧
      QAlgorithms.traceNorm (copyPrefixReduction s hst rho - stabilizerMixture s (mixedStabilizers d n) p) / 2 ≤
        2 * Real.rpow (d : ℝ) ((2 * (n : ℝ) + 2) ^ 2 / 2) *
          Real.rpow (d : ℝ) (-((t - s : ℕ) : ℝ) / 2) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P30

end
Source
Schur-Weyl Duality for the Clifford Group with Applications: Property Testing, a Robust Hudson Theorem, and de Finetti Representations, arXiv:1712.08628v3, PDF p. 58, theorem-7.6
Read-back

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

For all natural numbers d,n,t,sd,n,t,sd,n,t,s, with d≠0d\ne0d=0, ddd prime, 1≤t1\le t1≤t, 1≤s≤t1\le s\le t1≤s≤t, put R=(Z/dZ)nR=(\mathbb Z/d\mathbb Z)^nR=(Z/dZ)n. Define ω=e2πi/d\omega=e^{2\pi i/d}ω=e2πi/d, τ=(−1)deπi/d\tau=(-1)^d e^{\pi i/d}τ=(−1)deπi/d, and, for p,q,a,b∈Rp,q,a,b\in Rp,q,a,b∈R, define the matrix Wp,qW_{p,q}Wp,q​ by

(Wp,q)a,b=1{a=b+q}τ−∑jpˉjqˉjω∑jpˉjaˉj,(W_{p,q})_{a,b}=\mathbf1_{\{a=b+q\}}\tau^{-\sum_j\bar p_j\bar q_j}\omega^{\sum_j\bar p_j\bar a_j},(Wp,q​)a,b​=1{a=b+q}​τ−∑j​pˉ​j​qˉ​j​ω∑j​pˉ​j​aˉj​,

where bars denote the representatives in {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}. Let P={τhWp,q:0≤h<L, p,q∈R}\mathcal P=\{\tau^hW_{p,q}:0\le h<L,\ p,q\in R\}P={τhWp,q​:0≤h<L, p,q∈R}, with L=2dL=2dL=2d for even ddd and L=dL=dL=d otherwise. Let M\mathcal MM be the finite set of matrices SG=(tr⁡PG)−1PGS_G=(\operatorname{tr}P_G)^{-1}P_GSG​=(trPG​)−1PG​, where PG=∣G∣−1∑P∈GPP_G=|G|^{-1}\sum_{P\in G}PPG​=∣G∣−1∑P∈G​P, and G⊆PG\subseteq\mathcal PG⊆P contains the identity, is closed under multiplication and adjoints, and satisfies A=cIA=cIA=cI, A∈G⇒c=1A\in G\Rightarrow c=1A∈G⇒c=1. For u∈(Z/dZ)tu\in(\mathbb Z/d\mathbb Z)^tu∈(Z/dZ)t, write qd(u)=∑iuˉi2q_d(u)=\sum_i\bar u_i^2qd​(u)=∑i​uˉi2​ in Z/LZ\mathbb Z/L\mathbb ZZ/LZ. Consider every t×tt\times tt×t matrix OOO over Z/dZ\mathbb Z/d\mathbb ZZ/dZ satisfying qd(Ou)=qd(u)q_d(Ou)=q_d(u)qd​(Ou)=qd​(u) for every uuu and O1=1O\mathbf1=\mathbf1O1=1; its associated matrix on RtR^tRt has entries TO(a,b)=∏j=0n−11{(aij)i=O(bij)i}T_O(a,b)=\prod_{j=0}^{n-1}\mathbf1_{\{(a_{ij})_i=O(b_{ij})_i\}}TO​(a,b)=∏j=0n−1​1{(aij​)i​=O(bij​)i​}​. If ρ\rhoρ is a positive semidefinite matrix on RtR^tRt with trace 111, and ρTO=TOρ\rho T_O=T_O\rhoρTO​=TO​ρ for every such OOO, then there exists a real-valued function ppp on all complex matrices indexed by RRR, nonnegative on M\mathcal MM and satisfying ∑S∈Mp(S)=1\sum_{S\in\mathcal M}p(S)=1∑S∈M​p(S)=1, such that

12∥ρ[s]−∑S∈Mp(S)S⊗s∥1≤2d(2n+2)2/2d−(t−s)/2.\frac12\left\|\rho_{[s]}-\sum_{S\in\mathcal M}p(S)S^{\otimes s}\right\|_1 \le 2d^{(2n+2)^2/2}d^{-(t-s)/2}.21​​ρ[s]​−S∈M∑​p(S)S⊗s​1​≤2d(2n+2)2/2d−(t−s)/2.

Here (S⊗s)a,b=∏i=0s−1Sai,bi(S^{\otimes s})_{a,b}=\prod_{i=0}^{s-1}S_{a_i,b_i}(S⊗s)a,b​=∏i=0s−1​Sai​,bi​​, (ρ[s])a,b=∑z∈Rt−sρ(a,z),(b,z)(\rho_{[s]})_{a,b}=\sum_{z\in R^{t-s}}\rho_{(a,z),(b,z)}(ρ[s]​)a,b​=∑z∈Rt−s​ρ(a,z),(b,z)​, and ∥A∥1=Re⁡tr⁡A†A\|A\|_1=\operatorname{Re}\operatorname{tr}\sqrt{A^\dagger A}∥A∥1​=RetrA†A​. Values of ppp outside M\mathcal MM are unrestricted. The statement permits n=0n=0n=0 and s=ts=ts=t; all inverses in the displayed constructions use the total convention 0−1=00^{-1}=00−1=0.

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