Papers
Topics
Authors
Recent
Search
2000 character limit reached

Symbol-Pair Metric Overview

Updated 6 July 2026
  • The symbol-pair metric is a distance measure defined on cyclic pair-read vectors that captures errors in overlapping adjacent symbol pairs, unlike traditional Hamming distance.
  • It underpins advanced coding constructions, enabling the development of optimal MDS and AMDS codes through algebraic, cyclic, and repeated-root methodologies.
  • The metric extends naturally to b-symbol metrics, influencing decoding strategies, covering theory, and even quantum CSS code designs for broader error correction applications.

The pair-symbol metric, more commonly called the symbol-pair metric, is a distance on words over a finite alphabet induced by a read model in which a channel outputs overlapping adjacent pairs rather than individual symbols. For a length-nn word over Fq\mathbb F_q, the relevant observation is the cyclic pair-read vector ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big), and distance is measured by the Hamming distance between such pair-read vectors. The metric was proposed for symbol-pair read channels motivated by high-density storage systems, where isolated symbol reads may be physically impractical and pair-errors are more natural than ordinary symbol errors. In the subsequent literature, the pair-symbol metric became a central object for the construction of MDS and AMDS codes, for exact distance computation in cyclic and constacyclic families, and for extensions to the general bb-symbol metric (Ding et al., 2016, Chen, 2022).

1. Formal definition and elementary structure

Let x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n, with indices taken modulo nn. The symbol-pair read vector is

π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).

For x,y∈Fqnx,y\in \mathbb F_q^n, the symbol-pair distance is

dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,

equivalently the Hamming distance between π(x)\pi(x) and Fq\mathbb F_q0. The associated symbol-pair weight is

Fq\mathbb F_q1

so that for linear codes Fq\mathbb F_q2, and the minimum symbol-pair distance of a linear code is the minimum pair weight of its nonzero codewords (Tang et al., 2021, Ma et al., 2020).

The pair-symbol metric differs from the Hamming metric because it counts disagreements of adjacent ordered pairs rather than coordinatewise disagreements. A standard comparison used throughout the literature is

Fq\mathbb F_q3

and similarly for linear codes,

Fq\mathbb F_q4

A sharper structural statement is that if the support of the Hamming difference between Fq\mathbb F_q5 and Fq\mathbb F_q6 splits into Fq\mathbb F_q7 consecutive blocks modulo Fq\mathbb F_q8, then

Fq\mathbb F_q9

This formula makes explicit that the pair-symbol metric is sensitive not only to the number of symbol disagreements but also to their local clustering (Ma et al., 2020, Tang et al., 2021).

Notation varies across the literature. The same distance appears as ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)0, ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)1, ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)2, or ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)3, and the corresponding weight as ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)4, ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)5, or ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)6. These are different notational realizations of the same pair-symbol metric (Ma et al., 2019).

2. Channel model, decoding meaning, and order sensitivity

The symbol-pair metric is tied to the symbol-pair read channel, where the decoder does not receive ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)7 itself but the cyclic list of adjacent pairs. This model was introduced to guard against pair-errors in high-density storage systems, where the read process may produce overlapping symbol pairs instead of isolated symbols. In that setting, the natural performance parameter is the minimum symbol-pair distance ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)8, not the ordinary Hamming distance (Ding et al., 2016, Ma, 2022).

As in classical coding theory, distance controls correction capability. The literature repeatedly uses the fact that a code with minimum pair distance ((x0,x1),(x1,x2),…,(xn−1,x0))\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big)9 can correct up to

bb0

symbol-pair errors. This is the pair-metric analogue of the standard Hamming-metric decoding radius and explains why code constructions aim to maximize bb1 rather than only bb2 (Ma et al., 2020, Ma, 2022).

A common misconception is that pair distance is determined solely by Hamming weight. The literature shows instead that coordinate order matters. In the study of simplex and variation simplex codes, two permutations of the same simplex codeword were shown to have different symbol-pair weights: one had pair weight bb3, another had pair weight bb4. Thus rearranging coordinates can preserve Hamming weight while changing symbol-pair weight. This order sensitivity is one of the defining features of the pair-symbol metric and underlies several later construction methods based on coordinate permutations (Ma et al., 2019).

3. Bounds, optimality notions, and asymptotic length formulas

The basic upper bound is the Singleton-type bound for symbol-pair codes: bb5 for a length-bb6 bb7-ary symbol-pair code with minimum pair distance bb8. A code meeting this bound with equality is called an MDS symbol-pair code. For a linear bb9 code, equality yields

x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n0

Several papers also use the term AMDS symbol-pair code for the one-step-short case x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n1, or equivalently for linear codes of size x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n2 (Ma et al., 2020, Tang et al., 2022).

The same literature develops further extremal bounds in the generalized x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n3-symbol setting. For

x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n4

a Griesmer-type lower bound for linear x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n5-symbol codes is

