Documentation

MerLeanBpqc.Definitions.Def_11_TensorProductDoubleComplex

Definition 11: Tensor Product Double Complex #

Given two chain complexes C = (C_•, ∂^C) and D = (D_•, ∂^D) over 𝔽₂, the tensor product double complex C ⊠ D is the double complex (Def_9) defined by:

The tensor product complex is C ⊗ D = Tot(C ⊠ D) (Def_10), so that (C ⊗ D)_n = ⊕_{p+q=n} C_p ⊗ D_q with differential ∂ = ∂^C ⊗ id + id ⊗ ∂^D.

Over 𝔽₂ the usual sign (-1)^p is trivial.

When C and D are both 1-complexes (concentrated in degrees 0 and 1), the resulting CSS code obtained from the total complex is called a hypergraph product code.

Main Definitions #

Main Results #

The tensor product double complex #

The graded object underlying the tensor product double complex: (C ⊠ D)_{p,q} = C_p ⊗ D_q.

Equations
Instances For

    The horizontal differential ∂^C_p ⊗ id_{D_q} : C_p ⊗ D_q → C_{p'} ⊗ D_q. This maps in the p-direction (first index).

    Equations
    Instances For

      The vertical differential id_{C_p} ⊗ ∂^D_q : C_p ⊗ D_q → C_p ⊗ D_{q'}. This maps in the q-direction (second index).

      Equations
      Instances For

        Shape conditions #

        d² = 0 conditions #

        Commutativity: ∂^h ∘ ∂^v = ∂^v ∘ ∂^h #

        The tensor product double complex #

        The tensor product double complex C ⊠ D as a DoubleComplex𝔽₂. Objects are (C ⊠ D)_{p,q} = C_p ⊗ D_q with:

        • horizontal differential ∂^h_{p,q} = ∂^C_p ⊗ id_{D_q} (the paper's ∂^C ⊗ id_D)
        • vertical differential ∂^v_{p,q} = id_{C_p} ⊗ ∂^D_q (the paper's id_C ⊗ ∂^D)
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Accessor lemmas for the tensor double complex #

          The vertical differential of the tensor double complex is id_{C_p} ⊗ ∂^D_q.

          The horizontal differential of the tensor double complex is ∂^C_p ⊗ id_{D_q}.

          HasTotal instance for the tensor double complex #

          The tensor product complex #

          The tensor product complex C ⊗ D = Tot(C ⊠ D) (Def_10). This is a chain complex over 𝔽₂ with (C ⊗ D)_n = ⊕_{p+q=n} C_p ⊗ D_q and differential ∂ = ∂^C ⊗ id + id ⊗ ∂^D. Over 𝔽₂ the sign (-1)^p is trivial.

          Equations
          Instances For

            The inclusion of the summand C_p ⊗ D_q into (C ⊗ D)_n when p + q = n.

            Equations
            Instances For

              Hypergraph product code #

              noncomputable def ChainComplex𝔽₂.hypergraphProductCode {n₁ m₁ n₂ m₂ : ℕ} (dC : (Fin n₁ → 𝔽₂) →ₗ[𝔽₂] Fin m₁ → 𝔽₂) (dD : (Fin n₂ → 𝔽₂) →ₗ[𝔽₂] Fin m₂ → 𝔽₂) :

              A hypergraph product code is the CSS code obtained from the tensor product complex of two 1-complexes C₁ →[∂^C] C₀ and D₁ →[∂^D] D₀. The total complex of C ⊠ D has three nontrivial degrees:

              • degree 2: C₁ ⊗ D₁
              • degree 1: (C₁ ⊗ D₀) ⊕ (C₀ ⊗ D₁)
              • degree 0: C₀ ⊗ D₀

              The resulting CSS code has H_Z^T as the differential from degree 2 to degree 1 and H_X as the differential from degree 1 to degree 0 in the total complex, shifted by 1 to match the CSS code convention C₁ →[H_Z^T] C₀ →[H_X] C_{-1}.

              Equations
              Instances For