ArticleslgStudy

science

Ternary Golay code

Ternary Golay code is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Ternary Golay code rather than just read about it. In short: 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-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.

Key takeaways

  • Ternary Golay code belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Ternary Golay code to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Ternary Golay code from memory before moving on to harder problems.

Reference excerpt

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-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.

Properties

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

[2221101000022120101000212021001002102120001020112200001]. 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

[100000111110100001122000100012102000100210120000102012100000102211]. 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

x12+y12+z12+22(x6y6+y6z6+z6x6)+220(x6y3z3+y6z3x3+z6x3y3). 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

[100000011111010000101221001000110122000100121012000010122101000001112210]=[I6|B]. The corresponding parity check matrix for this generator matrix is [−B|I6]T, where T denotes the transpose of the matrix. An alternative generator matrix for this code is

[100000011111010000101−1−110010001101−1−10001001−1101−10000101−1−110100000111−1−110]=[I6|Balt]. And its parity check matrix is [−Balt|I6]T. The three elements of the underlying finite field are represented here by {0,1,−1}, rather than by {0,1,2}. It is also understood that 2=1+1=−1 (i.e., the additive inverse of 1) and −2=(−1)+(−1)=1. 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, [I6|Balt][−Balt|I6]T, is the 6×6 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 Finnish football pool enthusiast Juhani Virtakallio, who published it in 1947 in issues 27, 28 and 33 of the football magazine Veikkaaja. (Barg 1993, p.25) The ternary Golay code has been shown to be useful for an approach to fault-tolerant quantum computing known as magic state distillation.

See also Berlekamp–van Lint–Seidel graph Binary Golay code

References

Barg, Alexander (1993), "At the dawn of the theory of codes", The Mathematical Intelligencer, 15 (1): 20–26, doi:10.1007/BF03025254, MR 1199273 Golay, M. J. E. (June 1949), "Notes on digital coding" (PDF), Proceedings of the IRE, 37: 657, MR 4021352, archived from the original (PDF) on 19 April 2015

Further reading Blake, I. F. (1973), Algebraic Coding Theory: History and Development, Stroudsburg, Pennsylvania: Dowden, Hutchinson & Ross Conway, J. H.; Sloane, N. J. A. (1999), Sphere packings, lattices and groups, Grundlehren der Mathematischen Wissenschaften, vol. 290 (3rd ed.), New York: Springer-Verlag, doi:10.1007/978-1-4757-6568-7, ISBN 0-387-98585-9, MR 1662447 Griess, Robert L. Jr. (1998), Twelve Sporadic Groups, Springer Monographs in Mathematics, Berlin: Springer-Verlag, doi:10.1007/978-3-662-03516-0, ISBN 3-540-62778-2, MR 1707296 Cohen, Gérard; Honkala, Iiro; Litsyn, Simon; Lobstein, Antoine (1997), Covering codes, North-Holland Mathematical Library, vol. 54, Amsterdam: North-Holland, ISBN 0-444-82511-8, MR 1453577 Thompson, Thomas M. (1983), From Error Correcting Codes through Sphere Packings to Simple Groups, Carus Mathematical Monographs, vol. 21, Washington, DC: Mathematical Association of America, ISBN 0-88385-023-0, MR 0749038

Worked examples

Example 1 — a first encounter with Ternary Golay code

Start with the simplest possible case. Write down what Ternary Golay code claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Ternary Golay code before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Ternary Golay code ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Ternary Golay code

In research
Ternary Golay code appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Ternary Golay code in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Ternary Golay code is common in secondary-school and first-year university syllabi. It links to neighbouring topics Coding theory, Finite fields, so understanding it makes those chapters shorter.
In everyday life
Look for Ternary Golay code outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Ternary Golay code” →

How to study Ternary Golay code in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Ternary Golay code means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Ternary Golay code out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Ternary Golay code in simple terms?

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-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 t…

Why does Ternary Golay code matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Ternary Golay code?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Ternary Golay code.

Tags

  • Coding theory
  • Finite fields

Keep exploring