Ternary Golay code

From HandWiki
Short description: Pair of related error-correcting codes

Perfect ternary Golay code
Named afterMarcel J. E. Golay
Classification
TypeLinear block code
Block length11
Message length6
Rate6/11 ~ 0.545
Distance5
Alphabet size3
Notation[math]\displaystyle{ [11,6,5]_3 }[/math]-code
Extended ternary Golay code
Named afterMarcel J. E. Golay
Classification
TypeLinear block code
Block length12
Message length6
Rate6/12 = 0.5
Distance6
Alphabet size3
Notation[math]\displaystyle{ [12,6,6]_3 }[/math]-code

In coding theory, the ternary Golay codes are two closely related error-correcting codes. The code generally known simply as the ternary Golay code is an [math]\displaystyle{ [11, 6, 5]_3 }[/math]-code, that is, it is a linear code over a ternary alphabet; the relative distance of the code is as large as it possibly can be for a ternary code, and hence, the ternary Golay code is a perfect code. The extended ternary Golay code is a [12, 6, 6] linear code obtained by adding a zero-sum check digit to the [11, 6, 5] code. In finite group theory, the extended ternary Golay code is sometimes referred to as the ternary Golay code.Template:Citation missing

Properties

Ternary Golay code

The ternary Golay code consists of 36 = 729 codewords. Its parity check matrix is

[math]\displaystyle{ \left[ \begin{array}{cccccc|ccccc} 2 & 2 & 2 & 1 & 1 & 0 & 1 & 0 & 0 & 0 & 0\\ 2 & 2 & 1 & 2 & 0 & 1 & 0 & 1 & 0 & 0 & 0\\ 2 & 1 & 2 & 0 & 2 & 1 & 0 & 0 & 1 & 0 & 0\\ 2 & 1 & 0 & 2 & 1 & 2 & 0 & 0 & 0 & 1 & 0\\ 2 & 0 & 1 & 1 & 2 & 2 & 0 & 0 & 0 & 0 & 1 \end{array} \right]. }[/math]

Any two different codewords differ in at least 5 positions. Every ternary word of length 11 has a Hamming distance of at most 2 from exactly one codeword. The code can also be constructed as the quadratic residue code of length 11 over the finite field F3 (i.e., the Galois Field GF(3) ).

Used in a football pool with 11 games, the ternary Golay code corresponds to 729 bets and guarantees exactly one bet with at most 2 wrong outcomes.

The set of codewords with Hamming weight 5 is a 3-(11,5,4) design.

The generator matrix given by Golay (1949, Table 1.) is

[math]\displaystyle{ \left[ \begin{array}{cccccc|ccccc} 1 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 1 & 1 & 1\\ 0 & 1 & 0 & 0 & 0 & 0 & 1 & 1 & 2 & 2 & 0\\ 0 & 0 & 1 & 0 & 0 & 0 & 1 & 2 & 1 & 0 & 2\\ 0 & 0 & 0 & 1 & 0 & 0 & 2 & 1 & 0 & 1 & 2\\ 0 & 0 & 0 & 0 & 1 & 0 & 2 & 0 & 1 & 2 & 1\\ 0 & 0 & 0 & 0 & 0 & 1 & 0 & 2 & 2 & 1 & 1\\ \end{array} \right]. }[/math]

The automorphism group of the (original) ternary Golay code is the Mathieu group M11, which is the smallest of the sporadic simple groups.

Extended ternary Golay code

The complete weight enumerator of the extended ternary Golay code is

[math]\displaystyle{ x^{12}+y^{12}+z^{12}+22\left(x^6y^6+y^6z^6+z^6x^6\right)+220\left(x^6y^3z^3+y^6z^3x^3+z^6x^3y^3\right). }[/math]

The automorphism group of the extended ternary Golay code is 2.M12, where M12 is the Mathieu group M12.

The extended ternary Golay code can be constructed as the span of the rows of a Hadamard matrix of order 12 over the field F3.

Consider all codewords of the extended code which have just six nonzero digits. The sets of positions at which these nonzero digits occur form the Steiner system S(5, 6, 12).

A generator matrix for the extended ternary Golay code is