x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n6

equivalently

x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n7

For fixed x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n8, the optimal length function satisfies

x=(x0,x1,…,xn−1)∈Fqnx=(x_0,x_1,\dots,x_{n-1})\in \mathbb F_q^n9

for all sufficiently large nn0. In particular, for nn1, this yields an eventual exact length formula for linear codes in the pair-symbol metric (Kurz, 10 Jul 2025).

Upper-bound phenomena also appear through covering theory. One paper proves that if a symbol-pair code has minimum pair distance nn2, then for

nn3

the code is not MDS. This is presented as a general upper bound on the lengths of MDS symbol-pair codes (Chen, 2022).

4. Exact distance computation and algebraic determination

A major strand of the theory concerns exact determination of pair distances for algebraically structured codes, especially repeated-root cyclic and constacyclic codes.

For cyclic codes of length nn4 over nn5, every code has the form

nn6

The pair distances of all such codes were determined exactly. When nn7,

nn8

For nn9, the complete classification is piecewise, with values such as π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).0, π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).1, π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).2, π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).3, π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).4, and π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).5 on explicitly described intervals of π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).6. This theorem gives the exact minimum symbol-pair distance for every repeated-root cyclic code of length π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).7 (Zhu et al., 2016).

For repeated-root cyclic codes over

π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).8

of length π(x)=((x0,x1),(x1,x2),…,(xn−1,x0)).\pi(x)=\big((x_0,x_1),(x_1,x_2),\dots,(x_{n-1},x_0)\big).9, the decisive invariant is the third torsional degree x,y∈Fqnx,y\in \mathbb F_q^n0, defined via

x,y∈Fqnx,y\in \mathbb F_q^n1

The paper shows that both the minimum symbol-pair weight and the minimum RT weight are determined from x,y∈Fqnx,y\in \mathbb F_q^n2. In particular,

x,y∈Fqnx,y\in \mathbb F_q^n3

while the minimum symbol-pair weight is a piecewise function of x,y∈Fqnx,y\in \mathbb F_q^n4 indexed by the x,y∈Fqnx,y\in \mathbb F_q^n5-adic position of x,y∈Fqnx,y\in \mathbb F_q^n6. This reduces a pair-metric distance problem over a non-chain ring to a torsion-degree computation (Kim, 2020).

For reducible cyclic codes x,y∈Fqnx,y\in \mathbb F_q^n7, cyclotomic numbers, generalized cyclotomic numbers, and Gaussian periods are used to determine possible symbol-pair weights through the count

x,y∈Fqnx,y\in \mathbb F_q^n8

Under the stated x,y∈Fqnx,y\in \mathbb F_q^n9 conditions, the minimum pair distance satisfies

dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,0

The same work also identifies several three symbol-pair weight families and determines their symbol-pair weight distributions (Wang et al., 2023).

Framework Structural mechanism Pair-metric consequence
Cyclic codes of length dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,1 Generator dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,2 Exact classification of dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,3 for every dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,4
Repeated-root cyclic codes over dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,5 Third torsional degree dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,6 Piecewise formula for minimum pair weight; dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,7
Reducible cyclic codes dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,8 Cyclotomic numbers and Gaussian periods Explicit pair-weight sets; in dp(x,y)=∣{i∈Zn:(xi,xi+1)≠(yi,yi+1)}∣,d_p(x,y)=\left|\left\{i\in \mathbb Z_n:(x_i,x_{i+1})\neq (y_i,y_{i+1})\right\}\right|,9 cases π(x)\pi(x)0

These results show that the pair-symbol metric is not merely an auxiliary reformulation of Hamming distance. In the algebraic code families where exact analysis is possible, pair distance exhibits its own piecewise regimes, its own extremal constructions, and its own governing invariants.

5. Explicit construction of MDS and AMDS symbol-pair codes

The construction theory of optimal pair-symbol codes is extensive and uses projective geometry, elliptic curves, repeated-root cyclic codes, constacyclic codes, matrix-product codes, and simple-root cyclic codes.

A foundational geometric construction proves that a linear MDS π(x)\pi(x)1 symbol-pair code exists if and only if

Ï€(x)\pi(x)2

For pair distance π(x)\pi(x)3, linear MDS π(x)\pi(x)4 symbol-pair codes exist for all

Ï€(x)\pi(x)5

using ovoids in π(x)\pi(x)6. With elliptic curves, linear MDS π(x)\pi(x)7 symbol-pair codes are constructed for

Ï€(x)\pi(x)8

where π(x)\pi(x)9 or Fq\mathbb F_q00 (Ding et al., 2016).

