Abstract
The weight distribution of a code is usually investigated on the basis of Hamming weight, under which all the nonzero components of a codeword are regarded as identical. To describe the structure of nonbinary codes in more detail, each nonzero component should be distinguished from the other and this is done by means of the complete weight distribution. However, obtaining the complete weight distribution for nonbinary codes is an even harder problem than obtaining the ordinary weight distribution. Therefore, the complete weight distribution is unknown for most codes. The complete weight distributions of two classes of p-ary cyclic codes were recently reported by Heng and Yue (Cryptogr. Commun. 9, 323–343, 8). The purpose of this work is to present the complete weight distribution of a subclass of optimal three-weight cyclic codes over any finite field.
Similar content being viewed by others
References
Bae, S., Li, C., Yue, Q.: On the complete weight enumerator of some reducible cyclic codes. Discret. Math. 338, 2275–2287 (2015)
Blake, I.F., Kith, K.: On the complete weight enumerator of Reed-Solomon codes. SIAM J. Discret. Math. 4(2), 164–171 (1991)
Chan, C.H., Xiong, M.: On the complete weight distribution of subfield subcodes of algebraic-geometric codes. IEEE Trans. Inf. Theory 65(11), 7079–7086 (2019)
Delsarte, P.: On subfield subcodes of Reed-Solomon codes. IEEE Trans. Inf. Theory 21(5), 575–576 (1975)
Grassl, M.: Bounds on the minimum distance of linear codes and quantum codes. http://www.codetables.de. Accessed 27 July 2022
Helleseth, T., Kholosha, A.: Monomial and quadratic bent functions over the finite fields of odd characteristic. IEEE Trans. Inf. Theory 52, 2018–2032 (2006)
Heng, Z., Wang, Q., Ding, C.: Two families of optimal linear codes and their subfield codes. IEEE Trans. Inf. Theory 66(11), 6872–6883 (2020). https://doi.org/10.1109/TIT.2020.3006846
Heng, Z., Yue, Q.: Complete weight distributions of two classes of cyclic codes. Cryptogr. Commun. 9, 323–343 (2017)
Kong, X., Yang, S.: Complete weight enumerators of a class of linear codes with two or three weights. Discrete Math. 342(11), 3166–3176 (2019)
Li, C., Bae, S., Ahn, J., Yang, S., Yao, Z.A.: Complete weight enumerators of some linear codes and their applications. Des., Codes Cryptogr. 81, 153–168 (2016)
Li, C., Yue, Q., Fu, F.W.: Complete weight enumerators of some cyclic codes. Des. Codes Cryptogr. 80, 295–315 (2015)
Lidl, R., Niederreiter, H.: Finite Fields. Cambridge Univ. Press, Cambridge (1983)
Luo, J., Feng, K.: Cyclic codes and sequences from generalized Coulter-Matthews function. IEEE Trans. Inf. Theory 54(12), 5345–5353 (2008)
MacWilliams, F.J., Mallows, C.L., Sloane, N.J.A.: Generalizations of Gleason’s theorem on weight enumerators of self-dual codes. IEEE Trans. Inf. Theory 18(6), 794–805 (1972)
MacWilliams, F.J., Sloane, N.J.A.: The Theory of Error-Correcting Codes. North-Holland (1977)
Vega, G.: A characterization of a class of optimal three-weight cyclic codes of dimension 3 over any finite field. Finite Fields Appl. 42, 23–38 (2016)
Vega, G.: A characterization of all semiprimitive irreducible cyclic codes in terms of their lengths. Applic. Algebra Eng. Commun. Comput. 30(5), 441–452 (2019)
Yang, S.: Complete weight enumerators of a class of linear codes from weil sums. IEEE Access 8, 194631–194639 (2020)
Yang, S., Yao, Z.: Complete weight enumerators of a family of three-weight linear codes. Des. Codes Cryptogr. 82, 663–674 (2017)
Yang, S., Yao, Z.A.: Complete weight enumerators of a class of linear codes. Discret. Math. 340(4), 729–739 (2017)
Yang, S., Yao, Z.A., Zhao, C.A.: A class of three-weight linear codes and their complete weight enumerators. Cryptogr. Commun. 9, 133–149 (2017)
Zhu, C., Liao, Q.: Complete weight enumerators for several classes of two-weight and three-weight linear codes. Finite Fields Appl., 75. https://doi.org/10.1016/j.ffa.2021.101897 (2021)
Zheng, D., Zhao, Q., Wang, X., Zhang, Y.: A class of two or three weights linear codes and their complete weight enumerators. Discrete Math., 344. https://doi.org/10.1016/j.disc.2021.112355 (2021)
Zhou, Z., Ding, C.: A class of three-weight cyclic codes. Finite Fields Appl. 25, 79–93 (2014)
Acknowledgments
The authors want to express their gratitude to the Associate Editor and the anonymous referees for their valuable suggestions.
Funding
The second author has received research support from CONACyT, México.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interests/Competing interests
The authors have either no conflict of Interests or no competing interests to declare that are relevant to the content of this article.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Vega, G., Hernández, F. The complete weight distribution of a subclass of optimal three-weight cyclic codes. Cryptogr. Commun. 15, 317–330 (2023). https://doi.org/10.1007/s12095-022-00601-7
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12095-022-00601-7