+ All Categories
Home > Documents > On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes...

On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes...

Date post: 01-Feb-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
46
On q-ary optimal equitable symbol weight codes 1/20 On q -ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev A.A. Kharkevich Institute for Problems of Information Transmission, Moscow, Russia OC2013 Albena, Bulgaria, September 6-12, 2013
Transcript
Page 1: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 1/20

On q-ary optimal equitable symbol weight codes

L. A. Bassalygo, V.A. Zinoviev

A.A. Kharkevich Institute for Problems of Information Transmission, Moscow,Russia

OC2013 Albena, Bulgaria, September 6-12, 2013

Page 2: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 2/20

Outline

1 Introduction

2 Main construction

3 Example

4 Codes from difference matrices

Page 3: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 3/20

Introduction

Denote by Q = {0, 1, . . . , q − 1} an alphabet of size q and byQn = (Q)n the set of all words of length n over Q.

Let x = (x1, x2, . . . , xn) be an arbitrary word over Q. Denote byξa(x) the number of times the symbol a ∈ Q occurs in x, i.e.

ξa(x) = |{j : xj = a, j = 1, 2, . . . , n}|.

Say that x ∈ Qn has equitable symbol weight if

ξa(x) ∈ {bn/qc, dn/qe}

for every a ∈ Q.

Definition 1.

A code C over Q we call equitable symbol weight code, if every itscodeword has equitable symbol weight.

Page 4: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 3/20

Introduction

Denote by Q = {0, 1, . . . , q − 1} an alphabet of size q and byQn = (Q)n the set of all words of length n over Q.Let x = (x1, x2, . . . , xn) be an arbitrary word over Q. Denote byξa(x) the number of times the symbol a ∈ Q occurs in x, i.e.

ξa(x) = |{j : xj = a, j = 1, 2, . . . , n}|.

Say that x ∈ Qn has equitable symbol weight if

ξa(x) ∈ {bn/qc, dn/qe}

for every a ∈ Q.

Definition 1.

A code C over Q we call equitable symbol weight code, if every itscodeword has equitable symbol weight.

Page 5: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 3/20

Introduction

Denote by Q = {0, 1, . . . , q − 1} an alphabet of size q and byQn = (Q)n the set of all words of length n over Q.Let x = (x1, x2, . . . , xn) be an arbitrary word over Q. Denote byξa(x) the number of times the symbol a ∈ Q occurs in x, i.e.

ξa(x) = |{j : xj = a, j = 1, 2, . . . , n}|.

Say that x ∈ Qn has equitable symbol weight if

ξa(x) ∈ {bn/qc, dn/qe}

for every a ∈ Q.

Definition 1.

A code C over Q we call equitable symbol weight code, if every itscodeword has equitable symbol weight.

Page 6: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 3/20

Introduction

Denote by Q = {0, 1, . . . , q − 1} an alphabet of size q and byQn = (Q)n the set of all words of length n over Q.Let x = (x1, x2, . . . , xn) be an arbitrary word over Q. Denote byξa(x) the number of times the symbol a ∈ Q occurs in x, i.e.

ξa(x) = |{j : xj = a, j = 1, 2, . . . , n}|.

Say that x ∈ Qn has equitable symbol weight if

ξa(x) ∈ {bn/qc, dn/qe}

for every a ∈ Q.

Definition 1.

A code C over Q we call equitable symbol weight code, if every itscodeword has equitable symbol weight.

Page 7: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 4/20

Introduction

Equitable symbol weight codes were introduced byChee-Kiah-Ling-Wang (2012) for more precisely capture a code’sperformance against permanent narrowband noise in power linecommunication (Chee-Kiah-Purkayastha-Wang (2012)).

Several optimal infinite families of such codes were constructed byChee-Kiah-Ling-Wang (2012) and also by Dai-Wang-Yin (2013).In the paper Dai-Wang-Yin (2013) a family of q-ary optimalequitable symbol weight codes was constructed with the followingparameters:

