The lifted product: HGP over a group algebra, and its degeneration to HGP #
Definitions from the literature (with the source given in each case):
Panteleev–Kalachev, Asymptotically Good Quantum and Locally Testable Classical LDPC Codes, STOC 2022 (arXiv:2111.03654v2), Appendix B, Eq. (13) (PDF page 48): given a finite group $G$ ($|G| = \ell$) and two seed matrices over the group algebra $R = \mathbb{F}_2[G]$, namely $A \in R^{m_A \times n_A}$ and $B \in R^{m_B \times n_B}$, replace each element $r \in R$ by its regular-representation $\ell \times \ell$ matrix and then take the block tensor of the HGP: $$H_X = \bigl[\,\widehat A \otimes I_{m_B} \;\bigm|\; I_{m_A} \otimes \widehat B\,\bigr],\qquad H_Z = \bigl[\,I_{n_A} \otimes \widehat B^{\top} \;\bigm|\; \widehat A^{\top} \otimes I_{n_B}\,\bigr].$$ This is the lifted product $\mathrm{LP}(A, B)$; when $m_A = n_A = m_B = n_B = 1$ it degenerates to a two-block group algebra code (2BGA), in the words of Lin–Pryadko, Quantum two-block group algebra codes, PRA 109, 022407 (2024), p. 6 ("2BGA codes are a degenerate case of LP codes with both matrices of dimension 1 x 1").
The two regular representations of a group-algebra element $a = \sum_g a_g\, g$ (Lin–Pryadko, ibid., p. 5, Eq. (36)): $$[L(a)]_{\sigma,\tau} = \sum_g a_g\,\delta_{g\tau,\sigma} = a(\sigma\tau^{-1}),\qquad [R(b)]_{\sigma,\tau} = \sum_g b_g\,\delta_{\tau g,\sigma} = b(\tau^{-1}\sigma).$$ $L(a)$ is the matrix of "left multiplication $x \mapsto a\,x$" and $R(b)$ the matrix of "right multiplication $x \mapsto x\,b$"; this module writes them
leftMulMat aandrightMulMat b.
What this module contributes #
leftMulMat_mul_rightMulMat: the two regular representations commute entrywise ($L(a)R(b) = R(b)L(a)$). This is the whole content of the CSS compatibility of LP: thehgp_orthogonalof HGP uses the transposed pairing of two Kronecker factors, whereas LP uses "the two regular representations commute". The proof is two permutation reindexings ($\rho \mapsto \tau^{-1}\rho$ and $\rho \mapsto \rho^{-1}\sigma$) plus one commutativity of multiplication.lp_orthogonal: $H_X H_Z^{\top} = 0$ for general seeds (a structure theorem, holding for arbitrary $A, B$, with no enumeration). It lifts the entrywise argument ofhgp_orthogonalto the level of "every block is a pair of group-algebra elements".- 2BGA (1 x 1 seeds):
lp2HX/lp2HZandlp2_orthogonal, that is, theLP[a, b]of the literature. - The relation to HGP (the four lemmas
lpExpandR_liftConstand friends, pluslp_trivialGroup_eq_hgp): for a seed of constant group-algebra elements (that is, coming from $\mathbb{F}_2 \subset \mathbb{F}_2[G]$, writtenliftConst Mhere) one has $\widehat A = A \otimes I_\ell$, so the check matrices of LP are block diagonal in the group index and every block is exactly $\mathrm{HGP}(A, B^{\top})$: $$H^{\mathrm{LP}}_X\bigl((i,s),\gamma\bigr)\bigl((j,t),\gamma\bigr) = \bigl[\mathrm{HGP}(A,B^{\top})\bigr]_{(i,s)(j,t)}.$$ Taking $\ell = 1$ (Subsingleton G) giveslp_trivialGroup_eq_hgp: on the trivial group LP is HGP entrywise. This agrees with the literature (Panteleev–Kalachev, p. 8: "for $R = \mathbb{F}_q$ the lifted product is equivalent to the product construction", and the group algebra at $\ell = 1$ is $\mathbb{F}_q$ itself).
A note on conventions (the mirror relation with the literature) #
The $H_X$ here gives the left multiplication matrix to the first seed and the right multiplication matrix to the second (consistent with Eq. (36) of the 2BGA paper, and the anchor instances reproduce the tables of the literature accordingly); the $\widehat A / \widehat B$ of Panteleev–Kalachev give the right regular representation to the first seed. The two conventions are mirror images of each other: the $\mathrm{LP}(A,B)$ here and the $\mathrm{LP}(B,A)$ of PK differ only by the exchange of the two qubit blocks (a permutation), so the code parameters agree.
Index conventions #
Rows and columns are both product types with a group index (not flattened to Fin), which is
what makes the structure theorem require no relabelling:
- rows of $H_X$:
(Fin m_A x Fin m_B) x G; rows of $H_Z$:(Fin n_A x Fin n_B) x G - the columns of both are
((Fin n_A x Fin m_B) x G) (+) ((Fin m_A x Fin n_B) x G).
Flattening to Fin for an instance is left to Matrix.reindex.
1. The two regular representations of a group-algebra element #
The two regular representations commute entrywise: L(a) * R(b) = R(b) * L(a).
This is the whole content of the CSS compatibility of LP (lp_orthogonal calls nothing else).
Entrywise, both sides equal $\sum_\mu a(\sigma\mu^{-1}\tau^{-1})\,b(\mu)$: the left-hand side is
reindexed by $\rho \mapsto \tau^{-1}\rho$ and the right-hand side by $\rho \mapsto \rho^{-1}\sigma$,
and the two then differ by one commutativity of multiplication.
2. The lifted product with general seeds #
The right regular block expansion of a seed matrix: the (i,j)-th group-algebra element of
A is replaced by its left-multiplication matrix
(that is, the $\ell \times \ell$ block of A in the right regular representation).
Equations
- QECCertificates.lpExpandR A x y = A x.1 y.1 (x.2 * y.2⁻¹)
Instances For
The left regular block expansion of a seed matrix: the (s,t)-th group-algebra element of
B
is replaced by its right-multiplication matrix.
Equations
- QECCertificates.lpExpandL B x y = B x.1 y.1 (y.2⁻¹ * x.2)
Instances For
The X-type checks of the lifted product $H_X = [\widehat A \otimes I_{m_B} \mid I_{m_A} \otimes \widehat B]$.
Row ((i,s),σ); the left half column ((j,s'),τ) takes $\widehat A\,(i,\sigma)(j,\tau)\cdot[s=s']$
and the right half column ((i',t'),τ) takes $[i=i']\cdot \widehat B\,(s,\sigma)(t',\tau)$.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The Z-type checks of the lifted product $H_Z = [I_{n_A} \otimes \widehat B^{\top} \mid \widehat A^{\top} \otimes I_{n_B}]$.
Row ((j,t),σ); the left half column ((j',s'),τ) takes $[j=j']\cdot \widehat B\,(s',\tau)(t,\sigma)$
(that is, $\widehat B$ after the block transpose) and the right half column ((i',t'),τ) takes
$\widehat A\,(i',\tau)(j,\sigma)\cdot[t=t']$.
Equations
- One or more equations did not get rendered due to their size.
Instances For
3. The structure theorem: CSS compatibility of the lifted product #
CSS compatibility of the lifted product: $H_X H_Z^{\top} = 0$, for any seeds $A, B$.
Entrywise, the left and the right block each collapse to a single sum (Finset.sum_eq_single
removes
the Kronecker $\delta$ factor), and the two summands are $(L(A_{ij})\cdot R(B_{st}))(\sigma,\sigma')$
and $(R(B_{st})\cdot L(A_{ij}))(\sigma,\sigma')$, which are equal by leftMulMat_mul_rightMulMat
and
therefore add to zero over $\mathbb{F}_2$. No enumeration is involved.
4. 2BGA: the lifted product of 1 x 1 seeds (the LP[a, b] of the literature) #
The X-type checks of 2BGA $H_X = [L(a) \mid R(b)]$ (Lin–Pryadko Eq. (16)).
Equations
- QECCertificates.lp2HX a b σ c = Sum.elim (fun (τ : G) => QECCertificates.leftMulMat a σ τ) (fun (τ : G) => QECCertificates.rightMulMat b σ τ) c
Instances For
The Z-type checks of 2BGA $H_Z = [R(b)^{\top} \mid L(a)^{\top}]$ (Lin–Pryadko Eq. (16): $H_Z^{\top} = \binom{B}{-A}$, and the minus sign disappears over $\mathbb{F}_2$).
Equations
- QECCertificates.lp2HZ a b σ c = Sum.elim (fun (τ : G) => QECCertificates.rightMulMat b τ σ) (fun (τ : G) => QECCertificates.leftMulMat a τ σ) c
Instances For
5. Reusable lemmas on lengths and dimensions #
The number of X-type check rows of LP: $m_A m_B \ell$.
The number of Z-type check rows of LP: $n_A n_B \ell$.
The code length of 2BGA: $n = 2\ell$ (the direct sum of two $\ell$ blocks).
6. Relation to HGP: constant seeds make every group fibre an HGP #
Lifting a matrix over $\mathbb{F}_2$ to a matrix of constant group-algebra elements (that is, the image of $\mathbb{F}_2 \subset \mathbb{F}_2[G]$: supported on the identity alone).
Instances For
With a constant seed the right regular block expansion degenerates to $A \otimes I_\ell$: $\widehat A\,(i,\sigma)(j,\tau) = A_{ij}\cdot[\sigma = \tau]$.
With constant seeds the X-type checks of LP are block diagonal in the group index, and every block is an HGP (left block).
On the trivial group ($\ell = 1$) LP is HGP entrywise ($X$ side).
At $\ell = 1$ the group index has a single element (Subsingleton G), so $\delta_{\sigma\tau}$ is
constantly $1$ and the factor in lpHX_liftConst_inl disappears. This is the statement of the
literature that "for $R = \mathbb{F}_q$ the lifted product is equivalent to the product
construction" (Panteleev–Kalachev, p. 8).
On the trivial group ($\ell = 1$) LP is HGP entrywise ($Z$ side).