Introduction
In the field of coding theory, linear codes are fundamental for ensuring reliable data transmission and storage. While many codes exist, those with a small number of distinct non-zero weights—specifically two-weight and three-weight codes—are of particular interest due to their unique mathematical properties and diverse applications. Beyond standard error correction, these codes are instrumental in designing secret sharing schemes, authentication codes, and constructing combinatorial objects like strongly regular graphs and association schemes.
This paper introduces novel systematic methods for constructing linear codes with exactly two or three distinct non-zero weights. By utilizing "defining sets" based on the trace function and leveraging the analytical power of Weil sums, the author provides a rigorous determination of weight distributions and identifies several codes that achieve optimality or near-optimality relative to the Griesmer bound.
Construction Framework
The primary technique employed is the "defining set" construction. For a finite field $\mathbb{F}_q$, a linear code $C_D$ is generated by evaluating a trace function over a specific set of points $D \subseteq \mathbb{F}_q^k$. The paper focuses on two specific defining sets:
- $D_1 = \{(x, y) \in \mathbb{F}_q^2 \setminus \{(0, 0)\} : Tr(x + y^{p^u+1}) = 0\}$
- $D_2 = \{(x, y) \in \mathbb{F}_q^2 \setminus \{(0, 0)\} : Tr(x^2 + y^{p^u+1}) = 0\}$
By constraining the defining set through the trace of specific polynomials, the author naturally limits the possible Hamming weights of the resulting codewords. This constraint forces the codewords into a highly structured distribution, typically resulting in only a few distinct weight tiers.
Mathematical Tools: Weil Sums and Pless Moments
Determining the exact weight distribution of a code is often the most challenging aspect of its analysis. To bridge the gap between abstract algebraic definitions and concrete parameters like minimum distance, the author employs sophisticated tools from number theory:
- Weil Sums: Specifically, evaluations developed by Coulter are used to calculate the number of solutions to equations over finite fields, which directly corresponds to the Hamming weights of the codewords.
- Gauss Sums: These are used in conjunction with Weil sums to handle the exponential sums arising from the trace function evaluations.
- Pless Power Moments: Once the possible weights are identified, these identities are used to verify the frequency (multiplicity) of each weight, ensuring the completeness and accuracy of the weight distribution table.
Key Results and Optimality
The paper defines several new classes of codes and provides their complete weight distributions. A significant finding is that under specific conditions, the construction yields codes with very few weights, which is a highly desirable property for cryptographic and combinatorial applications.
The research identifies conditions under which the construction simplifies to a two-weight code, as shown in the distribution below:
Beyond their structural simplicity, many of these codes are shown to be optimal or near-optimal with respect to the Griesmer bound, a fundamental theoretical limit on the length of a code for a given dimension and minimum distance. For example, one constructed code over $\mathbb{F}_3$ has parameters $[112, 6, 72]$, where the Griesmer bound dictates a maximum possible distance of 73. Other examples match the best-known linear codes documented in the Magma database, proving the practical efficiency of this algebraic approach.
Conclusion
This work demonstrates that trace-based constraints and Weil sums provide a powerful framework for generating high-performance linear codes with few weights. While the current results focus on specific polynomial structures ($x + y^{p^u+1}$ and $x^2 + y^{p^u+1}$), they open the door for further exploration. Future research may investigate different polynomial forms in the defining sets to discover even more efficient codes, continuing the search for optimal structures in information theory.
Summary updated