n = q2 − 1, M = q2, d = q(q − 1), (1)

for any q equal to a power of odd prime number.

Page 8: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 4/20

Introduction

Equitable symbol weight codes were introduced byChee-Kiah-Ling-Wang (2012) for more precisely capture a code’sperformance against permanent narrowband noise in power linecommunication (Chee-Kiah-Purkayastha-Wang (2012)).Several optimal infinite families of such codes were constructed byChee-Kiah-Ling-Wang (2012) and also by Dai-Wang-Yin (2013).

In the paper Dai-Wang-Yin (2013) a family of q-ary optimalequitable symbol weight codes was constructed with the followingparameters:

n = q2 − 1, M = q2, d = q(q − 1), (1)

for any q equal to a power of odd prime number.

Page 9: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 4/20

Introduction

Equitable symbol weight codes were introduced byChee-Kiah-Ling-Wang (2012) for more precisely capture a code’sperformance against permanent narrowband noise in power linecommunication (Chee-Kiah-Purkayastha-Wang (2012)).Several optimal infinite families of such codes were constructed byChee-Kiah-Ling-Wang (2012) and also by Dai-Wang-Yin (2013).In the paper Dai-Wang-Yin (2013) a family of q-ary optimalequitable symbol weight codes was constructed with the followingparameters:

n = q2 − 1, M = q2, d = q(q − 1), (1)

for any q equal to a power of odd prime number.

Page 10: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 5/20

Introduction

In this paper we construct, using the other approach, equitablesymbol weight codes with parameters (1) for any prime power q.

Besides, a class of optimal equitable symbol weight q-ary codes isconstructed with parameters

n, M = n(q − 1), d = n(q − 1)/q, (2)

where q divides n, and n is such, that there exists a differencematrix of size n× n over the alphabet Q.

Page 11: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 5/20

Introduction

In this paper we construct, using the other approach, equitablesymbol weight codes with parameters (1) for any prime power q.Besides, a class of optimal equitable symbol weight q-ary codes isconstructed with parameters

n, M = n(q − 1), d = n(q − 1)/q, (2)

where q divides n, and n is such, that there exists a differencematrix of size n× n over the alphabet Q.

Page 12: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 6/20

Main construction

It is well known (see, for example, (Semakov-Zaitzev-Zinoviev,1969) or (Bogdanova-Zinoviev-Todorov, 2007) and referencesthere) that for any prime power q, can be easily constructedoptimal equidistant q-ary codes with the following parameters:

length n = q2 − 1minimum distance d = q(q − 1)

cardinality M = q2.

These codes are not equitable symbol weight, but it is possible totransform their such that they become equitable symbol weightcodes without missing the property to be equidistant.

Page 13: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 6/20

Main construction

It is well known (see, for example, (Semakov-Zaitzev-Zinoviev,1969) or (Bogdanova-Zinoviev-Todorov, 2007) and referencesthere) that for any prime power q, can be easily constructedoptimal equidistant q-ary codes with the following parameters:

length n = q2 − 1minimum distance d = q(q − 1)

cardinality M = q2.

These codes are not equitable symbol weight, but it is possible totransform their such that they become equitable symbol weightcodes without missing the property to be equidistant.

Page 14: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 7/20

Main construction

Recall the concept of a Latin square: a square matrix of size mover an alphabet of size m is called a Latin square of order m, ifevery element occurs once in every row and in every column.

Let A be a matrix of size q × q of the form0 0 . . . 01 1 . . . 1· · . . . ·

q − 1 q − 1 . . . q − 1

,and let L1, L2, ..., Lq−1 be a set of q − 1 Latin squares of order qover Q with the following property: the pairwise distance betweenany two rows of different squares is equal to q − 1 (it is clear thatthe pairwise distance between any two rows of one square is equalto q).

Page 15: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 7/20

Main construction

Recall the concept of a Latin square: a square matrix of size mover an alphabet of size m is called a Latin square of order m, ifevery element occurs once in every row and in every column.Let A be a matrix of size q × q of the form

