A cyclic code is a linear code for which, for every codeword
in
,
the codeword
is also in
.
The binary quadratic residue code of prime length is a classical family of cyclic codes defined
using the nonzero quadratic residues modulo
(MacWilliams and Sloane 1977).