Two classes of linear codes with a few weights based on twisted Kloosterman sums
Minglong Qi, Shengwu Xiong

TL;DR
This paper constructs two new classes of linear codes with few weights using twisted Kloosterman sums and determines their parameters, advancing coding theory applications.
Contribution
The paper introduces two novel classes of linear codes with few weights and explicitly determines their complete weight enumerators using twisted Kloosterman sums.
Findings
Constructed two classes of linear codes with few weights
Determined the complete weight enumerators of these codes
Enhanced understanding of code parameters via twisted Kloosterman sums
Abstract
Linear codes with a few weights have wide applications in information security, data storage systems, consuming electronics and communication systems. Construction of the linear codes with a few weights and determination of their parameters are an important research topic in coding theory. In this paper, we construct two classes of linear codes with a few weights and determine their complete weight enumerators based on twisted Kloosterman sums.
| weight | multiplicity |
|---|---|
| 0 | 1 |
| weight | multiplicity |
|---|---|
| 0 | 1 |
| weight | multiplicity |
|---|---|
| 0 | 1 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCoding theory and cryptography · graph theory and CDMA systems · Error Correcting Code Techniques
∎
11institutetext: Minglong Qi 22institutetext: Shengwu Xiong 33institutetext: School of Computer Science and Technology, Wuhan University of Technology
Mafangshan West Campus, 430070 Wuhan City, China
33email: [email protected] (Minglong Qi)
33email: [email protected] (Shengwu Xiong)
Two classes of linear codes with a few weights based on twisted Kloosterman sums
††thanks: Communicated by Pascale Charpin, Alexander Pott
Minglong Qi
Shengwu Xiong
(Received: date / Accepted: date)
Abstract
Linear codes with a few weights have wide applications in information security, data storage systems, consuming electronics and communication systems. Construction of the linear codes with a few weights and determination of their parameters are an important research topic in coding theory. In this paper, we construct two classes of linear codes with a few weights and determine their complete weight enumerators based on twisted Kloosterman sums.
Keywords:
Linear codecomplete weight enumeratorweight distributiontwisted Kloosterman sums.
MSC:
94B05 11T71 11T23 94B60
1 Introduction
Let where is an odd prime and is a positive integer. denotes the finite field with elements and . Let be a mapping from onto itself, where and is a positive integer. Let and be a proper divisor of , i.e., . Throughout this paper, is assumed to be odd, and the meaning of and are kept fixed.
Let be an arbitrary integer, and denote the canonical additive character of . In this paper, we consider the value distribution of the following exponential sum and its application in the construction of some linear codes with a few weights:
[TABLE]
where and .
We shall see that the explicit evaluation of (1) involves ordinary Kloosterman sums and twisted Kloosterman sums. Let . The twisted Kloosterman sums are defined by
[TABLE]
and the ordinary Kloosterman sums are defined by
[TABLE]
where denotes the quadratic character of (see Section 3 for the details on group characters). Note that (2) is just a variation of twisted Kloosterman sums, for more general treatment, the reader is referred to BB27 ; BB01 ; BB22 . For the divisibility of Kloosterman sums modulo an integer and their basic properties, see BB06 ; BB19 and the references therein. It is known that in general, the explicit evaluation of (3) is a hard problem. However, (2) can be explicitly evaluated. Sometimes, we use the alias Salié sums to refer to (2).
An linear code over is a dimensional subspace of with minimum (Hamming) distance . Let denote the number of codewords with Hamming weight of . Then, the Hamming weight enumerator of is defined by
[TABLE]
The sequence is called the Hamming weight distribution of the code . Linear codes with a few weights have wide applications in secret sharing BB05 ; BB17 , authentication codes BB11 , association schemes BB04 and strongly regular graphs BB03 .
Let be a codeword of a linear code . Define the complete weight enumerator of by
[TABLE]
where is the number of coordinates of that are equal to . It is clear that , the length of the code . Then, the complete weight enumerator of the code can be defined by
[TABLE]
The complete weight enumerator of a linear code is an important parameter, and in general difficult to be evaluated. Once it is determined, the Hamming weight distribution directly follows. Blake and Kith BB02 ; BB21x , in studying Reed-Solomon codes, showed that the complete weight enumerator may be useful in soft decision decoding. Helleseth and Kholosha BB19 found that the complete weight enumerator of a linear code is related to monomial and quadratic bent functions. In BB11 ; BB12 , Ding et al demonstrated that the deception probabilities of some authentication codes could be calculated by applying the complete weight enumerators of these codes.
In BB07 ; BB13 ; BB14 , the authors investigated the complete weight enumerators of certain constant composition codes. In BB23 ; BB24 , Kuzmin and Nechaev studied the generalized Kerdok code and related linear codes over Galois ring, and determined their complete weight enumerators. Li et al BB26 investigated the complete weight enumerator of some new linear codes using Galois theory. For the recent development on the complete weight enumerator of linear codes, the reader is referred to BB26 ; BB28 ; BB35 ; BB36 ; BB39 ; BB41 and the references therein.
Let be an subset of . Then, a linear code can be defined from the set :
[TABLE]
where denotes the absolute trace function from to . The set is called the defining set of the linear code (see BB17 ; BB18 for details). The defining set method is a generic one in the construction of linear codes. A proper definition of the definig set may lead to linear codes optimal and with a few weights, which is a very attracting feature of this method. Since the introduction of the defining set method, a lot of work have been devoted to construct linear codes with a few weights, for instance, see BB33 ; BB35 ; BB39 ; BB41 ; BB42 and the references therein.
Let denote the trace function from to where , i.e., . Let . Below is the defining set used in the present paper:
[TABLE]
Let the elements of be enumerated as . In this paper, we will consider two classes of linear codes defined by:
[TABLE]
It should be mentioned that the defining set (4) is the combination of the ones of BB33 and BB35 . Note that BB33 determined just the Hamming weight enumerator of linear codes from quadratic function.
The rest of the paper is structured as follows: in Section 2, the main theorems and some examples are presented. In Section 3, mathematical foundation and proofs of the main theorems are given. Finally, some concluding remarks and the application of the linear codes constructed in the present paper are discussed in Section 4.
2 Main theorems
We only present the main theorems and some examples in this section. Two cases are treated: and . For given and , define the following constants which will be introduced in Section 3:
[TABLE]
and
[TABLE]
2.1 The first case:
Theorem 1
Suppose that is odd, and is odd. Then, , defined by (5), is an linear code. The Hamming weight distribution of is given in Table 1 and its complete weight enumerator is given by the following formula:
[TABLE]
where
[TABLE]
The following example demonstrates Theorem 1:
Example 1
Let . It is clear that the condition of Theorem 1 is fulfilled with these parameters. The linear code , defined by (5), is an linear code. The Hamming weight enumerator is , and the complete weight enumerator is , which are confirmed by a computer program.
The following theorem determines the parameters and the complete weight enumerators of , where :
Theorem 2
Suppose that is odd, and is odd. Then, the code , where , is an linear code. The Hamming weight distribution of , defined by (5), is given in Table 2 and its complete weight enumerator is given by the following formula:
[TABLE]
where
[TABLE]
The following example is calculated from the formula (9) of Theorem 2 and Table 2, and is confirmed by a computer program:
Example 2
Let . In addition, set in the defining set of (4). Then, the code , defined by (5), is an linear code, with as the Hamming weight enumerator, and
[TABLE]
as its complete weight enumerator.
2.2 The second case:
For the second case that , we only give the parameters and the complete weight enumerators of the codes . We are not able to determine the ones of the codes where because for this sub-case, a particular Kloosterman sum is involved and its explicit evaluation is intractable. We need some constant , which occurs in (BB10, , Theorem 1) and defined later by (12), to present the following theorem:
Theorem 3
Suppose that is odd, and is even. Then, is an linear code. The Hamming weight distribution of is given in Table 3 and its complete weight enumerator is given by the following formula:
[TABLE]
where
[TABLE]
The following example is calculated from the formula (10) of Theorem 3 and Table 3, and confirmed by a computer program:
Example 3
Let . It is clear that the condition of Theorem 3 is satisfied. Then, the code , defined by (5), is an linear code. The Hamming weight enumerator is , and the complete weight enumerator is .
3 Mathematical foundation and proofs of the main theorems
An additive character of is a nonzero function from to a set of nonzero complex numbers of absolute value 1 such that for all , . Let . For each , the function
[TABLE]
defines an additive character of . The character is called the trivial additive character of , and is called the canonical additive character of . In this paper, the subscript of the canonical additive character of is omitted, and the canonical additive character of is denoted by , where is a positive integer.
An multiplicative character of is a nonzero function from to a set of nonzero complex numbers of absolute value 1 such that for all , . Let be a primitive element of . Then, all the multiplicative characters are given by
[TABLE]
for . The multiplicative character is called the quadratic character of . Denote the quadratic character of an arbitrary field by .
The quadratic Gauss sum over is defined by
[TABLE]
Lemma 1
(BB27*, *, Theorem 5.15)** With the notations and definitions above, we have
[TABLE]
Lemma 2
(BB27*, *, Theorem 5.33)** Let be a nontrivial character of , and let with . Then
[TABLE]
Let be a mapping from onto itself where . Recall that and is assumed to be odd. Define two kinds of Weil sums as follows.
[TABLE]
The explicit evaluation of and are given by the following two lemmas, respectively.
Lemma 3
(BB09*, *, Theorem 1)** Let be odd. Then
[TABLE]
where
[TABLE]
Lemma 4
(BB10*, *, Theorem 1)** Let where is an odd prime, and is a positive integer. For , define the function from to itself. Let , and suppose that is odd. Then, is a permutation polynomial over . Let be the unique solution of the equation . We have
[TABLE]
where
[TABLE]
From (7), (11) and (12), it is obvious that and . Recall that . Define
[TABLE]
By Lemma 1 and (12), we can obtain the expanded formula for (13) which is identical to (6).
Let denote the real part of a complex number. The explicit evaluation of the Salié sums defined by (2) is given by next lemma:
Lemma 5
(BB21*, *, Lemma 12.4)**, (BB22, , Theorem 2.19) Let . Then
[TABLE]
The following lemma is useful:
Lemma 6
(BB17*, *, Lemma 7)** Let be two positive integers with dividing . Then, for any , if is even, and if is odd.
If is odd, then is a permutation polynomial over . For , let denote the unique solution of . In order to simplify the notations, put . The following lemma gives the explicit evaluation of the exponential sum defined by (1), where and (Recall that ):
Lemma 7
- (I)
The first case: .
- (1)
.
[TABLE] 2. (2)
.
[TABLE] 3. (3)
. Let .
[TABLE] 4. (4)
. Let .
[TABLE] 2. (II)
The second case: .
- (1)
.
[TABLE] 2. (2)
.
[TABLE]
Proof
- (I)
The first case: .
For this case, we only give the proof of the sub-case (4) since the proofs for the remainder sub-cases are very similar. Let . According to Lemma 6, since is odd. For a given , let be the unique solution of the equation over . It is easy to check that is a solution of the equation . From (1) and Lemma 4, we have
[TABLE]
where
[TABLE]
is the twisted Kloosterman sum defined by (2).
- (a)
If , then, by Lemma 5, we have
[TABLE] 2. (b)
If and , then, by Lemma 5, , which leads to that . 3. (c)
If and , then, by Lemma 5,
[TABLE]
For the rest of analysis, we distinguish three cases: and . The further analysis is straightforward and omitted. 2. (II)
The second case: .
By Lemma 6, for all . Based on the analysis of the first case that and the third equality of (14), we obtain
[TABLE]
where
[TABLE]
is the Kloosterman sum defined by (3). If and \Delta:=\mathrm{Tr}^{e}_{t}\bigl{(}\gamma^{p^{\alpha}+1}\bigr{)}\neq 0, it is difficult to obtain the explicit evaluation of the related Kloosterman sum. Hence, we only consider the case that . Thus,
[TABLE]
Further analysis distinguishes two cases: and , of which we omit the details.
The proof is completed.
Let . Define the exponential sum
[TABLE]
Next lemma gives the explicit evaluation of (16).
Lemma 8
- (I)
The first case: .
[TABLE] 2. (II)
The second case: .
[TABLE]
Proof
From Lemma 3, Lemma 6, (11) and (12), we have
[TABLE]
The further analysis is straightforward and omitted. The proof is completed.
In order to establish the complete weight enumerators and the weight distributions of the codes defined by (5), consider the following subset of :
[TABLE]
where and . Let be a codeword of the codes with the defining set defined by (4). Denote the length of codewords by
[TABLE]
Then, the Hamming weight of equals to
[TABLE]
Next lemma determines the cardinality of the set .
Lemma 9
For a given , denote the unique solution of over by and put .
- (I)
The first case: .
- (a)
.
[TABLE] 2. (b)
.
[TABLE] 3. (c)
.
[TABLE]
where
[TABLE] 4. (d)
.
[TABLE]
where
[TABLE] 2. (II)
The second case: .
- (a)
.
[TABLE] 2. (b)
.
[TABLE]
Proof
By the orthogonality of additive characters, (17), (1) and (16), we have
[TABLE]
We so far use to denote the absolute trace function in the proof. Note that \sum_{x\in\mathbb{F}_{q}}\sum_{z\in\mathbb{F}_{p}^{*}}\chi^{(1)}\biggl{(}\bigl{(}\mathrm{Tr}^{e}_{1}(bx)-u\bigr{)}z\biggr{)}=0. The actual lemma follows from Lemma 8, Lemma 9 and (13).
The following lemma gives the length of the codes of (5), defined by (18):
Lemma 10
Let . The cardinality of the defining set of (4), i.e., the length of codewords of the linear codes of (5), is determined by
- (I)
the first case: .
[TABLE] 2. (II)
The second case: .
[TABLE]
Proof
Let if , and if . Then, by the orthogonality of additive character, (4), (18) and (16), we have
[TABLE]
The actual lemma follows from Lemma 8 and (13).
Recall that . As is odd, is a permutation polynomial over . For a given , let denote the unique solution of the equation . Let denote all the squares of , i.e., , and . In order to determine the multiplicities of complete weight distributions of Theorem 1-3, consider the following sets:
- (I)
The first case: .
From (a) and (b), corresponding to , of Lemma 9, the multiplicities of complete weights of Theorem 1 are given by the cardinalities of the following sets:
[TABLE]
It is clear that in (8), .
From (c) and (d), corresponding to , of Lemma 9, the multiplicities of complete weights of Theorem 2 are given by the cardinalities of the following sets:
[TABLE]
From (9), it is clear that . 2. (II)
The second case: .
From (a) and (b), corresponding to , of Lemma 9, the multiplicities of complete weights of Theorem 3 are given by the cardinalities of the following sets:
[TABLE]
From (10), it is clear that . The following lemma gives the cardinalities of the above sets:
Lemma 11
[TABLE]
Proof
We only prove since the proofs for the remainder parts are similar.
[TABLE]
Notice that in the equation of (19), according to (4), (18) and Lemma 10,
[TABLE]
Theorem 1-3 directly follow from Lemma 9 and 11.
4 Concluding remarks
In the present paper, two classes of linear codes with a few weights were constructed and their complete weight enumerators determined based on twisted Kloosterman sums. Let and denote the minimum and maximum nonzero weight of a linear code, respectively. It was shown (see BB17 ; BB40 ) that any linear code can be used to construct secret sharing schemes with nice access structures provided . It can be verified that the linear codes of Theorem 1 and Theorem 2 fulfill this condition, so can be used in the secret sharing. For the case that and , we were not able to determine the linear code due to the hard problem of explicitly evaluating the Kloosterman sum of (15). It should be interesting and challenging to try to solve the problem based on the works of BB06 ; BB19 and the references therein, and then apply (15) in coding theory.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) Berndt B.C., Evans R.J., Williams K.S.: Gauss and Jacobi sums, John Wiley & Sons Inc., New York (1998).
- 2(2) Blake I.F., Kith K.: On the complete weight enumerator of Reed-Solomon codes, SIAM J. Discret. Math. 4 (2), 164-171 (1991).
- 3(3) Calderbank A. R., Kantor W.M.: The geometry of two-weight codes, Bull. London Math. Soc. 18 (2), 97-122 (1986).
- 4(4) Calderbank A.R., Goethals J.M.: Three-weight codes and association schemes, Philips J. Res. 39 , 143-152 (1984).
- 5(5) Carlet C., Ding C., Yuan J.: Linear codes from perfect nonlinear mappings and their secret sharing schemes, IEEE Trans. Inf. Theory 51 (6), 2089-2102 (2005). Bib 29
- 6(6) Charpin P., Helleseth T., Zinoviev V.: The divisibility modulo 24 of Kloosterman sums on G F ( 2 m ) , m 𝐺 𝐹 superscript 2 𝑚 𝑚 GF(2^{m}),m odd, Journal of Combinatorial Theory, Series A 114 , 322-338 (2007).
- 7(7) Chu W., Colbourn C.J., Dukes P.: On constant composition codes, Discrete Applied Mathematics 154 (6), 912-929 (2006).
- 8(8) Coulter R.S.: Explicit evaluation of some Weil sums, Acta Arith 83 , 241-251 (1998).