0 0 . . . 01 1 . . . 1· · . . . ·

q − 1 q − 1 . . . q − 1

,and let L1, L2, ..., Lq−1 be a set of q − 1 Latin squares of order qover Q with the following property: the pairwise distance betweenany two rows of different squares is equal to q − 1 (it is clear thatthe pairwise distance between any two rows of one square is equalto q).

Page 16: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 8/20

Main construction

The rows of the following matrix of size q2 × (q2 − 1) form anequidistant code with parameters (n = q2 − 1, d = q(q − 1) andM = q2) mentioned above:

A · · · A e0 e1 · · · eq−2

L1 · · · L1 e1 e2 · · · eq−1

· · · · · · · · · · · · · · ·Lq−1 · · · Lq−1 eq−1 e0 · · · eq−3

,where ei is the column-vector (i i . . . i)t.

Page 17: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 9/20

Main construction

A · · · AL1 · · · L1

· · · · · ·Lq−1 · · · Lq−1

,

Apart of the layer formed by the matrix A the other matrix is ofthe equal symbol weight type.steps of the transformation:1) to correct the first layer of matrices A by adding a proper vector

a = (a1,a2, . . . ,aq−1), aj = (0, j, j, . . . , j)

After adding of a the lower part of the matrix miss that property2) to correct the lower part of the matrix by proper permutationsindependently for every Latin square of every layer

Page 18: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 9/20

Main construction

A · · · AL1 · · · L1

· · · · · ·Lq−1 · · · Lq−1

,Apart of the layer formed by the matrix A the other matrix is ofthe equal symbol weight type.

steps of the transformation:1) to correct the first layer of matrices A by adding a proper vector

a = (a1,a2, . . . ,aq−1), aj = (0, j, j, . . . , j)

After adding of a the lower part of the matrix miss that property2) to correct the lower part of the matrix by proper permutationsindependently for every Latin square of every layer

Page 19: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 9/20

Main construction

A · · · AL1 · · · L1

· · · · · ·Lq−1 · · · Lq−1

,Apart of the layer formed by the matrix A the other matrix is ofthe equal symbol weight type.steps of the transformation:

1) to correct the first layer of matrices A by adding a proper vector

a = (a1,a2, . . . ,aq−1), aj = (0, j, j, . . . , j)

After adding of a the lower part of the matrix miss that property2) to correct the lower part of the matrix by proper permutationsindependently for every Latin square of every layer

Page 20: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 9/20

Main construction

A · · · AL1 · · · L1

· · · · · ·Lq−1 · · · Lq−1

,Apart of the layer formed by the matrix A the other matrix is ofthe equal symbol weight type.steps of the transformation:1) to correct the first layer of matrices A by adding a proper vector

a = (a1,a2, . . . ,aq−1), aj = (0, j, j, . . . , j)

After adding of a the lower part of the matrix miss that property2) to correct the lower part of the matrix by proper permutationsindependently for every Latin square of every layer

Page 21: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 9/20

Main construction

A · · · AL1 · · · L1

· · · · · ·Lq−1 · · · Lq−1

,Apart of the layer formed by the matrix A the other matrix is ofthe equal symbol weight type.steps of the transformation:1) to correct the first layer of matrices A by adding a proper vector

a = (a1,a2, . . . ,aq−1), aj = (0, j, j, . . . , j)

After adding of a the lower part of the matrix miss that property

2) to correct the lower part of the matrix by proper permutationsindependently for every Latin square of every layer

Page 22: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 9/20

Main construction

A · · · AL1 · · · L1

· · · · · ·Lq−1 · · · Lq−1

,Apart of the layer formed by the matrix A the other matrix is ofthe equal symbol weight type.steps of the transformation:1) to correct the first layer of matrices A by adding a proper vector

a = (a1,a2, . . . ,aq−1), aj = (0, j, j, . . . , j)

