Group code
# Group code

In coding theory, group codes are a type of code. Group codes consist of $n$ linear block codes which are subgroups of $G^{n}$, where $G$ is a finite Abelian group.

A systematic group code $C$ is a code over $G^{n}$ of order $\left|G\right|^{k}$ defined by $n-k$ homomorphisms which determine the parity check bits. The remaining $k$ bits are the information bits themselves.

## Construction

Group codes can be constructed by special generator matrices which resemble generator matrices of linear block codes except that the elements of those matrices are endomorphisms of the group instead of symbols from the code's alphabet. For example, considering the generator matrix

    $G={\begin{pmatrix}{\begin{pmatrix}00\\11\end{pmatrix}}{\begin{pmatrix}01\\01\end{pmatrix}}{\begin{pmatrix}11\\01\end{pmatrix}}\\{\begin{pmatrix}00\\11\end{pmatrix}}{\begin{pmatrix}11\\11\end{pmatrix}}{\begin{pmatrix}00\\00\end{pmatrix}}\end{pmatrix}}$

the elements of this matrix are $2\times 2$ matrices which are endomorphisms. In this scenario, each codeword can be represented as $g_{1}^{m_{1}}g_{2}^{m_{2}}...g_{r}^{m_{r}}$ where $g_{1},...g_{r}$ are the generators of $G$.

