[Jump to code hierarchy]

Binary quadratic-residue (QR) code

Description

Member of a quadruple of cyclic binary codes of prime length \(n=8m\pm 1\) for \(m\geq 1\) constructed using quadratic residues and nonresidues of \(n\) [1; Def. 3.2.8].

The roots of the generator polynomial \(r(x)\) of the first code (see Cyclic-to-polynomial correspondence) are all of the inequivalent quadratic residues of \(n\), and the second code’s generator polynomial is \((x-1)r(x)\). The roots of the generator polynomial \(a(x)\) of the third code are all inequivalent nonresidues of \(n\), and the fourth code’s generator polynomial is \((x-1)a(x)\). The codes corresponding to polynomials \(r,a\) are often called augmented quadratic-residue codes, while the remaining codes are called expurgated.

The extended versions of odd-like binary quadratic-residue codes have automorphism groups containing \(PSL_2(p)\) by the Gleason-Prange theorem [1; Thm. 3.2.11]; the extensions of the \([7,4,3]\) Hamming and \([23,12,7]\) Golay codes are exceptional examples with larger automorphism groups [1; Rem. 3.2.12].

Protection

For odd-like quadratic-residue codes of prime length, the common minimum distance \(d\) satisfies \(d^2 \geq n\); if \(-1\) is a quadratic non-residue, then \(d^2-d+1 \geq n\) [2; Thm. 2.7.4].

Decoding

Algebraic decoder [3].

Notes

Introduction of quadratic-residue codes in Refs. [4,5][2; Sec. 2.7].

Cousins

Primary Hierarchy

Parents
QR codes are duadic codes of prime length satisfying certain relations [12].
Binary quadratic-residue (QR) code
Children
The Golay code is a binary quadratic residue code with generator polynomial \(r(x)\) over \(\mathbb{F}_2\) with length \(n=23\) [1; Ex. 3.2.10] ([4], Ch. 16).
The \([7,4,3]\) Hamming code is a quadratic-residue code with generator polynomial \(1+x+x^3\) [4].

References

[1]
P. R. J. Östergård, “Construction and Classification of Codes.” Concise Encyclopedia of Coding Theory (Chapman and Hall/CRC, 2021) DOI
[2]
C. Ding, “Cyclic Codes over Finite Fields.” Concise Encyclopedia of Coding Theory (Chapman and Hall/CRC, 2021) DOI
[3]
Y. H. Chen, T. K. Truong, Y. Chang, C. D. Lee, and S. H. Chen (2007). “Algebraic decoding of quadratic residue codes using Berlekamp-Massey algorithm”. Journal of information science and engineering, 23(1), 127-145.
[4]
F. J. MacWilliams and N. J. A. Sloane. The theory of error correcting codes. Elsevier, 1977.
[5]
W. C. Huffman and V. Pless, Fundamentals of Error-Correcting Codes (Cambridge University Press, 2003) DOI
[6]
J. H. Conway and N. J. A. Sloane, Sphere Packings, Lattices and Groups (Springer New York, 1999) DOI
[7]
S. Bouyuklieva, “Self-dual codes.” Concise Encyclopedia of Coding Theory (Chapman and Hall/CRC, 2021) DOI
[8]
J. Conway and N. Sloane, “Lexicographic codes: Error-correcting codes from game theory”, IEEE Transactions on Information Theory 32, 337 (1986) DOI
[9]
G. J. M. Beenker, “On double circulant codes.” (1980).
[10]
N. Sloane and D. Whitehead, “New family of single-error correcting codes”, IEEE Transactions on Information Theory 16, 717 (1970) DOI
[11]
Y. Xie, J. Yuan, and Y. Fujiwara, “Quantum Synchronizable Codes From Quadratic Residue Codes and Their Supercodes”, (2014) arXiv:1403.6192
[12]
V. Pless, “Duadic Codes and Generalizations”, Eurocode ’92 3 (1993) DOI
Page edit log

Your contribution is welcome!

on github.com (edit & pull request)— see instructions

edit on this site

Zoo Code ID: binary_quad_residue

Cite as:
“Binary quadratic-residue (QR) code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2022. https://errorcorrectionzoo.org/c/binary_quad_residue
BibTeX:
@incollection{eczoo_binary_quad_residue, title={Binary quadratic-residue (QR) code}, booktitle={The Error Correction Zoo}, year={2022}, editor={Albert, Victor V. and Faist, Philippe}, url={https://errorcorrectionzoo.org/c/binary_quad_residue} }
Share via:
Twitter | Mastodon |  | E-mail
Permanent link:
https://errorcorrectionzoo.org/c/binary_quad_residue

Cite as:

“Binary quadratic-residue (QR) code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2022. https://errorcorrectionzoo.org/c/binary_quad_residue

Github: https://github.com/errorcorrectionzoo/eczoo_data/edit/main/codes/classical/bits/cyclic/quad_residue/binary_quad_residue.yml.