Perfect ternary Golay code | |
Block Length: | 11 |
Message Length: | 6 |
Rate: | 6/11 ~ 0.545 |
Distance: | 5 |
Alphabet Size: | 3 |
Notation: | [11,6,5]3 |
Extended ternary Golay code | |
Block Length: | 12 |
Message Length: | 6 |
Rate: | 6/12 = 0.5 |
Distance: | 6 |
Alphabet Size: | 3 |
Notation: | [12,6,6]3 |
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
[11,6,5]3
The ternary Golay code consists of 36 = 729 codewords. Its parity check matrix is
\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].
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
\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].
The automorphism group of the (original) ternary Golay code is the Mathieu group M11, which is the smallest of the sporadic simple groups.
The complete weight enumerator of the extended ternary Golay code is
x12+y12+z12+22\left(x6y6+y6z6+z6x6\right)+220\left(x6y3z3+y6z3x3+z6x3y3\right).
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
\left[\begin{array}{cccccc|cccccc}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]=[I6|B].
The corresponding parity check matrix for this generator matrix is
T | |
[-B|I | |
6] |
T
An alternative generator matrix for this code is
\left[\begin{array}{rrrrrr|rrrrrr}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]=[I6|Balt].
And its parity check matrix is
[-Balt
T | |
|I | |
6] |
The three elements of the underlying finite field are represented here by
\{0,1,-1\}
\{0,1,2\}
2=1+1=-1
-2=(-1)+(-1)=1
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,
[I6|Balt][-Balt
T | |
|I | |
6] |
6 x 6
The ternary Golay code was published by . It was independently discovered two years earlier by the Finnish football pool enthusiast Juhani Virtakallio, who published it in 1947 in issues 27, 28 and 33 of the football magazine Veikkaaja.
The ternary Golay code has been shown to be useful for an approach to fault-tolerant quantum computing known as magic state distillation.[1]