Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Physical third-tensor qutrit decomposition

Open
QAlgorithms.Papers.Independent.Extend50.P30.qutritThirdTensorDecomposition

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

prove2quantum

For n≥2n\geq2n≥2, let N=span⁡F3{13}N=\operatorname{span}_{\mathbb F_3}\{\mathbf1_3\}N=spanF3​​{13​} and P=PCSS(N)⊗nP=P_{\rm CSS(N)}^{\otimes n}P=PCSS(N)⊗n​. Define P+=ΠsymPΠsymP_+=\Pi_{\rm sym}P\Pi_{\rm sym}P+​=Πsym​PΠsym​ and P−=ΠaltPΠaltP_-=\Pi_{\rm alt}P\Pi_{\rm alt}P−​=Πalt​PΠalt​. The ranges of P+P_+P+​, Πsym−P+\Pi_{\rm sym}-P_+Πsym​−P+​, P−P_-P−​, Πalt−P−\Pi_{\rm alt}-P_-Πalt​−P−​, and (I+R((12)))/2−Πsym(I+R((12)))/2-\Pi_{\rm sym}(I+R((12)))/2−Πsym​ are five pairwise inequivalent irreducible physical Clifford modules. The first four occur once, with trivial or sign S3S_3S3​ action; the last occurs with the standard two-dimensional S3S_3S3​ action. An actual linear intertwiner identifies their direct sum with the three-block Hilbert space. All five defining operators are orthogonal projections.

R(TN)=3nP,rank⁡P=3n,dim⁡W±=3n±12,Hn⊗3≅W+⊕W+⊥⊕W−⊕W−⊥⊕(V(2,1)⊗C2).R(T_N)=3^nP,\quad\operatorname{rank}P=3^n,\quad\dim W_\pm=\frac{3^n\pm1}{2},\quad\mathcal H_n^{\otimes3}\cong W_+\oplus W_+^\perp\oplus W_-\oplus W_-^\perp\oplus(V_{(2,1)}\otimes\mathbb C^2).R(TN​)=3nP,rankP=3n,dimW±​=23n±1​,Hn⊗3​≅W+​⊕W+⊥​⊕W−​⊕W−⊥​⊕(V(2,1)​⊗C2).