After adding of a the lower part of the matrix miss that property2) to correct the lower part of the matrix by proper permutationsindependently for every Latin square of every layer

Page 23: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 10/20

Main construction

Main result 1

Theorem 1. For any prime power q there exists an optimalequitable symbol weight equidistant q-ary code with the followingparameters:

n = q2 − 1, M = q2, d = q(q − 1).

Note once more that for the case of odd q this result has beenobtained in (Dai-Wang-Yin, 2013) using the other approach.

Page 24: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 10/20

Main construction

Main result 1

Theorem 1. For any prime power q there exists an optimalequitable symbol weight equidistant q-ary code with the followingparameters:

n = q2 − 1, M = q2, d = q(q − 1).

Note once more that for the case of odd q this result has beenobtained in (Dai-Wang-Yin, 2013) using the other approach.

Page 25: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 11/20

Example

Consider an example of our construction for the case q = 4. LetQ4 = {0, 1, 2, 3}, where 1 = α0, 2 = α, 3 = α2, and theelement α is the primitive element of the field F4 such thatα2 = α+ 1.

Let C be the following matrix, formed by the codewords ofequidistant (n = 5,M = 16, d = 4) code over Q = {0, 1, 2, 3}:

C =

A e0L1 e1L2 e2L3 e3

, A =

0 0 0 01 1 1 12 2 2 23 3 3 3

L1 =

0 1 2 31 0 3 22 3 0 13 2 1 0

, L2 =

0 2 3 11 3 2 02 0 1 33 1 0 2

, L3 =

0 3 1 21 2 0 32 1 3 03 0 2 1

,where ei = (i i i i)t, i = 0, 1, 2, 3.

Page 26: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 11/20

Example

Consider an example of our construction for the case q = 4. LetQ4 = {0, 1, 2, 3}, where 1 = α0, 2 = α, 3 = α2, and theelement α is the primitive element of the field F4 such thatα2 = α+ 1.Let C be the following matrix, formed by the codewords ofequidistant (n = 5,M = 16, d = 4) code over Q = {0, 1, 2, 3}:

C =

A e0L1 e1L2 e2L3 e3

, A =

0 0 0 01 1 1 12 2 2 23 3 3 3

L1 =

0 1 2 31 0 3 22 3 0 13 2 1 0

, L2 =

0 2 3 11 3 2 02 0 1 33 1 0 2

, L3 =

0 3 1 21 2 0 32 1 3 03 0 2 1

,where ei = (i i i i)t, i = 0, 1, 2, 3.

Page 27: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 12/20

Example

Construct the equidistant (15, 16, 12; 4) code E by repeting threetimes the given above code C

E =

A A A e0 e1 e2L1 L1 L1 e1 e2 e3L2 L2 L2 e2 e3 e0L3 L3 L3 e3 e0 e1

.

Define the matrix K:

K =

A A AL1 L1 L1

L2 L2 L2

L3 L3 L3

.Add to all rows of K the vectora = (a1,a2,a3), where a1 = (0, 1, 1, 1), a2 = (0, 2, 2, 2),a3 = (0, 3, 3, 3).

Page 28: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 12/20

Example

Construct the equidistant (15, 16, 12; 4) code E by repeting threetimes the given above code C

E =

A A A e0 e1 e2L1 L1 L1 e1 e2 e3L2 L2 L2 e2 e3 e0L3 L3 L3 e3 e0 e1

.Define the matrix K:

K =

A A AL1 L1 L1

L2 L2 L2

L3 L3 L3

.

Add to all rows of K the vectora = (a1,a2,a3), where a1 = (0, 1, 1, 1), a2 = (0, 2, 2, 2),a3 = (0, 3, 3, 3).

Page 29: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 12/20

Example

Construct the equidistant (15, 16, 12; 4) code E by repeting threetimes the given above code C

E =

A A A e0 e1 e2L1 L1 L1 e1 e2 e3L2 L2 L2 e2 e3 e0L3 L3 L3 e3 e0 e1

