- Quadratic residue code
A quadratic residue code is a type of
cyclic code .There is a quadratic residue code of length over the finite field whenever and are primes, is odd and is a
quadratic residue modulo .Its generator polynomial as a cyclic code is given by:where is the set of quadratic residues of in the set and is a primitive th root ofunity in some finite extension field of .The condition that is a quadratic residueof ensures that the coefficients of lie in . The dimension of the code isReplacing by another primitive -throot of unity either results in the same codeor an equivalent code, according to whether or not is a quadratic residue of .
An alternative construction avoids roots of unity. Define:for a suitable . When choose to ensure that while if is odd where or according to whether is congruent to or modulo . Then also generatesa quadratic residue code; more precisely the ideal of generated by corresponds to the quadratic residue code.
The minimum weight of a quadratic residue code of length is greater than ; this is the square root bound.
Adding an overall parity-check digit to a quadratic residue codegives an extended quadratic residue code. When (mod ) an extended quadratic residue code is self-dual; otherwise it is equivalent but notequal to its dual. By a theorem ofGleason and Prange, the automorphism group of an extended quadratic residue code has a subgroup which is isomorphic toeither or .
Examples of quadraticresidue codes include the
Hamming code over , thebinary Golay code over and theternary Golay code over .References
F. J. MacWilliams and N. J. A. Sloane,"The Theory of Error-Correcting Codes",North-Holland Publishing Co., Amsterdam-New York-Oxford, 1977.
Wikimedia Foundation. 2010.