Coding Theory¶
Coding theory is the mathematical theory for algebraic and combinatorial codes used for forward error correction in communications theory. Sage provides an extensive library of objects and algorithms in coding theory.
Basic objects in coding theory are codes, channels, encoders, and decoders. The following modules provide the base classes defining them.
Catalogs for available constructions of the basic objects and for bounds on the parameters of linear codes are provided.
Linear Codes¶
The following module is a base class for linear code objects regardless their metric.
There is a number of representatives of linear codes over a specific metric.
Families of Linear Codes¶
Famous families of codes, listed below, are represented in Sage by their own classes. For some of them, implementations of special decoding algorithms or computations for structural invariants are available.
In contrast, for some code families Sage can only construct their generator matrix and has no other a priori knowledge on them:
Derived Code Constructions¶
Sage supports the following derived code constructions. If the constituent code is from a special code family, the derived codes inherit structural properties like decoding radius or minimum distance:
Other derived constructions that simply produce the modified generator matrix can be found among the methods of a constructed code.
Decoding¶
Information-set decoding for linear codes:
Guruswami-Sudan interpolation-based list decoding for Reed-Solomon codes:
Automorphism Groups of Linear Codes¶
Bounds for Parameters of Linear Codes¶
Databases for Coding Theory¶
Miscellaneous Modules¶
There is at least one module in Sage for source coding in communications theory:
Indices and Tables¶
Bibliography
Andries E. Brouwer, Arjeh M. Cohen, and Arnold Neumaier. Distance-Regular Graphs, Springer, 1989.
A. Brouwer and W. Haemers, Spectra of graphs, Springer, 2012, https://homepages.cwi.nl/~aeb/math/ipm/ipm.pdf https://doi.org/10.1007/978-1-4614-1939-6
Bazzi and Mitter, {it Some constructions of codes from group actions}, (preprint March 2003, available on Mitter’s MIT website).
I. Bouyukliev and J. Simonis, Some new results on optimal codes over \(F_5\), Designs, Codes and Cryptography 30, no. 1 (2003): 97-111, https://www.moi.math.bas.bg/moiuser/~iliya/pdf_site/gf5srev.pdf.
E. Byrne and A. Sneyd, On the Parameters of Codes with Two Homogeneous Weights. WCC 2011-Workshop on coding and cryptography, pp. 81-90. 2011. https://hal.inria.fr/inria-00607341/document
Eric Chen, Online database of two-weight codes, http://moodle.tec.hkr.se/~chen/research/2-weight-codes/search.php
Alain Couvreur, Codes and the Cartier operator, Proceedings of the American Mathematical Society 142.6 (2014): 1983-1996.
P. Delsarte, An algebraic approach to the association schemes of coding theory, Philips Res. Rep., Suppl., vol. 10, 1973.
L. Dissett, Combinatorial and computational aspects of finite geometries, 2000, https://tspace.library.utoronto.ca/bitstream/1807/14575/1/NQ49844.pdf
I. Duursma, From weight enumerators to zeta functions, in Discrete Applied Mathematics, vol. 111, no. 1-2, pp. 55-73, 2001.
I. Duursma, Combinatorics of the two-variable zeta function, Finite fields and applications, 109-136, Lecture Notes in Comput. Sci., 2948, Springer, Berlin, 2004.
T. Feulner. The Automorphism Groups of Linear Codes and Canonical Representatives of Their Semilinear Isometry Classes. Advances in Mathematics of Communications 3 (4), pp. 363-383, Nov 2009
Shuhong Gao, A new algorithm for decoding Reed-Solomon Codes, January 31, 2002
V. D. Goppa, “Codes on algebraic curves,” Sov. Math. Dokl., vol. 24, no. 1, pp. 170-172, 1981.
Venkatesan Guruswami and Madhu Sudan, Improved Decoding of Reed-Solomon Codes and Algebraic-Geometric Codes, 1999
GUAVA manual, https://www.gap-system.org/Packages/guava.html
Tom Hoeholdt and Joern Justesen, A Course In Error-Correcting Codes, EMS, 2004
W. C. Huffman, V. Pless, Fundamentals of Error-Correcting Codes, Cambridge Univ. Press, 2003.
D. Joyner, Toric codes over finite fields, Applicable Algebra in Engineering, Communication and Computing, 15, (2004), p. 63-79.
T. Kasami: Weight Distributions of Bose-Chaudhuri-Hocquenghem Codes. Coordinated Science Laboratory, University of Illinois at Urbana-Champaign. 1966 http://hdl.handle.net/2142/74459
T. Kasami: Weight Distribution Formula for Some Class of Cyclic Codes. Coordinated Science Laboratory, University of Illinois at Urbana-Champaign. 1966
T. Kasami: The weight enumerators for several classes of subcodes of the second order binary Reed-Muller codes. Information and Control, 18, pp. 369-394, 1971.
A. Kohnert, Constructing two-weight codes with prescribed groups of automorphisms, Discrete applied mathematics 155, no. 11 (2007): 1451-1457. https://web.archive.org/web/20170826072136/http://linearcodes.uni-bayreuth.de/twoweight/
Lee, P.J., Brickell, E.F. An observation on the security of McEliece’s public-key cryptosystem. EuroCrypt 1988. LNCS, vol. 330, pp. 275-280.
Kwankyu Lee, Maria Bras-Amorós, and Michael E. O’Sullivan, Unique decoding of general AG codes, IEEE Transactions on Information Theory, vol 60, no. 4 (2014), pp. 2038–2053.
Kwankyu Lee, Decoding of differential AG codes, Advances in Mathematics of Communications, vol. 10, no. 2 (2016), pp. 307–319.
J. van Lint, Introduction to coding theory, 3rd ed., Springer-Verlag GTM, 86, 1999.
R. J. McEliece, E. R. Rodemich, H. Rumsey, Jr., L. R. Welch, New Upper Bounds on the Rate of a Code via the Delsarte-MacWilliams Inequalities, IEEE Transactions on Information Theory 23 (1977), no. 2, 157–166. https://doi.org/10.1109/TIT.1977.1055688
G. Musiker and C. Stump, A compendium on the cluster algebra and quiver package in sage, https://arxiv.org/abs/1102.4844.
Johan S. R. Nielsen, Codinglib, https://bitbucket.org/jsrn/codinglib/.
Johan S. R. Nielsen, List Decoding of Algebraic Codes, Ph.D. Thesis, Technical University of Denmark, 2013
Christiane Peters, Information-set decoding for linear codes over \(GF(q)\), Proc. of PQCrypto 2010, pp. 81-94.
Ron Roth, Introduction to Coding Theory, Cambridge University Press, 2006
Dominic Welsh, Codes and Cryptography. Oxford Sciences Publications, 1988