.Define the matrix K:

K =

A A AL1 L1 L1

L2 L2 L2

L3 L3 L3

.Add to all rows of K the vectora = (a1,a2,a3), where a1 = (0, 1, 1, 1), a2 = (0, 2, 2, 2),a3 = (0, 3, 3, 3).

Page 30: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 13/20

Example

Show how to reconstruct the first nontrivial layer of the matrix K:[L1 L1 L1

].

Adding to this layer of the vector a, we obtain the following

matrices L(1)1 , L

(2)1 and L

(3)1 , respectively:

0 0 3 2

1 1 2 32 2 1 03 3 0 1

,

0 3 0 11 2 1 02 1 2 3

3 0 3 2

,

0 2 1 01 3 0 1

2 0 3 23 1 2 3

.Chose the row (0 0 3 2) of the first matrix L

(1)1 .

This choice uniquely implies the choice of the row (2 1 2 3) of the

second matrix L(2)1 and the choice of the row (1 3 0 1) of the third

matrix L(3)1 .

As a result we obtain the vector

(0 0 3 2, 2 1 2 3, 1 3 0 1)

which has an equitable symbol weight.

Page 31: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 13/20

Example

Show how to reconstruct the first nontrivial layer of the matrix K:[L1 L1 L1

].

Adding to this layer of the vector a, we obtain the following

matrices L(1)1 , L

(2)1 and L

(3)1 , respectively:

0 0 3 2

1 1 2 32 2 1 03 3 0 1

,

0 3 0 11 2 1 02 1 2 3

3 0 3 2

,

0 2 1 01 3 0 1

2 0 3 23 1 2 3

.

Chose the row (0 0 3 2) of the first matrix L(1)1 .

This choice uniquely implies the choice of the row (2 1 2 3) of the

second matrix L(2)1 and the choice of the row (1 3 0 1) of the third

matrix L(3)1 .

As a result we obtain the vector

(0 0 3 2, 2 1 2 3, 1 3 0 1)

which has an equitable symbol weight.

Page 32: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 13/20

Example

Show how to reconstruct the first nontrivial layer of the matrix K:[L1 L1 L1

].

Adding to this layer of the vector a, we obtain the following

matrices L(1)1 , L

(2)1 and L

(3)1 , respectively:

0 0 3 2

1 1 2 32 2 1 03 3 0 1

,

0 3 0 11 2 1 02 1 2 3

3 0 3 2

,

0 2 1 01 3 0 1

2 0 3 23 1 2 3

.Chose the row (0 0 3 2) of the first matrix L

(1)1 .

This choice uniquely implies the choice of the row (2 1 2 3) of the

second matrix L(2)1 and the choice of the row (1 3 0 1) of the third

matrix L(3)1 .

As a result we obtain the vector

(0 0 3 2, 2 1 2 3, 1 3 0 1)

which has an equitable symbol weight.

Page 33: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 13/20

Example

Show how to reconstruct the first nontrivial layer of the matrix K:[L1 L1 L1

].

Adding to this layer of the vector a, we obtain the following

matrices L(1)1 , L

(2)1 and L

(3)1 , respectively:

0 0 3 2

1 1 2 32 2 1 03 3 0 1

,

0 3 0 11 2 1 02 1 2 3

3 0 3 2

,

0 2 1 01 3 0 1

2 0 3 23 1 2 3

.Chose the row (0 0 3 2) of the first matrix L

(1)1 .

This choice uniquely implies the choice of the row (2 1 2 3) of the

second matrix L(2)1 and the choice of the row (1 3 0 1) of the third

matrix L(3)1 .

As a result we obtain the vector

(0 0 3 2, 2 1 2 3, 1 3 0 1)

which has an equitable symbol weight.

Page 34: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 13/20

Example

Show how to reconstruct the first nontrivial layer of the matrix K:[L1 L1 L1

].

Adding to this layer of the vector a, we obtain the following

