Unnumbered finite-group bit-/phase-flip codes, Eqs.(60)–(64)
OpenQAlgorithms.Papers.Independent.Extend50.P22.group_bit_phaseLet be any finite group with orthonormal basis . The normalized three-site encodings are
The bit code exactly corrects the span of single-site left shifts; the phase code exactly corrects the span of single-site diagonal errors. Both obey the source’s left and right logical covariance rules: bit-code multipliers act on all sites, while phase-code left and right multipliers act on the first and last site respectively. Right multipliers are parametrized by inverses to respect group composition. Exact correction is expressed by the Knill–Laflamme criterion for these specified families.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P22
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
namespace QAlgorithms.Papers.Independent.Extend50.P22
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Information100.P22 (bell)
open QAlgorithms.Papers.Independent.Support21.P09 (Irreducible)
open QAlgorithms.Papers.Independent.Renew46.P45 (symmetricWeight)
/-- PDF pp.17–18, (60)–(64): the named shift/diagonal families, plus the explicit
left and right transversal logical actions. Right action is parametrized by inverses. -/
theorem group_bit_phase (G : Type*) [Group G] [Fintype G] :
(bitEncoding G)ᴴ * bitEncoding G = 1 ∧
(groupPhaseEncoding G)ᴴ * groupPhaseEncoding G = 1 ∧
CorrectsOperators (bitEncoding G) (fun e : Fin 3 × G => shiftError e.1 e.2) ∧
CorrectsOperators (groupPhaseEncoding G) (fun e : Fin 3 × (G → ℂ) => diagonalError e.1 e.2) ∧
(∀ g : G,
basisMapMatrix (fun y : Fin 3 → G => fun i => g * y i) * bitEncoding G =
bitEncoding G * basisMapMatrix (fun h => g * h)) ∧
(∀ g : G, shiftError 0 g * groupPhaseEncoding G =
groupPhaseEncoding G * basisMapMatrix (fun h => g * h)) ∧
(∀ g : G,
basisMapMatrix (fun y : Fin 3 → G => fun i => y i * g⁻¹) * bitEncoding G =
bitEncoding G * basisMapMatrix (fun h => h * g⁻¹)) ∧
(∀ g : G,
basisMapMatrix (fun y : Fin 3 → G => Function.update y 2 (y 2 * g⁻¹)) * groupPhaseEncoding G =
groupPhaseEncoding G * basisMapMatrix (fun h => h * g⁻¹)) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P22
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every finite group , including the trivial group, let have entries
Then and . Define to have entry in row , column , precisely when and all other coordinates agree, and define to be diagonal with entry at . For every and , there exists such that
and, for every and arbitrary functions , there exists such that
Moreover, writing , all four identities
hold for every . Products retain their displayed order, and commutativity is not assumed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.