[math]\displaystyle{ \left[ \begin{array}{ccccccccccccc} 1 & 0 & 0 & 0 & 0 & 0 &|& 0 & 1 & 1 & 1 & 1 & 1 \\ 0 & 1 & 0 & 0 & 0 & 0 &|& 1 & 0 & 1 & 2 & 2 & 1 \\ 0 & 0 & 1 & 0 & 0 & 0 &|& 1 & 1 & 0 & 1 & 2 & 2 \\ 0 & 0 & 0 & 1 & 0 & 0 &|& 1 & 2 & 1 & 0 & 1 & 2 \\ 0 & 0 & 0 & 0 & 1 & 0 &|& 1 & 2 & 2 & 1 & 0 & 1 \\ 0 & 0 & 0 & 0 & 0 & 1 &|& 1 & 1 & 2 & 2 & 1 & 0 \\ \end{array} \right] = [I_6|B]. }[/math]

The corresponding parity check matrix for this generator matrix is [math]\displaystyle{ [-B|I_6]^T }[/math], where [math]\displaystyle{ T }[/math] denotes the transpose of the matrix.

An alternative generator matrix for this code is

[math]\displaystyle{ \left[ \begin{array}{rrrrrrcrrrrrr} 1 & 0 & 0 & 0 & 0 & 0 &|& 0 & 1 & 1 & 1 & 1 & 1 \\ 0 & 1 & 0 & 0 & 0 & 0 &|& 1 & 0 & 1 & -1 & -1 & 1 \\ 0 & 0 & 1 & 0 & 0 & 0 &|& 1 & 1 & 0 & 1 & -1 & -1 \\ 0 & 0 & 0 & 1 & 0 & 0 &|& 1 & -1 & 1 & 0 & 1 & -1 \\ 0 & 0 & 0 & 0 & 1 & 0 &|& 1 & -1 & -1 & 1 & 0 & 1 \\ 0 & 0 & 0 & 0 & 0 & 1 &|& 1 & 1 & -1 & -1 & 1 & 0 \\ \end{array} \right] = [I_6|B_{alt}]. }[/math]

And its parity check matrix is [math]\displaystyle{ [-B_{alt}|I_6]^T }[/math].

The three elements of the underlying finite field are represented here by [math]\displaystyle{ \{0,1,-1\} }[/math], rather than by [math]\displaystyle{ \{0,1,2\} }[/math]. It is also understood that [math]\displaystyle{ 2=1+1=-1 }[/math] (i.e., the additive inverse of 1) and [math]\displaystyle{ -2=(-1)+(-1)=1 }[/math]. Products of these finite field elements are identical to those of the integers. Row and column sums are evaluated modulo 3.

Linear combinations, or vector addition, of the rows of the matrix produces all possible words contained in the code. This is referred to as the span of the rows. The inner product of any two rows of the generator matrix will always sum to zero. These rows, or vectors, are said to be orthogonal.

The matrix product of the generator and parity-check matrices, [math]\displaystyle{ [I_6|B_{alt}]\,[-B_{alt}|I_6]^T }[/math], is the [math]\displaystyle{ 6\times6 }[/math] matrix of all zeroes, and by intent. Indeed, this is an example of the very definition of any parity check matrix with respect to its generator matrix.

History and Applications

The ternary Golay code was published by Golay (1949). It was independently discovered two years earlier by the Finland football pool enthusiast Juhani Virtakallio, who published it in 1947 in issues 27, 28 and 33 of the football magazine Veikkaaja. (Barg 1993)

The ternary Golay code has been shown to be useful for an approach to fault-tolerant quantum computing known as magic state distillation.[1]

See also

References

  1. Prakash, Shiroman (September 2020). "Magic state distillation with the ternary Golay code". Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 476 (2241): 20200187. doi:10.1098/rspa.2020.0187. 

Further reading

  • Blake, I. F. (1973), Algebraic Coding Theory: History and Development, Stroudsburg, Pennsylvania: Dowden, Hutchinson & Ross 
  • Sphere packings, lattices and groups, Grundlehren der Mathematischen Wissenschaften, 290 (3rd ed.), New York: Springer-Verlag, 1999, doi:10.1007/978-1-4757-6568-7, ISBN 0-387-98585-9 
  • Twelve Sporadic Groups, Springer Monographs in Mathematics, Berlin: Springer-Verlag, 1998, doi:10.1007/978-3-662-03516-0, ISBN 3-540-62778-2 
  • Covering codes, North-Holland Mathematical Library, 54, Amsterdam: North-Holland, 1997, ISBN 0-444-82511-8 
  • Thompson, Thomas M. (1983), From Error Correcting Codes through Sphere Packings to Simple Groups, Carus Mathematical Monographs, 21, Washington, DC: Mathematical Association of America, ISBN 0-88385-023-0 

ja:3元ゴレイ符号