matrices L(1)1 , L

(2)1 and L

(3)1 , respectively:

0 0 3 2

1 1 2 32 2 1 03 3 0 1

,

0 3 0 11 2 1 02 1 2 3

3 0 3 2

,

0 2 1 01 3 0 1

2 0 3 23 1 2 3

.Chose the row (0 0 3 2) of the first matrix L

(1)1 .

This choice uniquely implies the choice of the row (2 1 2 3) of the

second matrix L(2)1 and the choice of the row (1 3 0 1) of the third

matrix L(3)1 .

As a result we obtain the vector

(0 0 3 2, 2 1 2 3, 1 3 0 1)

which has an equitable symbol weight.

Page 35: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 14/20

Example

Continuing in this way we obtain the optimal equitable symbolweight equidistant 4-ary code with parameters (1)(n = 42 − 1 = 15,M = 42 = 16, d = 4(4− 1) = 12), whose allcodewords look as follows:

0 1 1 1 0 2 2 2 0 3 3 3 0 1 21 0 0 0 1 3 3 3 1 2 2 2 0 1 22 3 3 3 2 0 0 0 2 1 1 1 0 1 23 2 2 2 3 1 1 1 3 0 0 0 0 1 2

0 0 3 2 2 1 2 3 1 3 0 1 1 2 31 1 2 3 3 0 3 2 0 2 1 0 1 2 32 2 1 0 0 3 0 1 3 1 2 3 1 2 33 3 0 1 1 2 1 0 2 0 3 2 1 2 3

0 3 2 0 2 2 3 1 1 0 1 3 2 3 01 2 3 1 3 3 2 0 0 1 0 2 2 3 02 1 0 2 0 0 1 3 3 2 3 1 2 3 03 0 1 3 1 1 0 2 2 3 2 0 2 3 0

0 2 0 3 2 3 1 2 1 1 3 0 3 0 11 3 1 2 3 2 0 3 0 0 2 1 3 0 12 0 2 1 0 1 3 0 3 3 1 2 3 0 13 1 3 0 1 0 2 1 2 2 0 3 3 0 1

Page 36: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 15/20

Codes from difference matrices

For construction of codes with parameters (2) recall the definitionof difference matrix D(n, q).

Assume that the alphabet Q is an additive abelian group withneutral element 0.

Definition 2.

Call the matrix D(n, q) of size n× n over Q by the differencematrix, if the difference of any two its rows contains every symbolof the alphabet Q exactly n/q times.

Page 37: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 15/20

Codes from difference matrices

For construction of codes with parameters (2) recall the definitionof difference matrix D(n, q).Assume that the alphabet Q is an additive abelian group withneutral element 0.

Definition 2.

Call the matrix D(n, q) of size n× n over Q by the differencematrix, if the difference of any two its rows contains every symbolof the alphabet Q exactly n/q times.

Page 38: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 15/20

Codes from difference matrices

For construction of codes with parameters (2) recall the definitionof difference matrix D(n, q).Assume that the alphabet Q is an additive abelian group withneutral element 0.

Definition 2.

Call the matrix D(n, q) of size n× n over Q by the differencematrix, if the difference of any two its rows contains every symbolof the alphabet Q exactly n/q times.

Page 39: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 16/20

Codes from difference matrices

Main result 2

Theorem 2. Let integer numbers q ≥ 2 and n be such that thereexists a difference matrix D(n, q) over the alphabet Q. Then thereexists an optimal equitable symbol weight q-ary code withparameters

n, M = q(n− 1), d = (q − 1)n/q.

Page 40: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 17/20

Codes from difference matrices

Without loss of generality assume that the difference matrixD(n, q) contains a zero word (0, 0, . . . , 0). Then clearly all otherrows contain every symbol exactly n/q times.

There are n− 1 such rows and the pairwise distance d between anytwo different rows equals

d = n · q − 1

q

according to definiton of a difference matrix. Adding all these rowswith vectors of length n

