Dimension of the Clifford commutant
OpenQAlgorithms.Papers.Independent.Extend50.P30.commutantDimensionLet be prime, , and . The complex dimension of the operators commuting with every -fold Clifford tensor power is given by the following product, interpreted as one when .
This gives the source's dimension of the clifford commutant 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.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P30
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.32, Theorem 4.9: complex dimension of the concrete commutant. -/
theorem commutantDimension (d n t : ℕ) [NeZero d] [Fact (Nat.Prime d)]
(ht : 1 ≤ t) (hn : t - 1 ≤ n) :
Module.finrank ℂ (cliffordCommutant d n t) = commutantCount d t := by sorry
end QAlgorithms.Papers.Independent.Extend50.P30
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For natural numbers , assume , is prime, , and . Put , , and , and define
using standard integer representatives. Let , where for even and otherwise. Consider the complex vector space of matrices , indexed by , such that for every unitary matrix with , where . Its complex dimension is
For , this product equals ; the assumptions also include when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.