Small permutation-transpose class counts
OpenQAlgorithms.Papers.Independent.Extend50.P30.smallDesignClassesFor prime and , the class count is at most . For , the two classes are represented by the diagonal graph and the all-ones CSS relation. For , the three classes are represented by the diagonal, the anti-identity graph (diagonal entries one and other entries two), and the row space of the explicit matrix printed on PDF p.52. These are permutation-transpose classes, not orthogonal double cosets.
This gives the source's small permutation-transpose class counts 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 pp.51--52, Remark 6.3: actual representatives and class sizes for both examples. -/
theorem smallDesignClasses :
(∀ (d t : ℕ) [NeZero d] [Fact (Nat.Prime d)], 1 ≤ t →
(designClasses d t).card ≤ commutantCount d t) ∧
Nat.card (Lagrangian 3 3) = 8 ∧ (designClasses 3 3).card = 2 ∧
(designClassOf (graphRelation (1 : Matrix (Fin 3) (Fin 3) (ZMod 3)))).card = 6 ∧
(designClassOf (cssRelation qutritDefect)).card = 2 ∧
designClasses 3 3 = {designClassOf (graphRelation (1 : Matrix (Fin 3) (Fin 3) (ZMod 3))),
designClassOf (cssRelation qutritDefect)} ∧
Nat.card (Lagrangian 3 4) = 80 ∧ (designClasses 3 4).card = 3 ∧
(designClassOf (graphRelation (1 : Matrix (Fin 4) (Fin 4) (ZMod 3)))).card = 24 ∧
(designClassOf (graphRelation qutritFourAnti)).card = 24 ∧
(designClassOf qutritFourThird).card = 32 ∧
designClasses 3 4 = {designClassOf (graphRelation (1 : Matrix (Fin 4) (Fin 4) (ZMod 3))),
designClassOf (graphRelation qutritFourAnti), designClassOf qutritFourThird} := 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 a nonzero natural number , put , for even and otherwise, and in . Let consist precisely of submodules of cardinality that contain and satisfy for every . For any submodule , define as the subset of consisting of submodules of the form , or of that form with replaced by , for coordinate permutations . Let , removing duplicates. The declaration asserts that, for every nonzero prime and every ,
with empty product at . It also asserts the following exact cardinalities and set identities. Over , let , let , put , and set . Then
For four coordinates, let have diagonal entries and off-diagonal entries , let , and let be spanned by the four pairs obtained by splitting the rows of
into their first and last four entries. Then
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.