(0, . . . , 0), (1, . . . , 1), . . . , (q − 1, . . . , q − 1),

we obtain all together q(n− 1) vectors, which form our code.This construction was used in(Bassalygo-Dodunekov-Helleseth-Zinoviev, 2006) for constructionof q-ary analog of binary codes, meeting the Gray-Rankin bound.

Page 41: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 17/20

Codes from difference matrices

Without loss of generality assume that the difference matrixD(n, q) contains a zero word (0, 0, . . . , 0). Then clearly all otherrows contain every symbol exactly n/q times.There are n− 1 such rows and the pairwise distance d between anytwo different rows equals

d = n · q − 1

q

according to definiton of a difference matrix. Adding all these rowswith vectors of length n

(0, . . . , 0), (1, . . . , 1), . . . , (q − 1, . . . , q − 1),

we obtain all together q(n− 1) vectors, which form our code.

This construction was used in(Bassalygo-Dodunekov-Helleseth-Zinoviev, 2006) for constructionof q-ary analog of binary codes, meeting the Gray-Rankin bound.

Page 42: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 17/20

Codes from difference matrices

Without loss of generality assume that the difference matrixD(n, q) contains a zero word (0, 0, . . . , 0). Then clearly all otherrows contain every symbol exactly n/q times.There are n− 1 such rows and the pairwise distance d between anytwo different rows equals

d = n · q − 1

q

according to definiton of a difference matrix. Adding all these rowswith vectors of length n

(0, . . . , 0), (1, . . . , 1), . . . , (q − 1, . . . , q − 1),

we obtain all together q(n− 1) vectors, which form our code.This construction was used in(Bassalygo-Dodunekov-Helleseth-Zinoviev, 2006) for constructionof q-ary analog of binary codes, meeting the Gray-Rankin bound.

Page 43: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 18/20

Codes from difference matrices

It is easy to see that this code is equitable symbol weight with twopairwise distances (q − 1)n/q and n (Semakov-Zaitzev-Zinoviev,1969).

Since every codeword has the same weight w = (q − 1)n/q, thenumber of codewords is less or equal to Aq(n, d, w), i.e. maximalpossible number of codewords of length n, distance d on sphere ofradius w.

Page 44: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 18/20

Codes from difference matrices

It is easy to see that this code is equitable symbol weight with twopairwise distances (q − 1)n/q and n (Semakov-Zaitzev-Zinoviev,1969).Since every codeword has the same weight w = (q − 1)n/q, thenumber of codewords is less or equal to Aq(n, d, w), i.e. maximalpossible number of codewords of length n, distance d on sphere ofradius w.

Page 45: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 19/20

Codes from difference matrices

FurtherAq(n, d, w) ≤ q ·Aq(n− 1, d, w)

andAq(n− 1, (q − 1)n/q, (q − 1)n/q) ≤ n− 1,

where the last inequality follows from the following (Johnson type)bound for q-ary constant weight codes (Bassalygo, 1965):

Aq(n, d, w) ≤

(1− 1

q

)dn

w2 −(1− 1

q

)(2w − d)n

.

Therefore the constructed code is optimal as equitable symbolweight code of length n with distance d = (q− 1)n/q (but it is notoptimal as a code of length n even with the same two distances(Bassalygo-Dodunekov-Zinoviev-Helleseth, 2006)).

Page 46: On q-ary optimal equitable symbol weight codes · On q-ary optimal equitable symbol weight codes 1/20 On q-ary optimal equitable symbol weight codes L. A. Bassalygo, V.A. Zinoviev

On q-ary optimal equitable symbol weight codes 20/20

Codes from difference matrices

From Theorem 2 and the results of (Semakov-Zaitzev-Zinoviev,1969) such optimal equitable symbol weight codes with parameters

n, M = q(n− 1), d = (q − 1)n/q.

exist for any n = pa and q = pb, where p is a prime, and a and b,a > b ≥ 1 are any positive integers.


Recommended