This gives the source's physical third-tensor qutrit decomposition 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.42--43, Example 4.26: the complete physical Cliff(n,3) x S3 decomposition.
The last slice is the Schur (2,1) module; its standard S3 factor has dimension two.
The alternating compression, rather than the erroneous printed plus expansion, defines W_minus. -/
theorem qutritThirdTensorDecomposition (n : ℕ) (hn : 2 ≤ n) :
    Matrix.rank (qutritCSSProjector n) = 3 ^ n ∧
    tensorRelation n (cssRelation qutritDefect) = (3 : ℂ) ^ n • qutritCSSProjector n ∧
    Matrix.rank (qutritPieceProjector n 0) = (3 ^ n + 1) / 2 ∧
    Matrix.rank (qutritPieceProjector n 2) = (3 ^ n - 1) / 2 ∧
    (∀ i : Fin 5, (qutritPieceProjector n i).IsHermitian ∧
      qutritPieceProjector n i * qutritPieceProjector n i = qutritPieceProjector n i ∧
      IsCliffordIrreducible (qutritPiece n i)) ∧
    (∀ i j : Fin 5, i ≠ j → ¬ CliffordModulesEquivalent (qutritPiece n i) (qutritPiece n j)) ∧
    ∃ e : QutritDecomposition n ≃ₗ[ℂ] (QuditCopies 3 n 3 → ℂ),
      (∀ U : QuditOperator 3 n, IsClifford U → ∀ v w : QutritDecomposition n,
        (∀ i, (w i).val = (tensorPower 3 U).mulVec (v i).val) →
          e w = (tensorPower 3 U).mulVec (e v)) ∧
      (∀ p : Equiv.Perm (Fin 3), ∀ v w : QutritDecomposition n,
        (∀ i, (w i).val = if i.val < 2 then (v i).val else if i.val < 4 then
          (if Equiv.Perm.sign p = 1 then (1 : ℂ) else -1) • (v i).val else
          ∑ j : Fin 2, standardS3 p ⟨i.val - 4, by omega⟩ j •
            (v ⟨4 + j.val, by omega⟩).val) →
          e w = (permutationOperator 3 n 3 p).mulVec (e 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. 42, example-4.26-decomposition
Read-back

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

For every natural number n≥2n\ge2n≥2, let R=(Z/3Z)nR=(\mathbb Z/3\mathbb Z)^nR=(Z/3Z)n, H=R3H=R^3H=R3, and Πp(x,y)=1{xi=yp−1(i) ∀i}\Pi_p(x,y)=\mathbf1_{\{x_i=y_{p^{-1}(i)}\ \forall i\}}Πp​(x,y)=1{xi​=yp−1(i)​ ∀i}​ for permutations ppp of three positions. Put S=16∑pΠpS=\frac16\sum_p\Pi_pS=61​∑p​Πp​, A=16∑psgn⁡(p)ΠpA=\frac16\sum_p\operatorname{sgn}(p)\Pi_pA=61​∑p​sgn(p)Πp​, and, with ω=e2πi/3\omega=e^{2\pi i/3}ω=e2πi/3 and bars denoting representatives in {0,1,2}\{0,1,2\}{0,1,2}, define

C(u,v)=19∑a,b∈Z/3Z1{u=v+b(1,1,1)}ωaˉ(uˉ0+uˉ1+uˉ2),P(x,y)=∏j=0n−1C((x0j,x1j,x2j),(y0j,y1j,y2j)).C(u,v)=\frac19\sum_{a,b\in\mathbb Z/3\mathbb Z} \mathbf1_{\{u=v+b(1,1,1)\}}\omega^{\bar a(\bar u_0+\bar u_1+\bar u_2)},\qquad P(x,y)=\prod_{j=0}^{n-1}C((x_{0j},x_{1j},x_{2j}),(y_{0j},y_{1j},y_{2j})).C(u,v)=91​a,b∈Z/3Z∑​1{u=v+b(1,1,1)}​ωaˉ(uˉ0​+uˉ1​+uˉ2​),P(x,y)=j=0∏n−1​C((x0j​,x1j​,x2j​),(y0j​,y1j​,y2j​)).

Let P0=SPSP_0=SPSP0​=SPS, P1=S−SPSP_1=S-SPSP1​=S−SPS, P2=APAP_2=APAP2​=APA, P3=A−APAP_3=A-APAP3​=A−APA, P4=12(I+Π(01))−SP_4=\frac12(I+\Pi_{(01)})-SP4​=21​(I+Π(01)​)−S, and Vi={Piv:v∈CH}V_i=\{P_i v:v\in\mathbb C^H\}Vi​={Pi​v:v∈CH}. Let N={a(1,1,1):a∈Z/3Z}N=\{a(1,1,1):a\in\mathbb Z/3\mathbb Z\}N={a(1,1,1):a∈Z/3Z} and

T={(u,v):∑ℓ=02uℓ=0, ∑ℓ=02vℓ=0, u−v∈N}⊆(Z/3Z)3×(Z/3Z)3,RT(x,y)=∏j=0n−11{((x0j,x1j,x2j),(y0j,y1j,y2j))∈T}.T=\{(u,v):\textstyle\sum_{\ell=0}^2u_\ell=0,\ \sum_{\ell=0}^2v_\ell=0,\ u-v\in N\} \subseteq(\mathbb Z/3\mathbb Z)^3\times(\mathbb Z/3\mathbb Z)^3, \qquad R_T(x,y)=\prod_{j=0}^{n-1} \mathbf1_{\{((x_{0j},x_{1j},x_{2j}),(y_{0j},y_{1j},y_{2j}))\in T\}}.T={(u,v):∑ℓ=02​uℓ​=0, ∑ℓ=02​vℓ​=0, u−v∈N}⊆(Z/3Z)3×(Z/3Z)3,RT​(x,y)=∏j=0n−1​1{((x0j​,x1j​,x2j​),(y0j​,y1j​,y2j​))∈T}​.

The theorem asserts rank⁡P=3n\operatorname{rank}P=3^nrankP=3n, RT=3nPR_T=3^nPRT​=3nP, rank⁡P0=(3n+1)/2\operatorname{rank}P_0=(3^n+1)/2rankP0​=(3n+1)/2, and rank⁡P2=(3n−1)/2\operatorname{rank}P_2=(3^n-1)/2rankP2​=(3n−1)/2, with the rank formulas using natural-number division. It further asserts that every PiP_iPi​ is Hermitian and satisfies Pi2=PiP_i^2=P_iPi2​=Pi​, and that every ViV_iVi​ is nonzero, invariant under all U⊗3U^{\otimes3}U⊗3 specified below, and has no invariant complex linear subspaces other than {0}\{0\}{0} and itself. For distinct i,j∈{0,…,4}i,j\in\{0,\ldots,4\}i,j∈{0,…,4}, there is no complex linear map on CH\mathbb C^HCH whose restriction is a bijection Vi→VjV_i\to V_jVi​→Vj​ and intertwines every such U⊗3U^{\otimes3}U⊗3 on ViV_iVi​. Here the permitted matrices UUU are all unitary matrices on CR\mathbb C^RCR preserving by conjugation the finite set

P={τcWa,b:c=0,1,2, a,b∈R},τ=−eπi/3,Wa,b(u,v)=1{u=v+b} τ−∑jaˉjbˉjω∑jaˉjuˉj;\mathcal P=\{\tau^cW_{a,b}:c=0,1,2,\ a,b\in R\}, \quad \tau=-e^{\pi i/3},\qquad W_{a,b}(u,v)=\mathbf1_{\{u=v+b\}}\, \tau^{-\sum_j\bar a_j\bar b_j}\omega^{\sum_j\bar a_j\bar u_j};P={τcWa,b​:c=0,1,2, a,b∈R},τ=−eπi/3,Wa,b​(u,v)=1{u=v+b}​τ−∑j​aˉj​bˉj​ω∑j​aˉj​uˉj​;

preservation means {UQU†:Q∈P}=P\{UQU^\dagger:Q\in\mathcal P\}=\mathcal P{UQU†:Q∈P}=P, and U⊗3(x,y)=∏ℓ=02U(xℓ,yℓ)U^{\otimes3}(x,y)=\prod_{\ell=0}^2U(x_\ell,y_\ell)U⊗3(x,y)=∏ℓ=02​U(xℓ​,yℓ​). Finally, there exists a complex linear bijection

e:V0×V1×V2×V3×V4×V4⟶CHe:V_0\times V_1\times V_2\times V_3\times V_4\times V_4 \longrightarrow\mathbb C^He:V0​×V1​×V2​×V3​×V4​×V4​⟶CH

with both of the following properties. For every permitted UUU and every two tuples v,wv,wv,w in its domain, if wi=U⊗3viw_i=U^{\otimes3}v_iwi​=U⊗3vi​ for all six indices, then e(w)=U⊗3e(v)e(w)=U^{\otimes3}e(v)e(w)=U⊗3e(v). For every permutation ppp of three positions and every such v,wv,wv,w, if

wi={vi,i=0,1,sgn⁡(p)vi,i=2,3,∑j=01(Bp)i−4,jv4+j,i=4,5,(Bp)ab={1,p−1(a)=b,−1,p−1(a)=2,0,otherwise,w_i= \begin{cases} v_i,&i=0,1,\\ \operatorname{sgn}(p)v_i,&i=2,3,\\ \displaystyle\sum_{j=0}^1(B_p)_{i-4,j}v_{4+j},&i=4,5, \end{cases} \qquad (B_p)_{ab}= \begin{cases} 1,&p^{-1}(a)=b,\\ -1,&p^{-1}(a)=2,\\ 0,&\text{otherwise}, \end{cases}wi​=⎩⎨⎧​vi​,sgn(p)vi​,j=0∑1​(Bp​)i−4,j​v4+j​,​i=0,1,i=2,3,i=4,5,​(Bp​)ab​=⎩⎨⎧​1,−1,0,​p−1(a)=b,p−1(a)=2,otherwise,​

for a,b∈{0,1}a,b\in\{0,1\}a,b∈{0,1}, then e(w)=Πpe(v)e(w)=\Pi_p e(v)e(w)=Πp​e(v). All component equalities here concern the underlying vectors in CH\mathbb C^HCH; the asserted bijection eee is complex linear, with no isometry condition imposed.

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