1. Introduction
In Reference [
1], Ding introduced a generic construction of linear codes using a defining set
D and the trace function. Many classes of known codes can be produced by choosing an appropriate defining set [
2,
3,
4,
5,
6]. Some of these codes support combinatorial 2-designs [
7,
8].
In Reference [
7], Ding considered linear codes obtained by choosing the defining set
D to be the set of all nonzero squares in
, where
p is an odd prime.
In this paper, we generalize Ding’s construction from Reference [
7], by choosing the defining set
D to be the set of all
sth powers of nonzero elements in a field
, where
can be any prime, and
. Our construction generalizes and expands Ding’s construction [
7] in two ways—we use as defining sets arbitrary powers of nonzero elements of
, where
q can be odd or even, while Ding uses only the set of nonzero squares (
) and
q is odd. If
s is relatively prime to
, the resulting code is a one-weight code, hence equivalent to a sequence of dual Hamming codes (cf. References [
9,
10,
11]), while when
s is not relatively prime to
, some interesting two-weight codes are obtained that give rise to strongly regular graphs, block designs and quantum codes. Block designs are constructed as support designs for a given nonzero weight (for other recent research on block designs arising from codes, see Reference [
12]). The resulting strongly regular graphs have as vertices the codewords, where two codewords are adjacent if they are at minimum Hamming distance from each other [
13,
14].
Besides codes over fields of odd order q, in this paper we also construct linear codes over finite fields of even order.
In particular, we obtain projective codes over that give rise to optimal or near optimal quantum codes over .
The paper is organized as follows.
Section 2 provides the necessary definitions and notation used in the paper. In
Section 3, a construction of linear codes with a defining set being the set of all nonzero
sth powers in a field
is outlined and the newly found two-weight codes and corresponding strongly regular graphs are presented. In
Section 4, we describe support designs and generalized block graphs obtained from the resulting codes.
The codes have been constructed and examined using Magma [
15].
2. Preliminaries
For background reading in coding theory we refer the reader to Reference [
16].
A q-ary linear code C of dimension k for a prime power q, is a k-dimensional subspace of a vector space . The elements of C are called codewords. The Hamming distance between two vectors is the number . The minimum distance d of a code C is defined as . The weight of a codeword x is . For a linear code, A q-ary linear code of length n, dimension k and distance d is called a code.
Let denote the number of codewords of weight i in a code C of length n. The weight distribution of C is the list . A one-weight code is a code which has only one nonzero weight and a two-weight code is a code which has only two nonzero weights. A linear code C is called projective if the minimum distance of its dual code is greater than 2.
An
linear code
C is optimal if the minimum weight of
C achieves the theoretical upper bound on the minimum weight of an
linear code, and near-optimal if its minimum weight is at most 1 less than the largest possible value. An
linear code
C is said to be a best known linear
code if
C has the highest minimum weight among all known
linear codes. A catalog of the best known codes is maintained in Reference [
17], to which we compare the minimum weight of all codes constructed in this paper.
An incidence structure is an ordered triple where and are non-empty disjoint sets and . The elements of the set are called points, the elements of the set are called blocks and is called an incidence relation. If then the incidence structure is called symmetric.
A t- design is a finite incidence structure satisfying the following requirements:
,
every element of is incident with exactly k elements of ,
every t elements of are incident with exactly elements of .
A 2- design is called a block design. Note that this definition allows to be a multiset. If is a set then is called a simple design. If the design consists of k copies of some simple design then is non-simple design and it is denoted by . We say that a t- design is a quasi-symmetric design with intersection numbers x and y if any two blocks of intersect in either x or y points.
A graph is regular if all the vertices have the same degree. A connected graph with diameter d is called distance-regular if there are integers such that, for any two vertices at distance , there are exactly neighbors of v at distance from u and neighbors of v at distance from u. A distance-regular graph is usually denoted by DRG. The graph is a regular graph of valency . The numbers , where , is the number of neighbors of v at distance i from u, are called the intersection numbers of . The sequence , where d is the diameter of is called the intersection array of . Clearly, , , .
A regular graph is strongly regular of type if it has v vertices, degree k and if any two adjacent vertices are together adjacent to vertices, while any two non-adjacent vertices are together adjacent to vertices. A strongly regular graph of type is usually denoted by SRG . A strongly regular graph is a distance-regular graph with diameter 2 whenever . The intersection array of a strongly regular graph is given by .
The block graph
of a quasi-symmetric 2-
design
is the graph with vertex set being the blocks of
, where vertices corresponding to blocks
and
are adjacent if and only if
. The block graph of a quasi-symmetric design is strongly regular (see Reference [
18]). More about the theory of quasi-symmetric designs can be found in Reference [
19].
For relevant background reading in theory of strongly regular graphs we refer the reader to References [
18,
20], and for background reading in theory of distance-regular graphs we refer the reader to Reference [
21].
3. Construction of Linear Codes
In Reference [
1], Ding gave a construction of linear codes over
with any subset
D of
. In Reference [
7] (Corollary 4) he considered the specific subset
D consisting of nonzero squares. In this paper, we consider the case when
D is a set of various nonzero powers of
s. A necessary condition for obtaining codes with more than one nonzero weight is that
s is not relatively prime to
. In some cases obtained codes are two-weight.
In tables presenting codes over finite fields, ∗ denotes that the codes are optimal in the sense that they reach the Griesmer bound.
3.1. Codes Obtained from Fields of Odd Order
In Reference [
7], Ding presented the following construction of linear codes from nonzero squares. Let
, such that
are nonzero squares in a field
and
. Let
denote the trace function defined in the following way. Let
be a finite extension of a field
. If
is in
L, the trace of
is the sum
One can define a linear code of length
n over
by
and call
D the defining set of this code
. Note that by definition, the dimension of the code
is at most
m.
Result 1 (Corollary 4, [
7])
. Let D be the set of all quadratic residues in , where p is an odd prime. If m is odd, then is a one-weight code over with parameters . If m is even, then is a two-weight code over with parameters and weight enumerator . If D is a set of nonzero squares in , and depending whether or , using Ding’s result presented in Reference Corollary 1, we obtain one or two-weight codes.
From the supports of all codewords of minimum weight of the one-weight codes, one obtains the family of symmetric designs known as point-hyperplane designs. Since all linear one-weight codes are characterized (see References [
10,
11] for more information), in this paper we were interested only in codes with more weights. In
Table 1 we describe the two-weight codes obtained by applying the construction of Ding described above, and the corresponding strongly regular graphs obtained from these codes by the well-known construction (see Reference [
13]). We give the parameters of the codes and their weight distribution and the parameters of the strongly regular graphs (SRGs).
Remark 1. All strongly regular graphs in Table 1 are Paley graphs. Using an approach similar to that described above, we obtained results by defining the set such that are all nonzero cubes in a field and .
In
Table 2 we describe the codes obtained by applying the construction described above. We give the parameters of the codes, their weight distributions and the descriptions of the SRGs related to constructed codes.
Remark 2. We have constructed SRGs with parameters , and . According to Brouwer’s table (see Reference [22]), known graphs with these parameters are obtainable from orthogonal arrays . Since our method does not use orthogonal arrays, it is likely that our graphs are new. The SRG with parameters (625,208,63,72) is isomorphic to the SRG obtained from projective 5-ary code with weights 40, 45 (see [23]). In fact, the code is four copies of the above mentioned projective code. SRG(14641,4880,1599,1640) is isomorphic to the graph obtained by CY2 construction (see Reference [23]) for and . Using an approach similar to that described above, we obtained results by defining the set
, such that
are all nonzero powers of 4 in a field
and
. The results are given in
Table 3.
Remark 3. SRG(81,20,1,6) and SRG(49,12,5,2) are unique SRGs with these parameters. The SRG with parameters (81,20,1,6) is isomorphic to the SRG obtained from projective ternary code with weights 6, 9 (see Reference [24]). In fact, the code is two copies of the above-mentioned projective code. SRGs with parameters (25,12,5,6), (15625,7812,3905,3906), (169,84,41,42) and (289,144,71,72) are Paley graphs. We have constructed SRGs with parameters (121,30,11,6), (361,90,29,20) and (14641,3660,869,871). According to Brouwer’s table (see Reference [22]), known graphs with these parameters are obtainable from orthogonal arrays. The graph with parameters (729,182,55,42) does not arise from orthogonal array, although it has suitable parameters. It is isomorphic with the SRG obtained from projective ternary code with weights 54, 63 (see Reference [22]). The code is two copies of the above mentioned projective code. The SRG(2401,600,131,156) is isomorphic to the graph obtained by CY2 construction (see Reference [23]), for and . Using an approach similar to that described above, we obtained results by defining the set
, such that
are all nonzero powers of 5 in a field
and
. The results are given in
Table 4.
Remark 4. The SRG(81,16,7,2) is a unique strongly regular graph with these parameters. The SRG with parameters (81,16,7,2) is isomorphic to the SRG obtained from the projective ternary [8,4] code with weights 3, 6 (see Reference [13]). The code is two copies of the above-mentioned projective code. Further, we have constructed an SRG with parameters (361,72,23,12), and according to Brouwer’s table (see Reference [22]), a known graph with these parameters is obtainable from the orthogonal array. Moreover, SRG(2401,480,119,90) and SRG(28561,5712,1223,1122) have parameters that correspond to SRGs that can be obtained from orthogonal arrays and , respectively. Using an approach similar to that described above, we obtained results by defining the set
, such that
are all nonzero powers of 6 in a field
and
. The results are given in
Table 5.
Remark 5. The SRG(121,20,9,2) is a unique SRG with these parameters. SRGs with parameters (9,4,1,2), (81,40,19,20), (729,364,181,182), (49,24,11,12), (2401,1200,599,600), (169,84,41,42), (28561,14280,7139,7140) and (361,180,89,90) are Paley graphs. Further, we have constructed an SRG with parameters (625,104,3,20), which is isomorphic to the graph described in Reference [22]. Moreover, we have constructed an SRG with parameters (289,48,17,6) and according to Brouwer’s table (see Reference [22]) a known graph with these parameters is obtainable from orthogonal array. The SRG(15625,2604,503,420) has parameters that correspond to an SRG that can be obtained from an orthogonal array . The SRG(14641,2440,420,341) is isomorphic to the graph obtained by CY2 construction (see Reference [23]), for and . 3.2. Codes Obtained from Fields of Even Order
Using an approach similar to that described above, we obtained results by defining the set , such that are all nonzero powers of s in a field and such that ).
In
Table 6, we describe two-weight projective binary codes.
Remark 6. Strongly regular graphs with parameters (16,5,0,2), (64,21,8,6), (256,85,24,30), (1024,341,120,110) and (256,51,2,12) are isomorphic to the graphs described in Reference [22]. The graph with parameters is isomorphic to the graph obtained by CY1 construction and the graph is isomorphic to the graph obtained by CY4 construction (see Reference [23]). Using an approach similar to that described above, we obtained results by defining the set , such that are all nonzero powers of s in a field and such that ).
In
Table 7 we describe two-weight quaternary codes. Notice that in these cases, some of the obtained two-weights codes have odd dimension, which was not the case in the previous section.
Remark 7. SRGs with parameters (64,21,8,6), (256,51,2,12) and (1024,93,32,6) are isomorphic to the graphs described in Reference [22]. The graph with parameters is isomorphic to the graph obtained by CY1 construction (see Reference [23]). The graph with parameters is isomorphic to the graph obtained by CY4 construction, although corresponding projective codes are not isomorphic and cannot be obtained by CY4 construction. The graph with parameters is isomorphic to the graph obtained by CY4 construction. The strongly regular graph (16384,381,128,6) has parameters that correspond to the SRG that can be obtained from a orthogonal array . The codes described in
Table 7 are a good source for obtaining quantum codes (see References ([
25,
26,
27])). The case where
is motivated by the construction of quantum-error-correcting codes from Hermitian self-orthogonal linear
codes. In particular, given a Hermitian self-orthogonal
code
C such that no codeword in
has a weight less than
d, one can construct a quantum
code, (see Reference [
25] Theorems 2, 3). Projective codes from
Table 7 give rise to quantum codes over
. According to the Grassl table [
17], these quantum codes are optimal or near optimal. Our construction is different from the constructions given in Reference [
17], so our codes are probably new.
Using an approach similar to that described above, we obtained results by defining the set , such that are all nonzero powers of s in a field and such that ).
Remark 8. The SRGs described in Table 8 are isomorphic to the SRGs described in Reference [23] by CY1 and CY4 constructions—the SRGs with parameters (4096,1365,440,462) and (4096,455,6,56) by CY1 construction, and the SRGs with parameters (4096,819,194,156) and (4096,315,74,20) by CY4 construction. 4. Support Designs and Generalized Block Graphs
In this section, we describe support designs and generalized block graphs obtained from the codes described in
Section 3. In
Section 3 we presented SRGs constructed from two-weight codes but in this section we construct combinatorial structures from codes with more weights too.
The support of a nonzero vector is the set of indices of its nonzero coordinates, that is, . The support design of a code of length n for a given nonzero weight w is the design with points the n coordinate indices and blocks the supports of all codewords of weight w.
From the supports of all codewords of minimum weight of the one-weight codes we obtain the family of symmetric designs (see Reference [
28] for more information), known as point-hyperplane designs. Since all linear 1-weight codes are characterized (see References [
10,
11] we did not include that family in
Table 9, so in
Table 9 we give designs obtained as support designs of the codes with more than one weight.
Remark 9. The designs 2-(31,7,7), and 2-(127,31,155), from Table 9 are quasi-symmetric designs with intersection numbers and , respectively (see Reference [29]). The following construction of graphs from support designs has been described in Reference [
14]. Let
, where
is the block set of the support design and let
. One can define a graph whose vertices are the elements of the block set
of the support design and two vertices are adjacent if the size of the intersection of the corresponding blocks is an element of
A. This construction is a generalization of the construction of the block graph from a quasi-symmetric design, so we call a graph constructed in that way a generalized block graph.
In
Table 10 we list distance regular graphs, including strongly regular graphs, constructed from support designs of the codes constructed by applying the construction described in
Section 3.
Remark 10. SRG(10,3,0,1) is the unique graph with these parameters, known as the Petersen graph. SRG(16,6,2,2) is isomorphic to the graph described in Reference [22], constructed from projective code with weights 2, 4. SRGs with parameters (55,18,9,4) and (78,22,11,4) are triangular graphs and , respectively. The strongly regular graph (169,36,13,6) has parameters that correspond to the SRG that can be obtained from orthogonal array . The graphs with parameters (155,42,17,9) and (2667,186,65,9) are block graphs of the quasi-symmetric designs constructed in Table 9. The distance regular graph on 30 vertices of diameter 4 is the unique graph with this intersection array and is called Tutte’s 8-cage. Further, the distance regular graph on 68 vertices of diameter 3 is the unique graph with this intersection array and is called Doro graph. For more information we refer the reader to Reference [21].