Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Stabilizer tensor symmetries

Open
QAlgorithms.Papers.Independent.Extend50.P30.stabilizerTensorInvariance

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

prove2quantum

Let ddd be prime, t≥1t\geq1t≥1, and let ∣S⟩|S\rangle∣S⟩ be any normalized pure stabilizer on nnn qudits. Every stochastic Lagrangian relation has expectation one on ∣S⟩⊗t|S\rangle^{\otimes t}∣S⟩⊗t. Every unitary graph operator from Ot(d)O_t(d)Ot​(d) fixes that vector. The vector assertion is restricted to graph operators.

⟨S⊗t∣R(T)∣S⊗t⟩=1,R(O)∣S⟩⊗t=∣S⟩⊗t.\langle S^{\otimes t}|R(T)|S^{\otimes t}\rangle=1,\qquad R(O)|S\rangle^{\otimes t}=|S\rangle^{\otimes t}.⟨S⊗t∣R(T)∣S⊗t⟩=1,R(O)∣S⟩⊗t=∣S⟩⊗t.

This gives the source's stabilizer tensor symmetries 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 pp.34--35, (4.10),(4.13): expectation for every relation; vector invariance only for graphs. -/
theorem stabilizerTensorInvariance (d n t : ℕ) [NeZero d] [Fact (Nat.Prime d)]
    (ht : 1 ≤ t) (v : EuclideanSpace ℂ (ResidueRegister d n)) (hv : IsStabilizer v) :
    (∀ T : Lagrangian d t,
      inner ℂ (QAlgorithms.tensorPow t v) (QAlgorithms.act (tensorRelation n T.val) (QAlgorithms.tensorPow t v)) = 1) ∧
    (∀ O : StochasticOrthogonal d t,
      QAlgorithms.act (tensorRelation n (graphRelation O.val)) (QAlgorithms.tensorPow t v) = QAlgorithms.tensorPow t v) := 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. 34, stabilizer-tensor-invariance
Read-back

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

For natural numbers d,n,td,n,td,n,t, assume d≠0d\ne0d=0, ddd is prime, and t≥1t\ge1t≥1. Put Vn=(Z/dZ)nV_n=(\mathbb Z/d\mathbb Z)^nVn​=(Z/dZ)n, ωd=e2πi/d\omega_d=e^{2\pi i/d}ωd​=e2πi/d, τd=(−1)deπi/d\tau_d=(-1)^de^{\pi i/d}τd​=(−1)deπi/d, and hd=2dh_d=2dhd​=2d for even ddd, hd=dh_d=dhd​=d otherwise. Define W(p,q)(a,b)=τd−∑j[pj][qj]ωd∑j[pj][aj]W_{(p,q)}(a,b)=\tau_d^{-\sum_j[p_j][q_j]}\omega_d^{\sum_j[p_j][a_j]}W(p,q)​(a,b)=τd−∑j​[pj​][qj​]​ωd∑j​[pj​][aj​]​ when a=b+qa=b+qa=b+q, and 000 otherwise, using standard integer representatives, and let P={τdaWx:0≤a<hd, x∈Vn×Vn}\mathcal P=\{\tau_d^aW_x:0\le a<h_d,\ x\in V_n\times V_n\}P={τda​Wx​:0≤a<hd​, x∈Vn​×Vn​}. From each subset G⊆PG\subseteq\mathcal PG⊆P containing III, closed under multiplication and adjoints, and satisfying A=cI⇒c=1A=cI\Rightarrow c=1A=cI⇒c=1 for A∈GA\in GA∈G, form HG=∣G∣−1∑A∈GAH_G=|G|^{-1}\sum_{A\in G}AHG​=∣G∣−1∑A∈G​A; let S\mathcal SS be the collection of matrices HG/tr⁡HGH_G/\operatorname{tr}H_GHG​/trHG​ that equal ww†ww^\daggerww† for some unit vector www, with scalar inverses interpreted totally. Let v∈CVnv\in\mathbb C^{V_n}v∈CVn​ satisfy ∥v∥=1\|v\|=1∥v∥=1 and vv†∈Svv^\dagger\in\mathcal Svv†∈S. On Vt=(Z/dZ)tV_t=(\mathbb Z/d\mathbb Z)^tVt​=(Z/dZ)t, define qd(x)=∑i[xi]2∈Z/hdZq_d(x)=\sum_i[x_i]^2\in\mathbb Z/h_d\mathbb Zqd​(x)=∑i​[xi​]2∈Z/hd​Z. For every linear subspace T⊆Vt×VtT\subseteq V_t\times V_tT⊆Vt​×Vt​ with ∣T∣=dt|T|=d^t∣T∣=dt, (1,1)∈T(\mathbf1,\mathbf1)\in T(1,1)∈T, and qd(x)=qd(y)q_d(x)=q_d(y)qd​(x)=qd​(y) for all (x,y)∈T(x,y)\in T(x,y)∈T, define

Rn(T)(u,w)=∏j=0n−11T((ui,j)i,(wi,j)i),v⊗t(u)=∏i=0t−1v(ui).R_n(T)(u,w)=\prod_{j=0}^{n-1}\mathbf1_T\bigl((u_{i,j})_i,(w_{i,j})_i\bigr), \qquad v^{\otimes t}(u)=\prod_{i=0}^{t-1}v(u_i).Rn​(T)(u,w)=j=0∏n−1​1T​((ui,j​)i​,(wi,j​)i​),v⊗t(u)=i=0∏t−1​v(ui​).

Then the complex inner product ⟨v⊗t,Rn(T)v⊗t⟩\langle v^{\otimes t},R_n(T)v^{\otimes t}\rangle⟨v⊗t,Rn​(T)v⊗t⟩ equals 111 for every such TTT. In addition, for every matrix OOO over Z/dZ\mathbb Z/d\mathbb ZZ/dZ satisfying qd(Ox)=qd(x)q_d(Ox)=q_d(x)qd​(Ox)=qd​(x) for all xxx and O1=1O\mathbf1=\mathbf1O1=1, its graph ΓO={(x,y):x=Oy}\Gamma_O=\{(x,y):x=Oy\}ΓO​={(x,y):x=Oy} satisfies

Rn(ΓO)v⊗t=v⊗t.R_n(\Gamma_O)v^{\otimes t}=v^{\otimes t}.Rn​(ΓO​)v⊗t=v⊗t.

The statement includes n=0n=0n=0, and imposes no relation between nnn and ttt.

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