Application of MacWilliams' Theorem for Complete Weight Enumerators on Galois Fields
Abstract
This paper implements the extended MacWilliams theorem for linear codes, revisiting the MacWilliams theorem for the Complete Weight Enumerator (CWE) of codes with q = 3, 4, 5, and 7. Linear codes are a mathematical concept that can be described through the distribution of weights in each codeword. CWE serves to provide a complete representation of the symbols in each codeword. This article discusses how the MacWilliams theorem can be efficiently used to calculate the CWE of codes and optimize the design of error-correcting codes. The results of this research include the calculation of CWE for and . This study contributes theoretically to the understanding of linear code structures while opening up opportunities for the development of more efficient error-correcting code algorithms in modern communication systems.
References
[2]X. Kong and S. Yang, "Complete Weight Enumerators of a Class of Linear Codes with Two or Three Weights",Discrete Mathematics,vol. 342, no. 11, pp. 3166-3175 , Nov. 2019, doi: 10.1016/j.disc.2019.06.025.
[3]Y.Liu and Z. Liu, "Complete Weight Enumerators of a New Class of Linear Codes," Discrete Mathematics, vol. 341, no. 7, pp. 1959-1961, Jul. 2018, doi: 10.1016/j.disc.2018.03.025.
[4]S. Yang, X. Kong, and X. Shi, "Complete Weight Enumerators of a Class of Linear Codes over Finite Fields," Advances in Mathematics of Communications, vol. 15, no. 1, pp. 99-101, Feb. 2021, doi: 10.3934/amc.2020045.
[5]G. Xu, X. Cao, S. Xu, and J. Ping, "Complete Weight Enumerators of a Class of Linear Codes with Two Weights," Discrete Mathematics, vol. 341, no. 2, pp. 525-529, Feb. 2018, doi: 10.1016/j.disc.2017.09.021.
[6]S. Yang, "Complete Weight Enumerators of a Class of Linear Codes from Weil Sums," IEEE Access, vol. 8, pp. 194631-194637, 2020, doi: 10.1109/ACCESS.2020.3034110.
[7]D. Qiu, F. Ma, J. Gao, and J. Li, "Complete Weight Enumerator of Torsions and Their Applications," Mathematics, vol. 13, no. 7, pp. 1-3, Apr. 2025, doi: 10.3390/math13071165.
[8]Q. Wang, F. Li, K. Ding, and D. Lin, "Complete Weight Enumerators of Two Classes of Linear Codes," *arXiv:1505.06326v1*, pp. 1-14, 2015. Available: https://arxiv.org/abs/1505.06326.
[9]Yang, S., Kong, X., & Tang, C. (2017). “A Construction Linear Codes and Their Complete Weight Enumerator”. arXiv:1701.02075v3 [cs.IT], pp. 1-5, April 7, 2017.
[10]F.J. MacWilliams, N.J.A. Sloane, The Theory of Error-Correcting Codes, North-Holland Mathematical Library, vol. 16, 2nd ed., pp. 141-146, 1981, ISBN: 0 444 85009 0.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish in UJMC (Unisda Journal of Mathematics and Computer Science) agree to the following terms:
1.Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC BY-SA 4.0) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
2.Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
3.Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.