Repeated-root cyclic constructions produce high pair distances. For prime Fq\mathbb F_q01 with Fq\mathbb F_q02, MDS Fq\mathbb F_q03 and Fq\mathbb F_q04 symbol-pair codes are constructed, and for every odd prime Fq\mathbb F_q05 there is an MDS Fq\mathbb F_q06 symbol-pair code (Ma et al., 2020). Other repeated-root constructions over Fq\mathbb F_q07 with Fq\mathbb F_q08 give MDS Fq\mathbb F_q09 and Fq\mathbb F_q10 symbol-pair codes (Ma et al., 2020). A later paper constructs six AMDS families with

Fq\mathbb F_q11

including one class of unbounded lengths and one class with minimum symbol-pair distance Fq\mathbb F_q12 (Ma, 2022).

Constacyclic classification results identify exactly which codes in certain repeated-root constacyclic classes are MDS. Over Fq\mathbb F_q13, the listed MDS families include Fq\mathbb F_q14, Fq\mathbb F_q15, Fq\mathbb F_q16 in the special case Fq\mathbb F_q17, Fq\mathbb F_q18 for Fq\mathbb F_q19, Fq\mathbb F_q20, Fq\mathbb F_q21, Fq\mathbb F_q22 for Fq\mathbb F_q23, and Fq\mathbb F_q24. The same work proves there are no other nontrivial MDS symbol-pair constacyclic codes in the studied classes over finite fields and the ring Fq\mathbb F_q25 with Fq\mathbb F_q26 (Tang et al., 2021).

Matrix-product methods with permutation equivalence produce six further MDS classes. Under the stated congruence conditions, the constructions yield MDS Fq\mathbb F_q27, Fq\mathbb F_q28, Fq\mathbb F_q29, Fq\mathbb F_q30, Fq\mathbb F_q31, and Fq\mathbb F_q32 symbol-pair codes over prime power fields. The key mechanism is that permutation equivalence preserves Hamming parameters but can enlarge symbol-pair distance by changing adjacency patterns (Zheng et al., 2024).

Simple-root cyclic constructions extend the known range of long optimal codes. Three infinite families are obtained: Fq\mathbb F_q33

Fq\mathbb F_q34

and

Fq\mathbb F_q35

The same paper states that for pair distance Fq\mathbb F_q36 or Fq\mathbb F_q37, these Fq\mathbb F_q38-ary MDS symbol-pair codes achieve the longest known code length when Fq\mathbb F_q39 is not a prime, and for pair distance Fq\mathbb F_q40, they attain the longest known code length regardless of whether Fq\mathbb F_q41 is prime (Qiu et al., 26 Mar 2025).

6. Generalizations, distributions, covering theory, and quantum extensions

The pair-symbol metric is the case Fq\mathbb F_q42 of the Fq\mathbb F_q43-symbol metric. For

Fq\mathbb F_q44

the Fq\mathbb F_q45-symbol weight and distance are

Fq\mathbb F_q46

The standard comparison becomes

Fq\mathbb F_q47

This generalization is central in covering theory, list decoding, and asymptotic length questions (Chen, 2022, Kurz, 10 Jul 2025).

Weight distribution theory reveals further metric-specific behavior. For Fq\mathbb F_q48 MDS codes, the symbol-pair weight distribution Fq\mathbb F_q49 satisfies

Fq\mathbb F_q50

and explicit formulas are derived for Fq\mathbb F_q51. For cyclic simplex codes, all nonzero codewords have the same symbol-Fq\mathbb F_q52-weight: Fq\mathbb F_q53 In particular, in the pair-symbol case Fq\mathbb F_q54, every nonzero cyclic simplex codeword has

Fq\mathbb F_q55

Variation simplex codes exhibit a different uniform value,

Fq\mathbb F_q56

while also illustrating that coordinate rearrangement can change pair weight (Ma et al., 2019).

Covering theory in the pair and Fq\mathbb F_q57-symbol metrics diverges from its Hamming counterpart. The literature proves that there is no perfect linear symbol-pair code with minimum pair distance Fq\mathbb F_q58 and no perfect Fq\mathbb F_q59-symbol metric code if

Fq\mathbb F_q60

It also determines the covering radius of Reed–Solomon codes: Fq\mathbb F_q61 These results feed into generalized Singleton-type bounds for list-decodable Fq\mathbb F_q62-symbol codes (Chen, 2022).

A recent quantum extension relates symbol-pair weight to symplectic weight for CSS decoding. For a binary vector Fq\mathbb F_q63 and its cyclic left shift Fq\mathbb F_q64,

Fq\mathbb F_q65

Using this identity, a symbol-pair syndrome decoder for classical cyclic codes is lifted to a decoder for CSS codes, yielding improved correction capability for certain cyclic CSS constructions (Jha et al., 2024).

Taken together, these developments show that the pair-symbol metric has evolved from a storage-motivated distance on overlapping pairs into a mature metric framework with its own extremal theory, exact algebraic classifications, covering and list-decoding bounds, metric-specific weight distributions, and even quantum-decoding applications.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Pair-Symbol Metric.