The Metric Structure of Linear Codes

  • Diego Ruano


The bilinear form with associated identity matrix is used in coding theory to define the dual code of a linear code, also it endows linear codes with a metric space structure. This metric structure was studied for generalized toric codes and a characteristic decomposition was obtained, which led to several applications as the construction of stabilizer quantum codes and LCD codes. In this work, we use the study of bilinear forms over a finite field to give a decomposition of an arbitrary linear code similar to the one obtained for generalized toric codes. Such a decomposition, called the geometric decomposition of a linear code, can be obtained in a constructive way; it allows us to express easily the dual code of a linear code and provides a method to construct stabilizer quantum codes, LCD codes and in some cases, a method to estimate their minimum distance. The proofs for characteristic 2 are different, but they are developed in parallel.



This problem was proposed by Antonio Campillo, I thank him for his many helpful comments. The author gratefully acknowledges the support from RYC-2016-20208 (AEI/FSE/UE), the support from The Danish Council for Independent Research (Grant No. DFF–4002-00367), and the support from the Spanish MINECO/FEDER (Grants No. MTM2015-65764-C2-2-P and MTM2015-69138-REDT).


  1. 1.
    Artin, E.: Algèbre Géométrique. Cahiers Scientifiques. Gauthier-Villars, Editeur, Paris (1967)Google Scholar
  2. 2.
    Bras-Amorós, M., O’Sullivan, M.E.: Duality for some families of correction capability optimized evaluation codes. Adv. Math. Commun. 2(1), 15–33 (2008)MathSciNetCrossRefGoogle Scholar
  3. 3.
    Braun, M., Etzion, T., Vardy, A.: Linearity and complements in projective space. Linear Algebra Appl. 430, 57–70 (2013)MathSciNetCrossRefGoogle Scholar
  4. 4.
    Calderbank, A.R., Shor, P.: Good quantum error-correcting codes exist. Phys. Rev. A 54, 1098–1105 (1996)CrossRefGoogle Scholar
  5. 5.
    Calderbank, A.R., Rains, E.M., Shor, P.W., Sloane, N.J.A.: Quantum error correction and orthogonal geometry. Phys. Rev. Lett. 76, 405–409 (1997)MathSciNetCrossRefGoogle Scholar
  6. 6.
    Calderbank, A.R., Rains, E.M., Shor, P.W., Sloane, N.J.A.: Quantum error correction via codes over GF(4). IEEE Trans. Inf. Theory 44, 1369–1387 (1998)MathSciNetCrossRefGoogle Scholar
  7. 7.
    Carlet, C., Guilley, S.: Complementary dual codes for counter-measures to side-channel attacks. Adv. Math. Commun. 10(1), 131–150 (2016)MathSciNetCrossRefGoogle Scholar
  8. 8.
    Carlet, C., Mesnager, S., Tang, C., Qi, Y.: Linear codes over \(\mathbb {F}_q\) which are equivalent to LCD codes (2017). arXiv:1703.04346Google Scholar
  9. 9.
    Dickson, L.E.: Linear Groups. With an Exposition of the Galois Field Theory. Dover Publications, Mineola (1958)Google Scholar
  10. 10.
    Dieudonné, J.: La géométrie des groupes classiques (troisième édition). Ergebnisse der Mathematik und ihrer Grenzgebiete, Bd 5. Springer (1971)Google Scholar
  11. 11.
    Dieudonné, J.: Sur les groupes classiques (troisième édition). Publications de L’Institut de Mathématique de L’Université de Strasbourg. Hermann, Paris (1981)Google Scholar
  12. 12.
    Galindo, C., Hernando, F.: Quantum codes from affine variety codes and their subfield subcodes. Des. Codes Crytogr. 76, 89–100 (2015)MathSciNetCrossRefGoogle Scholar
  13. 13.
    Galindo, C., Hernando, F., Ruano, D.: New quantum codes from evaluation and matrix-product codes. Finite Fields Appl. 36, 98–120 (2015)MathSciNetCrossRefGoogle Scholar
  14. 14.
    Galindo, C., Hernando, F., Ruano, D.: Stabilizer quantum codes from J-affine variety codes and a new Steane-like enlargement. Quantum Inf. Process. 14, 3211–3231 (2015)MathSciNetCrossRefGoogle Scholar
  15. 15.
    Galindo, C., Geil, O., Hernando, F., Ruano, D.: On the distance of stabilizer quantum codes from J-affine variety codes. Quantum Inf. Process. 16, 111 (2017)MathSciNetCrossRefGoogle Scholar
  16. 16.
    Galindo, C., Hernando, F., Ruano, D.: New binary and ternary LCD codes (2017). arXiv:1710.00196Google Scholar
  17. 17.
    Hansen, J.P.: Toric varieties Hirzebruch surfaces and error-correcting codes. Appl. Algebra Eng. Commun. Comput. 13(4), 289–300 (2002)MathSciNetCrossRefGoogle Scholar
  18. 18.
    Hirschfeld, J.W.P.: Projective Geometries Over Finite Fields. Oxford Mathematical Monographs, 2nd edn. Oxford University Press, Oxford (1998)Google Scholar
  19. 19.
    Hou, X., Oggier, F.: On LCD codes and lattices. Proc. IEEE Int. Symp. Inf. Theory 2016, 1501–1505 (2016)Google Scholar
  20. 20.
    Ketkar, A., Klappenecker, A., Kumar, S., Sarvepalli, P.K.: Nonbinary stabilizer codes over finite fields. IEEE Trans. Inf. Theory 52, 4892–4914 (2006)MathSciNetCrossRefGoogle Scholar
  21. 21.
    Little, J., Schwarz, R.: On toric codes and multivariate Vandermonde matrices. Appl. Algebra Eng. Commun. Comput. 18(4), 349–367 (2007)MathSciNetCrossRefGoogle Scholar
  22. 22.
    Macwilliams, F.J., Sloane, N.J.A.: The Theory of Error-Correcting Codes. North-Holland Mathematical Library, vol. 16. North-Holland, Amsterdam/New York (1977)Google Scholar
  23. 23.
    Massey, J.L.: Linear codes with complementary duals. Discrete Math. 106/107, 337–342 (1992)MathSciNetCrossRefGoogle Scholar
  24. 24.
    Pless, V.: On the uniqueness of the Golay codes. J. Comb. Theory 5, 215–228 (1968)MathSciNetCrossRefGoogle Scholar
  25. 25.
    Pless, V.: A classification of self-orthogonal codes over GF(2). Discrete Math. 3, 209–246 (1972)MathSciNetCrossRefGoogle Scholar
  26. 26.
    Pless, V.: Sloane, N.J.A.: On the classification and enumeration of self-dual codes. J. Comb. Theory Ser. A 18, 313–335 (1975)Google Scholar
  27. 27.
    Ruano, D.: On the structure of generalized toric codes. J. Symbol. Comput. 44(5), 499–506 (2009)MathSciNetCrossRefGoogle Scholar
  28. 28.
    Serre, J.-P.: Cours d’arithmétique. Le Mathématicien, Presses Universitaires de France (1970)zbMATHGoogle Scholar
  29. 29.
    Steane, A.M.: Simple quantum error correcting codes. Phys. Rev. Lett. 77, 793–797 (1996)MathSciNetCrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2018

Authors and Affiliations

  1. 1.IMUVA (Mathematics Research Institute)University of ValladolidValladolidSpain
  2. 2.Department of Mathematical SciencesAalborg UniversityAalborgDenmark

Personalised recommendations