Documentation

MerLeanBpqc.Definitions.Def_26_BalancedProductTannerCycleCode

Definition 26: Balanced Product Tanner Cycle Code #

The balanced product Tanner cycle code is C(X,L) ⊗_{ℤ_ℓ} C(C_ℓ) (Def_23), a quantum CSS code whose total complex has three terms corresponding to physical qubits (C_1), Z-checks (∂_2^Tot), and X-checks (∂_1^Tot).

Equations
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Direct chain complex constructions #

      The Tanner code chain complex has trivial (PUnit) module at degrees outside {0, 1}.

      H-actions #

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Cycle graph chain complex (direct construction) #

            theorem BalancedProductTannerCycleCode.cycleComplex_X_subsingleton ( : ) [NeZero ] {p : } (hp0 : p 0) (hp1 : p 1) :

            The cycle graph chain complex has trivial (PUnit) module at degrees outside {0, 1}.

            H-action on Cycle Graph #

            The H-action on Fin is compatible with the cycle graph boundary: h • pred(i) = pred(h • i) where pred(i) = ⟨(i + ℓ - 1) % ℓ, _⟩.

            Equations
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  The Balanced Product Tanner Cycle Code #

                  def BalancedProductTannerCycleCode.balancedProductTannerCycleCode {H : Type} [Group H] [Fintype H] [DecidableEq H] (X : GraphWithGroupAction H) {s : } (Λ : X.CellLabeling s) ( : ) [NeZero ] [MulAction H (Fin )] (hℓ_ge : 3) (hℓ_odd : % 2 = 1) ( : GraphWithGroupAction.IsInvariantLabeling Λ) (hcompat : CycleCompatibleAction ) :

                  The balanced product Tanner cycle code C(X,L) ⊗_{ℤ_ℓ} C(C_ℓ), a quantum CSS code. Requires ℓ ≥ 3 odd, an H-invariant labeling, and a compatible H-action on the cycle graph. The total complex has three terms: C₂ → C₁ → C₀ where physical qubits correspond to C₁, Z-checks are given by ∂₂ : C₂ → C₁, and X-checks are given by ∂₁ : C₁ → C₀.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    Abbreviations for the H-equivariant complexes #

                    Tensor product identifications #

                    The balanced product double complex C(X,L) ⊠_{ℤ_ℓ} C(C_ℓ) has entries at (p,q) where p ∈ {0,1} (Tanner complex degrees) and q ∈ {0,1} (cycle complex degrees). The total complex Tot has three non-trivial degrees:

                    def BalancedProductTannerCycleCode.ιC1_tanner_component {H : Type} [Group H] [Fintype H] [DecidableEq H] (X : GraphWithGroupAction H) {s : } (Λ : X.CellLabeling s) ( : ) [NeZero ] [MulAction H (Fin )] (hℓ_ge : 3) (hℓ_odd : % 2 = 1) ( : GraphWithGroupAction.IsInvariantLabeling Λ) (hcompat : CycleCompatibleAction ) :

                    The inclusion C₁(X,L) ⊗_{ℤ_ℓ} C₀(C_ℓ) ↪ C₁ into the total complex at degree 1.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      def BalancedProductTannerCycleCode.ιC1_cycle_component {H : Type} [Group H] [Fintype H] [DecidableEq H] (X : GraphWithGroupAction H) {s : } (Λ : X.CellLabeling s) ( : ) [NeZero ] [MulAction H (Fin )] (hℓ_ge : 3) (hℓ_odd : % 2 = 1) ( : GraphWithGroupAction.IsInvariantLabeling Λ) (hcompat : CycleCompatibleAction ) :

                      The inclusion C₀(X,L) ⊗_{ℤ_ℓ} C₁(C_ℓ) ↪ C₁ into the total complex at degree 1.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        def BalancedProductTannerCycleCode.ιC2_component {H : Type} [Group H] [Fintype H] [DecidableEq H] (X : GraphWithGroupAction H) {s : } (Λ : X.CellLabeling s) ( : ) [NeZero ] [MulAction H (Fin )] (hℓ_ge : 3) (hℓ_odd : % 2 = 1) ( : GraphWithGroupAction.IsInvariantLabeling Λ) (hcompat : CycleCompatibleAction ) :

                        The inclusion C₁(X,L) ⊗_{ℤ_ℓ} C₁(C_ℓ) ↪ C₂ into the total complex at degree 2.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          def BalancedProductTannerCycleCode.ιC0_component {H : Type} [Group H] [Fintype H] [DecidableEq H] (X : GraphWithGroupAction H) {s : } (Λ : X.CellLabeling s) ( : ) [NeZero ] [MulAction H (Fin )] (hℓ_ge : 3) (hℓ_odd : % 2 = 1) ( : GraphWithGroupAction.IsInvariantLabeling Λ) (hcompat : CycleCompatibleAction ) :

                          The inclusion C₀(X,L) ⊗_{ℤ_ℓ} C₀(C_ℓ) ↪ C₀ into the total complex at degree 0.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            CSS code structure #

                            A chain complex C₂ →[∂₂] C₁ →[∂₁] C₀ with ∂₁ ∘ ∂₂ = 0 determines a CSS code:

                            def BalancedProductTannerCycleCode.zCheckMap {H : Type} [Group H] [Fintype H] [DecidableEq H] (X : GraphWithGroupAction H) {s : } (Λ : X.CellLabeling s) ( : ) [NeZero ] [MulAction H (Fin )] (hℓ_ge : 3) (hℓ_odd : % 2 = 1) ( : GraphWithGroupAction.IsInvariantLabeling Λ) (hcompat : CycleCompatibleAction ) :
                            (balancedProductTannerCycleCode X Λ hℓ_ge hℓ_odd hcompat).X 2 (balancedProductTannerCycleCode X Λ hℓ_ge hℓ_odd hcompat).X 1

                            The Z-check map ∂₂ : C₂ → C₁ of the balanced product Tanner cycle code.

                            Equations
                            Instances For
                              def BalancedProductTannerCycleCode.xCheckMap {H : Type} [Group H] [Fintype H] [DecidableEq H] (X : GraphWithGroupAction H) {s : } (Λ : X.CellLabeling s) ( : ) [NeZero ] [MulAction H (Fin )] (hℓ_ge : 3) (hℓ_odd : % 2 = 1) ( : GraphWithGroupAction.IsInvariantLabeling Λ) (hcompat : CycleCompatibleAction ) :
                              (balancedProductTannerCycleCode X Λ hℓ_ge hℓ_odd hcompat).X 1 (balancedProductTannerCycleCode X Λ hℓ_ge hℓ_odd hcompat).X 0

                              The X-check map ∂₁ : C₁ → C₀ of the balanced product Tanner cycle code.

                              Equations
                              Instances For
                                theorem BalancedProductTannerCycleCode.css_condition {H : Type} [Group H] [Fintype H] [DecidableEq H] (X : GraphWithGroupAction H) {s : } (Λ : X.CellLabeling s) ( : ) [NeZero ] [MulAction H (Fin )] (hℓ_ge : 3) (hℓ_odd : % 2 = 1) ( : GraphWithGroupAction.IsInvariantLabeling Λ) (hcompat : CycleCompatibleAction ) :
                                CategoryTheory.CategoryStruct.comp (zCheckMap X Λ hℓ_ge hℓ_odd hcompat) (xCheckMap X Λ hℓ_ge hℓ_odd hcompat) = 0

                                The CSS condition: the composition of the X-check map and Z-check map is zero, i.e., ∂₁ ∘ ∂₂ = 0. This is the fundamental property that makes the code a valid quantum CSS code.

                                The balanced product Tanner cycle code has ℓ ≥ 3.

                                theorem BalancedProductTannerCycleCode.balancedProductTannerCycleCode_ℓ_odd ( : ) [NeZero ] (hℓ_odd : % 2 = 1) :
                                % 2 = 1

                                The balanced product Tanner cycle code has odd.