Suvarna Garge (Editor)

Quadratic residue code

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

A quadratic residue code is a type of cyclic code.

Contents

Examples

Examples of quadratic residue codes include the ( 7 , 4 ) Hamming code over G F ( 2 ) , the ( 23 , 12 ) binary Golay code over G F ( 2 ) and the ( 11 , 6 ) ternary Golay code over G F ( 3 ) .

Constructions

There is a quadratic residue code of length p over the finite field G F ( l ) whenever p and l are primes, p is odd, and l is a quadratic residue modulo p . Its generator polynomial as a cyclic code is given by

f ( x ) = j Q ( x ζ j )

where Q is the set of quadratic residues of p in the set { 1 , 2 , , p 1 } and ζ is a primitive p th root of unity in some finite extension field of G F ( l ) . The condition that l is a quadratic residue of p ensures that the coefficients of f lie in G F ( l ) . The dimension of the code is ( p + 1 ) / 2 . Replacing ζ by another primitive p -th root of unity ζ r either results in the same code or an equivalent code, according to whether or not r is a quadratic residue of p .

An alternative construction avoids roots of unity. Define

g ( x ) = c + j Q x j

for a suitable c G F ( l ) . When l = 2 choose c to ensure that g ( 1 ) = 1 . If l is odd, choose c = ( 1 + p ) / 2 , where p = p or p according to whether p is congruent to 1 or 3 modulo 4 . Then g ( x ) also generates a quadratic residue code; more precisely the ideal of F l [ X ] / X p 1 generated by g ( x ) corresponds to the quadratic residue code.

Weight

The minimum weight of a quadratic residue code of length p is greater than p ; this is the square root bound.

Extended code

Adding an overall parity-check digit to a quadratic residue code gives an extended quadratic residue code. When p 3 (mod 4 ) an extended quadratic residue code is self-dual; otherwise it is equivalent but not equal to its dual. By the Gleason–Prange theorem (named for Andrew Gleason and Eugene Prange), the automorphism group of an extended quadratic residue code has a subgroup which is isomorphic to either P S L 2 ( p ) or S L 2 ( p ) .

References

Quadratic residue code Wikipedia