Fact 1: three Clifford cosets, each of order 64
ProvedQAlgorithms.Papers.Independent.Gap48.P12.clifford_three_cosetsLet and , with exact phase-inclusive matrices. For a matrix , write . Then
Each set is finite and the three sets are pairwise disjoint. The plus signs printed in Fact 1 mean this partition into left cosets. This partition supplies the three choices of left prefix in the rewrite rule.
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P12
noncomputable section
namespace QAlgorithms.Papers.Independent.Gap48.P12
local notation "Mat" => Matrix Bool Bool ℂ
local notation "Vec" => EuclideanSpace ℂ Bool
local notation "wordMatrix" => fun (B : CircuitBasis) (w : CircuitWord) =>
QAlgorithms.Papers.Independent.Next46.P21.wordMatrix (chronologicalInstructions B w)
/-- PDF p.7, Fact 1 and its following sentence: a disjoint union of
three left cosets, each with exactly 64 distinct exact matrices. -/
theorem clifford_three_cosets :
cliffordSet .hp = ctSet ∪ leftCoset hadamard ∪ leftCoset (phaseS * hadamard) ∧
Disjoint ctSet (leftCoset hadamard) ∧
Disjoint ctSet (leftCoset (phaseS * hadamard)) ∧
Disjoint (leftCoset hadamard) (leftCoset (phaseS * hadamard)) ∧
ctSet.Finite ∧ ctSet.ncard = 64 ∧
(leftCoset hadamard).Finite ∧ (leftCoset hadamard).ncard = 64 ∧
(leftCoset (phaseS * hadamard)).Finite ∧
(leftCoset (phaseS * hadamard)).ncard = 64 := by sorry
end QAlgorithms.Papers.Independent.Gap48.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be the complex matrices, with rows and columns ordered as , and put , , and . For a finite word in the letters , let be the product of its gate matrices in written order, with . Define to be the set of matrices for words containing no , and define , where denotes conjugate transpose. Then , where ; the three displayed sets are pairwise disjoint; and each of , , and is finite and has exactly elements.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.