Manuscript Offprint
arXiv:2611.05335Plotkin-optimal pure quantum LRCs with large minimum distances from NMDS codes
Abstract
Quantum locally recoverable codes (qLRCs) are a class of quantum error-correcting codes that can recover an erased qudit by accessing only a few other qudits. This paper develops a general framework for constructing optimal pure qLRCs that attain the Plotkin-like bound, referred to as Plotkin-optimal pure qLRCs, from Hermitian dual-containing near maximum-distance separable (NMDS) codes. Focusing on a special class of NMDS codes called extended subcodes of generalized Reed-Solomon (ESGRS) codes, we determine their localities by analyzing certain subset sum problems over finite fields. By further exploiting the algebraic structures of ESGRS codes and related codes, we construct four families of Plotkin-optimal pure qLRCs with large lengths and more flexible minimum distances than existing constructions. These constructions provide strong global error-correction capability while retaining local recovery. To the best of our knowledge, they give the first families of qLRCs attaining the pure Plotkin-like bound. In addition, by using the resulting locality property, we resolve in the negative a related problem on ESGRS codes supporting combinatorial designs.
Index Terms
Quantum locally recoverable code, Plotkin-optimal code, NMDS code, large minimum distance, subset sum.
respectively. Then given an (resp. ) linear code , its (Euclidean) dual (resp. Hermitian dual) is given by
If and , we say that is a near maximum distance separable (NMDS) code. In addition, is said to be self-orthogonal if , dual-containing if , and these two definitions also apply when the Hermitian dual is used in place of the Euclidean dual. Furthermore, is Euclidean (resp. Hermitian) self-orthogonal if and only if (resp. ) is Euclidean (resp. Hermitian) dual-containing.
This research of Yang Li and San Ling was supported by Nanyang Technological University under Research Grant 04INS000047C230GRT01. The research of Shitao Li was supported by the National Natural Science Foundation of China under Grant 12526612. The research of Gaojun Luo was supported by the National Natural Science Foundation of China under Grant 12401690. (Corresponding author: Gaojun Luo)
Yang Li is with the School of Physical and Mathematical Sciences, Nanyang Technological University, Singapore 637371, Singapore (e-mail: yanglimath@163.com).
Shitao Li is with the School of Internet, Anhui University, Hefei, Anhui 230039, China (e-mail: lishitao0216@163.com).
Gaojun Luo is with the School of Mathematics, Nanjing University of Aeronautics and Astronautics, Nanjing, Jiangsu 211106, China (e-mail: gaojun_luo@nuaa.edu.cn)
San Ling is with the School of Physical and Mathematical Sciences, Nanyang Technological University, 21 Nanyang Link, Singapore 637371, Singapore (e-mail: lingsan@ntu.edu.sg). He is also with VinUniversity, Vinhomes Ocean Park, Gia Lam, Hanoi 100000, Vietnam (e-mail: ling.s@vinuni.edu.vn).
A. Quantum locally recoverable codes
Both self-orthogonal codes and dual-containing codes are closely related to quantum error-correcting codes [32]. Let be the field of complex numbers and let be the -dimensional Hilbert space over . Specifically, a quantum error-correcting code of length , dimension , minimum distance , and alphabet size , denoted by , is a -dimensional subspace of the Hilbert space . Such a quantum error-correcting code can encode logical qudits into entangled states of qudits and protects against the erasure of any set of qudits. Moreover, in the literature of quantum error control, is pure if distinct elements of the corresponding group of quantum error operators produce orthogonal results when applied to the codewords of , and impure otherwise. Similar to classical locally recoverable codes (cLRCs) [21], Golowich and Guruswami [20] introduced quantum locally recoverable codes (qLRCs), motivated by their potential applications in practically achievable large-scale quantum data storage systems [5], [29]. Generally speaking, a qLRC is a quantum error-correcting code with the property that, if any single qudit of is erased, the state can be recovered from other qudits via a recovery channel.
In the same paper [20], Golowich and Guruswami further investigated the implications of qLRCs for the construction and analysis of quantum low-density parity-check (qLDPC) codes. In a quantum locally recoverable process, each codeword is checked by only two low-weight stabilizers, whereas in a qLDPC code, each codeword must be constrained by a large collection of low-weight stabilizers. From this perspective, qLRCs may be viewed as a foundational step toward understanding and developing stronger locality properties in qLDPC codes. Recently, qLRCs were further generalized to the concept of -qLRCs in [17] and they are the same if . Note also that the connection between qLRCs and cLRCs has been established in [17], [20] under the Euclidean and Hermitian inner products, via the CSS construction and the Hermitian construction, respectively. In this paper, we restrict our attention to standard qLRCs within the framework of [20], as they are more directly relevant to practical applications. For more constructions and variations of qLRCs, we refer the reader to [6]–[8], [17]–[20], [35], [36], [40], [43], [49], [50].
B. Known results and our motivations
Our motivations come from two problems concerning the construction of qLRCs. To evaluate the performance of an qLRC with locality , Golowich and Guruswami [20] used quantum mechanical arguments to establish a Singleton-like bound. Subsequently, based on the connections between qLRCs and cLRCs, Galindo et al. [17] and Li et al. [36] established several bounds for pure qLRCs constructed from the Hermitian construction, including the pure Singleton-like bound in (1), the pure Griesmer-like bound in (2), and the pure Plotkin-like bound in (3) (see Lemma 7 for more details). Furthermore, Li et al. [36] showed that such pure bounds are always tighter than Golowich and Guruswami's Singleton-like bound. Given any bound for qLRCs and any two parameters chosen from , and , if the remaining parameter attains the largest integer satisfying (when is an upper bound) or the smallest integer satisfying (when is a lower bound), then the corresponding qLRC is said to be optimal with respect to . In particular, a qLRC whose parameters achieve equality in any bound for qLRCs is considered optimal. Using Hermitian dual-containing MDS codes, Hamming codes, generalized Reed-Muller codes, projective Solomon-Stiffler codes, matrix-product codes, cyclic codes, trace codes, and decomposition of parity-check matrices, the authors in [7], [8], [17], [36], [40], [49], [50] constructed several families of pure qLRCs that are optimal with respect to the pure Sphere-packing-like bound, the pure Singleton-like bound, or the pure Griesmer-like bound. However, as summarized in [36, Section V], it remains open how to construct optimal pure qLRCs from the Hermitian construction with respect to the pure Plotkin-like bound, namely, Plotkin-optimal pure qLRCs. This question was further proposed by Cao and Zhou in the language of matrix-product codes as a problem in [7, Section VII]. Since linear codes can be viewed as matrix-product codes in a broad sense, we rephrase this problem in the following form.
Problem 1. ([7], [36]) Can we construct Plotkin-optimal pure qLRCs from the Hermitian construction?
On the other hand, we observe that the known qLRCs with relatively small lengths constructed in [20], [43] via the CSS construction could have large minimum distances, but they are generally not optimal with respect to the corresponding bounds for qLRCs [20], [40]. Furthermore, the known families of optimal pure qLRCs with large lengths no less than reported in the literature typically have fixed and small minimum distances.
For example, the largest minimum distance of the optimal pure qLRCs constructed in [40] is 6, while those of the optimal pure qLRCs constructed in [7], [8], [36], [49], [50] are only 3 or 4. As far as we know, only the family of optimal pure qLRCs contained in [35, Theorem 9] has both large lengths and minimum distances. However, this family is defined only over finite fields of characteristic 2, and its dimensions are restricted to even values. We summarize the specific parameters of these qLRCs with large lengths in Table I for easy reference. Note also that, for better correction of qudit erasures and errors, it is desirable to construct qLRCs with larger and more flexible minimum distances, as such properties provide greater freedom in balancing the parameters required for both local and global quantum recovery [35]. In view of the above observations, the following problem naturally arises.
Problem 2. Can we construct optimal pure qLRCs with large lengths and flexible minimum distances over general finite fields via the Hermitian construction?
C. Our contributions and techniques
This paper addresses Problem 1 and Problem 2 in a unified manner by exploiting a special family of NMDS codes, namely the extended subcodes of generalized Reed-Solomon (ESGRS) codes introduced in [1] and [37], whose formal definition can be found in Definition 12. In particular, we leverage ESGRS codes to construct several families of Plotkin-optimal pure qLRCs with large lengths and flexible minimum distances. The main contributions and techniques of this work can be summarized as follows.
-
In Theorem 9, we show that applying the Hermitian construction in Lemma 6 to any NMDS code with necessarily yields a pure qLRC with locality . Moreover, when , we prove that is simultaneously optimal with respect to the pure Singleton-like bound in (1), the pure Griesmer-like bound in (2), and the pure Plotkin-like bound in (3). In contrast, when , we establish additional conditions ensuring the optimality of . As stated in Remark 11, the purity properties can also be extended to so-called -MDS codes. In particular, Theorem 9 provides a general framework toward addressing Problem 1.
-
For any ESGRS code , we first show in Theorem 15.1) that it has locality by explicitly identifying singular submatrices in its generator matrix. By considering solutions to certain subset sum problems over finite fields, we then obtain in Theorem 15.2) a sufficient condition under which the dual code has locality in Theorem 15.2). Although it is trivial for a -dimensional linear code to have locality , we exploit this locality property of ESGRS codes to further show that the minimum weight codewords of cannot support nontrivial combinatorial -designs for any , thereby resolving in the negative a problem in [37]. Such a result is established in Theorem 17.
-
By further analyzing the algebraic structures of ESGRS codes together with subset sum problems over finite fields, we apply the framework developed in Theorem 9 to construct three families of Plotkin-optimal pure qLRCs in Theorems 22, 24, and 25. Another family of Plotkin-optimal pure qLRCs is obtained in Remark 23.2) as a complement of Theorem 22. Note that these qLRCs also achieve the pure Singleton-like bound in (1) and the pure Griesmer-like bound in (2). For easy reference, we collect their parameters in Table II. Relative to the known results listed in Table I, our optimal qLRCs admit not only lengths of order , but also larger and more flexible minimum distances. Therefore, Theorems 22, 24, and 25, as well as Remark 23 provide affirmative answers to Problem 1 and Problem 2 at the same time.
This paper is organized as follows. Section II reviews several known results on qLRCs. Section III establishes a general framework for constructing Plotkin-optimal pure qLRCs from Hermitian dual-containing NMDS codes. Section IV gives a brief introduction to ESGRS codes and investigates their locality properties. Leveraging these locality properties, we further resolve in the negative a problem concerning combinatorial designs supported by ESGRS codes. Section V subsequently derives four families of Plotkin-optimal pure qLRCs with large lengths and flexible minimum distances via ESGRS codes. Finally, Section VI concludes the paper with some remarks and directions for future research.
II. KNOWN RESULTS ON QLRCs
We first recall some basic results on cLRCs. Given a codeword , define its support as . Then a cLRC can be mathematically defined as follows.
TABLE I KNOWN FAMILIES OF OPTIMAL PURE QLRCs WITH LARGE LENGTHS
| No. | Maximum length | Condition | Reference | ||
|---|---|---|---|---|---|
| 1 | [7, Theorem 9] | ||||
| 2 | [8, Theorem 29] | ||||
| 3 | [19, Table I] | ||||
| 4 | [36, Theorem 10] | ||||
| 5 | [40, Theorem 11] | ||||
| 6 | [49, Theorem 6] | ||||
| 7 | [50, Theorem 5.6] |
Note. The authors constructed more families of optimal pure qLRCs in [7], [8], [19], [36], [50]. For each reference, we list one representative family with the largest minimum distance. The reader is referred to the corresponding references for more details on the other constructions.
TABLE II OUR PLOTKIN-OPTIMAL PURE QLRCs WITH LARGE LENGTHS AND FLEXIBLE MINIMUM DISTANCES
| No. | Maximum length | Condition | Reference | ||
|---|---|---|---|---|---|
| 1 | Theorem 22 | ||||
| 2 | Remark 23 | ||||
| 3 | Theorem 24 | ||||
| 4 | Theorem 25 |
Note. These four families of Plotkin-optimal pure qLRCs are also optimal with respect to the pure Singleton-like bound in (1) and the pure Griesmer-like bound in (2), simultaneously. The notation used in the table is specified in the corresponding theorems.
Definition 3. ([40, Definition 1]) An linear code with dual is said to be a classical locally recoverable code (cLRC) with locality if, for each , there exists some codeword such that and . Moreover, we abbreviate such a code as an cLRC.
In fact, for a given NMDS code, its locality can only take two possible values, as shown in the following lemma.
Lemma 4. ([46, Theorem 14]) Let be an NMDS code with . Then the locality of is either or .
Similar to cLRCs, qLRCs are quantum error-correcting codes with a specific locality property. Note that there are various types of quantum error-correcting codes, and the so-called quantum stabilizer codes form the most important and interesting class. Quantum stabilizer codes have close connections to classical codes, containing those derived from the CSS construction, Hermitian construction, and symplectic construction [32]. Compared with the CSS construction, the Hermitian construction typically produces quantum error-correcting codes with superior parameters, and relative to the symplectic construction, it is generally more convenient to apply.
In this paper, we mainly focus on qLRCs obtained from the Hermitian construction. Then it is more straightforward to consider the definition of qLRCs under the notation used in [17].
Definition 5. ([17, Definitions 9 and 10]) A quantum error-correcting code is said to be a quantum locally recoverable code () with locality if, for each , there exists a set containing with such that for each subset with , there exists a trace-preserving map
, which acts only on the qudits corresponding to and keeps untouched the remaining ones, such that
for any , where is a mapping given as in [17].
In particular, for being a stabilizer code, Definition 5 can be reduced to an easier form by considering cLRCs with special structures. Let denote the minimum weight of all nonzero vectors in any nonempty set . The following lemma gives the Hermitian construction for qLRCs.
Lemma 6. (Hermitian construction for qLRCs [17, Theorem 29]) If is an Hermitian dual-containing code with locality and , then there exists an
qLRC with locality , where
Furthermore, such a qLRC is said to be pure if ; and impure otherwise.
Lemma 7. ([17, Theorem 31] and [36, Theorem 4]) Let be a pure qLRC with locality constructed by the Hermitian construction given in Lemma 6. Let . Then the following bounds hold.
- (Pure Singleton-like bound) We have that
- (Pure Griesmer-like bound) We have that
- (Pure Plotkin-like bound) We have that
Remark 8. Although the bounds presented in Lemma 7 were originally derived for the Hermitian construction, it is straightforward to verify that they remain valid for pure qLRCs obtained from the CSS construction (see [40, Corollary 3]) as well. In this case, it suffices to replace by in the corresponding formulas of these bounds, as linear codes over are considered here.
III. A GENERAL FRAMEWORK TO CONSTRUCT PLOTKIN-OPTIMAL PURE QLRCs FROM NMDS CODES
This section develops a general framework for resolving Problem 1 by employing Hermitian dual-containing NMDS codes. Within this framework, we establish the purity of the resulting qLRCs and analyze their optimality.
Theorem 9. Let be an Hermitian dual-containing NMDS code with . Then the following statements hold.
-
Applying the Hermitian construction in Lemma 6 to yields a pure qLRC with locality .
-
If has locality , then is optimal with respect to the pure Singleton-like bound in (1), the pure Griesmer-like bound in (2), and the pure Plotkin-like bound in (3), simultaneously.
-
If has locality , then is optimal with respect to the pure Griesmer-like bound in (2) if and the pure Plotkin-like bound in (3) if .
Proof: 1) Since is an Hermitian dual-containing NMDS code, we have , and its Hermitian dual is an NMDS code. Applying Lemma 6 to and then using Lemma 4 yields an qLRC with locality , where
It suffices to consider the case , which implies and . Hence, there exists a codeword such that and . As a result, we have and . Since , is a pure qLRC with locality .
- Since and , we have . Then or 1. Taking and applying the pure Singleton-like bound in (1), the pure Griesmer-like bound in (2), and the pure Plotkin-like bound in (3) to respectively gives that
and
Comparing (4), (5), and (6) with the parameters of Q, we conclude that Q is optimal with respect to these three bounds.
- Since is an Hermitian dual-containing NMDS code with , it follows from [15, Theorem 2.7] that . Then , as . Note that and . Applying the pure Griesmer-like bound in (2) and the pure Plotkin-like bound in (3) to gives that
and
respectively. Comparing (7) and (8) with the parameters of , we conclude that is optimal with respect to the pure Griesmer-like bound in (2) if and the pure Plotkin-like bound in (3) if , which is equivalent to .
Note that Theorem 9 in fact provides a general framework for constructing Plotkin-optimal pure qLRCs from Hermitian dual-containing NMDS codes. To highlight this perspective, we state the following result as an immediate corollary of Theorem 9.
Corollary 10. Given an Hermitian dual-containing NMDS code with , there exists a pure qLRC with locality . Moreover, is Plotkin-optimal if one of the following conditions holds:
•
• and .
For an linear code , we define its Singleton defect [10]. According to the well-known Singleton bound [25], . As a generalization of NMDS codes, we call an -MDS code if , where .
Remark 11. We now consider Theorem 9 in the more general -MDS setting. We have the following additional remarks.
-
By an argument analogous to that in the proof of Theorem 9.1), any qLRC obtained from a Hermitian dual-containing -MDS code must be pure. In other words, if applying Lemma 6 to a code results in an impure qLRC, then is not -MDS.
-
Note also that for , an -MDS code is more frequently called an MDS code. It is well-known that Hermitian dual-containing MDS codes always yield pure quantum MDS codes (see also [42]). There are also many families of Hermitian dual-containing MDS codes constructed in the literature (see, e.g., [9], [16], [22], [26]–[28], [30], [31] and the tables or references therein). However, an MDS code must have locality , which is trivial from the practical viewpoint according to [21], [35], [45]. Therefore, it may not be very interesting to construct pure qLRCs from Hermitian dual-containing MDS codes.
IV. LOCALITIES OF EXTENDED SUBCODES OF GRS CODES
A. Introduction to extended subcodes of GRS codes
The following gives the definition of extended subcodes of generalized Reed-Solomon (ESGRS) codes, which was first introduced by Li et al. in [37] and was further developed by Abdukhalikov et al. in [1].
Definition 12. Let and let . Let
Given , an extended subcode of generalized Reed-Solomon (ESGRS) code is defined as
where is the coefficient of in . Moreover, it can be checked that has a generator matrix of the form
From [37], there is an easy way to determine whether an ESGRS code is NMDS or not. Given a set , an integer with , and , we use to denote the number of -subsets such that
The problem of determining whether is usually called the subset sum problem. In addition, it is natural to define that
Then we have the following result.
Lemma 13. ([37, Theorem 4]) For given and , is an NMDS code if and only if , and it is an MDS code if and only if .
B. Localities of ESGRS codes and their duals
For an linear code and , let
where is the support of introduced before. Using (11), we have the following ways to determine the localities of NMDS codes and their duals.
Lemma 14. Let be an NMDS code. Then the following statements hold.
- ([46, Corollary 1]) has locality k-1 if and only if
- ([46, Theorem 16]) has locality if
Theorem 15. For given and , if , then the following statements hold.
-
is an cLRC.
-
If furthermore for any , then is an cLRC.
Proof: It follows from Lemma 13 that is an NMDS code. Let be a codeword with weight , and let be the corresponding nonzero vector of length obtained by deleting the zero coordinates of . Denote by a submatrix obtained by selecting distinct columns of indexed by , where is given in (9) and for any . Since the matrix is a parity-check matrix of , then the minimum weight codeword has support if and only if
According to the structure of given in (9), has the following two possible forms
where . Then we have
and
- With (12) and (13), we deduce that cannot be a support of for any . Therefore,
It turns out from Lemmas 4 and 14.1) that has locality k. This completes the proof of 1).
- Combining (12) and (14), we see that a minimum weight codeword has support if and only if
Therefore,
Note also that for any , we have
Since , it follows from (10) that
Then repeated application of (15) yields
Thus, if for any , then there exists a -subset such that . This implies that there is always at least one minimum weight codeword whose support avoids position , for every .
Combining with (12) and (14), we conclude that
It then follows from Lemma 14.2) that has locality . This completes the proof of 2). ■
C. A related problem on combinatorial designs
Combinatorial designs and linear codes have close connections [12]. Given an linear code , let and let be the set of supports of the codewords of weight in . If each -subset of is contained in exactly elements of , we say that the minimum weight codewords of support a design, where is a certain positive integer. If or , we call such a design trivial.
By removing the last coordinate of an ESGRS code, Han and Zhang [24] introduced the class of subcodes of GRS (SGRS) codes. Note that the authors of [38] proved that, in some cases, the minimum weight codewords of SGRS codes support 2-designs. It is also worth noting that many authors have successfully used extended codes of linear codes to construct further t-designs, while some of the original codes can also support -designs with [11]–[13], [44]. Motivated by these works, Li et al. [37] conducted extensive Magma [4] experiments and observed that the minimum weight codewords of do not support nontrivial t-designs in general, where . However, no theoretical proof of this phenomenon was provided in that paper. Furthermore, they left this as a research problem in [37, Section IV], which we rephrase as the following problem.
Problem 16. ([37, Section IV]) For given and , can the minimum weight codewords of support nontrivial -designs for some ?
Based on Theorem 15, we disprove this problem with the following result. To this end, we need a useful lemma.
Theorem 17. Minimum weight codewords of any ESGRS code cannot support nontrivial t-designs for any . Therefore, the answer to Problem 16 is negative.
Proof: Since MDS codes can only support complete designs, and hence trivial designs, it suffices to consider NMDS ESGRS codes by Lemma 13. Let be an NMDS ESGRS code, and assume that its minimum weight codewords support a nontrivial -design for some . Then is an linear code whose minimum weight codewords also support a nontrivial -design, namely, the complementary design of the original one. By Definition 12, we have and . Therefore, both and its dual have minimum distance at least 2. Moreover, since every -design with is in particular a 1-design with alternative parameters, the minimum weight codewords of support a nontrivial 1-design. By the definition of locality, an linear code has locality if every coordinate is contained in the support of some minimum weight codeword of . This condition is guaranteed when the minimum weight codewords of support a nontrivial 1-design (see also [46, Corollary 3]). Applying this to , we obtain that the locality of is
This contradicts Theorem 15.1). Therefore, the minimum weight codewords of cannot support any nontrivial -design with , yielding a negative answer to Problem 16. This completes the proof.
In the following, we provide an example to illustrate Theorems 15 and 17. In particular, this example shows that the sufficient condition in Theorem 15.2) is also necessary in certain cases.
Example 18. Let and . Take and . Let and be the ESGRS codes with respective generator matrices
and
Then we have the following results, where all computations have been carried out or verified using Magma [4].
-
Since in and in , by Lemma 13, both and are NMDS codes.
-
With Theorem 15.1), both and have locality 4. In fact, we have
and
These coincide with the proof of Theorem 15.1).
- Let
Then
and
With Theorem 15.2), we know that has locality 3, while may not have locality 3. Furthermore, we verify that the locality of is actually 4.
- We verify that the minimum weight codewords of both and cannot support nontrivial -designs for any . This coincides with Theorem 17.
V. PLOTKIN-OPTIMAL PURE QLRCS WITH LARGER AND MORE FLEXIBLE MINIMUM DISTANCES
We now apply the framework established in Theorem 9 to the family of ESGRS codes and construct four families of Plotkin-optimal pure qLRCs. Consequently, our results provide specific and affirmative solutions to both Problem 1 and Problem 2. To this end, we recall some related codes and two useful lemmas.
Let and be defined as before, and let
Then we have the following definition.
Definition 19. ([25]) Given , an generalized Reed-Solomon (GRS) code is defined as
By adding a coordinate at the last position of each codeword of a GRS code, we get an extended GRS code
where is the coefficient of in .
From [25], we can write generator matrices of and as
and
respectively.
Lemma 20. ([34, Theorem 1.1]) Let and let be a subset of cardinality . For any and any , we have
Lemma 21. ([34, Corollaries 2.7 and 2.8]) Let and . If and , or is odd and , then both and .
In the following, we obtain the first family of Plotkin-optimal pure qLRCs with larger and more flexible minimum distances.
Theorem 22. Let be a prime power with . For any , there exists a family of Plotkin-optimal pure
qLRCs with locality . Furthermore, these qLRCs are also optimal with respect to the pure Singleton-like bound in (1) and the pure Griesmer-like bound in (2), simultaneously.
Proof: Let be a primitive element of and write
with the prescribed order. Note that Jin et al. showed in [27, Lemma 2.2.ii)] that for any , there exists with such that is Hermitian self-orthogonal. Taking , it then turns out from (16) and (17) that
is Hermitian self-orthogonal, where
and
Combining (9) and (17), we also know that is a subcode of the extended GRS code . It then implies that
(18)
That is to say is Hermitian dual-containing for any and .
We now consider the parameters and localities of . Since the subset sum problem does not depend on the order of elements in the set, it follows from Lemma 21 that
Then, applying Lemma 13, we conclude that is a NMDS code. For the locality, we need to verify that
holds for any . Since , we deduce from Lemma 20 that
Note that and , then , , and . By the definitions of combinatorial numbers and the value ranges of each involving parameter, we further obtain that
implying , and hence (19) indeed holds. It then turns out from Theorem 15.2) that , and hence has locality .
Finally, applying Lemma 6 and Theorem 9 to immediately yields the desired result. This completes the proof.
Remark 23. We include the following remark. The first part gives further explanations of the parameters in Theorem 22, while the second part presents another family of Plotkin-optimal pure qLRCs that complements Theorem 22.
- It can be easily verified that
According to the proof of Theorem 22, there is no loss on the possible values of such that is Hermitian dual-containing and has locality .
- To ensure that the term is well defined, we exclude the case p = 2 in Theorem 22. Note that Li et al. [35] employed Hermitian dual-containing NMDS SGRS codes supporting 3-designs to construct a family of
qLRCs with locality , where is even, , and . Recall that this is the only known family of optimal pure qLRCs with both large lengths and minimum distances, and the optimality established so far is with respect to the pure Singleton-like bound in (1). By applying Theorem 9, we further conclude that these qLRCs are also simultaneously optimal with respect to the pure Griesmer-like bound in (2) and the pure Plotkin-like bound in (3). Therefore, although this family was originally constructed in [35], our framework identifies it for the first time as a family of Plotkin-optimal pure qLRCs. In this sense, we regard it as the second new family of Plotkin-optimal pure qLRCs obtained from our framework, complementing Theorem 22 for the case . In view of the discussion in 1) above, we also emphasize that our first family of Plotkin-optimal pure qLRCs allows more flexible choices of the minimum distance compared to the second family, since it removes the parity restriction .
In Theorem 22, the case is excluded, while Remark 23.2) provides a complementary family for this case. We now show that, by allowing the length to be slightly smaller than and by making a minor reduction in the minimum distance, one can obtain Plotkin-optimal pure qLRCs over arbitrary finite fields. This gives our third family of Plotkin-optimal pure qLRCs.
Theorem 24. Let be a prime power. Let and be two integers satisfying and . Let be the minimum nonnegative integer congruent to modulo . If
then there exists a family of Plotkin-optimal pure
qLRCs with locality . Furthermore, these qLRCs are also optimal with respect to the pure Singleton-like bound in (1) and the pure Griesmer-like bound in (2), simultaneously.
Proof: According to [39, Theorem 6], there exists a Hermitian self-orthogonal GRS code for any and . Since , it then follows from [41, Remark 6.2] that for some with and . With an argument similar to (18), we immediately obtain that is Hermitian dual-containing for any and .
We next show that is a NMDS code with locality . From Lemma 13 and Theorem 15.2), it suffices to verify that
hold for any . Since , we first evaluate and . Since and , we have and , implying that
and
Combining (21) and (22), we conclude from Lemma 20 that if
then . Note that and , then (23) holds provided that
Since , it turns out from an argument similar to the above that holds for any if
In summary, the condition required in (20) ensures that is a NMDS code with locality .
Again, applying Lemma 6 and Theorem 9 to immediately yields the desired result. This completes the proof.
Finally, we present the fourth family of q-ary Plotkin-optimal pure qLRCs of length .
Theorem 25. Let be any prime power. For any and , there exists a family of Plotkin-optimal pure
qLRCs with locality . Furthermore, these qLRCs are also optimal with respect to the pure Singleton-like bound in (1) and the pure Griesmer-like bound in (2), simultaneously.
Proof: Consider the full length ESGRS code with . From [3, Theorem 4], there exists such that is Hermitian self-orthogonal for any and . Again, applying an argument similar to that in (18), we deduce that is Hermitian dual-containing for any , , and .
With Lemma 21, it is straightforward to verify that
and
It then follows from Lemma 13 and Theorem 15.2) that is a NMDS code with locality .
Therefore, the desired result follows by applying Lemma 6 and Theorem 9 to . This completes the proof.
Remark 26. In the possible ranges of in Theorems 22, 24, and 25, as well as Remark 23, we always have , or . Moreover, in conjunction with Remark 8, it can be easily verified that the optimal pure qLRCs listed in Table I are, in general, not Plotkin-optimal. In this sense, our framework and constructions not only provide the first four families of optimal qLRCs with parameters attaining the pure Plotkin-like bound, but also admit larger and more flexible minimum distances than those of existing constructions. As we have emphasized before, larger and more flexible minimum distances provide greater freedom in balancing the parameters required for both local and global quantum recovery.
Example 27. Let . We immediately obtain eight Plotkin-optimal pure qLRCs from Theorems 22, 24, and 25. Note that the second family of Plotkin-optimal pure qLRCs in Remark 23 does not exist in this setting and the value of related to Theorem 24 is fixed to 1. Table III summarizes their explicit parameters. Note that if larger is taken, more Plotkin-optimal pure qLRCs with larger minimum distances can be obtained similarly.
TABLE III SOME PLOTKIN-OPTIMAL PURE QLRCS OVER
| No. | Reference | No. | Reference | ||||
|---|---|---|---|---|---|---|---|
| 1 | 73 | Theorem 24 | 2 | 74 | Theorem 22 | ||
| 3 | 73 | Theorem 22 | 4 | 78 | Theorem 25 | ||
| 5 | 77 | Theorem 25 | 6 | 76 | Theorem 25 | ||
| 7 | 75 | Theorem 25 | 8 | 73 | Theorem 25 |
VI. CONCLUDING REMARKS
This paper aimed to address Problem 1 and Problem 2 in a unified manner by using Hermitian dual-containing ESGRS codes. We first developed a general framework for constructing optimal pure qLRCs that attain the pure Plotkin-like bound in (3), based on Hermitian dual-containing NMDS codes in Theorem 9.
Focusing on the specific family of NMDS ESGRS codes, we respectively determined the localities of ESGRS codes and their duals by analyzing the existence of nonsingular submatrices in the generator matrices of ESGRS codes and certain subset sum problems over finite fields in Theorem 15. Building on this result, we also resolved Open Problem 16, originally proposed in [37], in the negative, as established in Theorem 17.
Applying this framework to ESGRS codes, we explicitly obtained four new families of Plotkin-optimal pure qLRCs in Theorems 22, 24, and 25, as well as Remark 23, whose parameters were summarized in Table II. These constructions also achieve optimality simultaneously with respect to the pure Singleton-like bound in (1) and the pure Griesmer-like bound in (2). Compared with the known qLRCs with large lengths listed in Table I, our constructions allow larger and more flexible minimum distances, thereby providing greater freedom in balancing the parameters required for both local and global quantum recovery [35]. Consequently, we give affirmative answers to Problem 1 and Problem 2. In particular, our results settle a problem proposed by Cao and Zhou in [7, Section VII].
There are also some interesting questions left for future research. We invite the readers to study them together with us.
-
Can we construct more optimal pure qLRCs with larger lengths, particularly exceeding for some depending linearly on ? Similar to the MDS conjecture for linear codes, it is conjectured in [14], [33] that the maximum length of an NMDS code over is at most . It is also known that elliptic curve NMDS codes can achieve lengths up to [47], [48]. However, it remains unclear whether such NMDS codes are always Hermitian dual-containing and whether they have nontrivial localities. Once NMDS codes satisfying these conditions are identified, Theorem 9 can be directly applied to obtain new optimal pure qLRCs with larger lengths.
-
Would pure qLRCs constructed using Hermitian dual-containing -MDS codes with exhibit better performance? This is a natural research problem motivated by Remark 11.
REFERENCES
[1] K. Abdukhalikov, C. Ding, and G. K. Verma, “Some constructions of non-generalized Reed-Solomon MDS codes,” Discrete Math., vol. 349, no. 10, Art. no. 115202, 2026.
[2] S. A. Aly, A. Klappenecker, and P. K. Sarvepalli, “Remarkable degenerate quantum stabilizer codes derived from duadic codes,” in Proc. IEEE Int. Symp. Inf. Theory (ISIT), 2006, pp. 1105-1108.
[3] S. Ball, “Some constructions of quantum MDS codes,” Des. Codes Cryptogr., vol. 89, no. 5, pp. 811-821, 2021.
[4] W. Bosma, J. Cannon, and C. Playoust, “The Magma algebra system I: The user language,” J. Symbolic Comput., vol. 24, no. 3-4, pp. 235-265, 1997.
[5] M. F. Brandl, “A quantum von Neumann architecture for large-scale quantum computing,” arXiv preprint, 2017. [Online]. Available: https://arxiv.org/pdf/1702.02583
[6] K. Bu, W. Gu, and X. Li, “Quantum locally recoverable code with intersecting recovery sets,” IEEE Trans. Inf. Theory, vol. 72, no. 11, pp. 8561-8576, 2026.
[7] M. Cao and K. Zhou, “Optimal quantum -locally repairable codes from matrix-product codes,” IEEE Trans. Inf. Theory, vol. 72, no. 8, pp. 5572-5591, 2026.
[8] M. Cao and K. Zhou, “An open problem on NSC quasi-unitary matrices and its application to quantum codes,” IEEE Trans. Inf. Theory, vol. 72, no. 6, pp. 3885-3898, 2026.
[9] Y. Cheng, G. Luo, and X. Cao, “Constructions of MDS entanglement-assisted quantum codes with flexible lengths and large minimum distance,” Discrete Math., vol. 375, no. 9, Art. no. 114081, 2024.
[10] M. A. De Boer, “Almost MDS codes,” Des. Codes Cryptogr., vol. 9, no. 2, pp. 143-155, 1996.
[11] C. Ding and C. Li, “Infinite families of 2-designs and 3-designs from linear codes,” Discrete Math., vol. 340, no. 10, pp. 2415-2431, 2017.
[12] C. Ding and C. Tang, Designs From Linear Codes, 2nd ed. Singapore: World Scientific, 2021.
[13] C. Ding and C. Tang, “Infinite families of near MDS codes holding -designs,” IEEE Trans. Inf. Theory, vol. 66, no. 9, pp. 5419-5428, 2020.
[14] S. Dodunekov and I. Landgev, “On near-MDS codes,” J. Geom., vol. 54, pp. 30-43, 1995.
[15] S. Dodunekov and I. Landgev, “Near-MDS codes over some small fields,” Discrete Math., vol. 213, no. 1-3, pp. 55-65, 2000.
[16] W. Fang, J. Wen, and F. W. Fu, “Quantum MDS codes with new length and large minimum distance,” Discrete Math., vol. 347, no. 1, Art. no. 113662, 2024.
[17] C. Galindo, F. Hernando, H. Martín-Cruz, and R. Matsumoto, “Quantum -locally recoverable codes,” Finite Fields Appl., vol. 111, Art. no. 102785, 2026.
[18] C. Galindo, F. Hernando, H. Martín-Cruz, and R. Matsumoto, “Impure codes exceeding the pure bounds for quantum local recovery,” Quantum Inf. Process., vol. 25, no. 7, Art. no. 241, 2026.
[19] C. Galindo, F. Hernando, C. Munuera, and D. Ruano, “Optimal pure quantum -locally recoverable codes from matrix-product construction,” IEEE Trans. Inf. Theory, vol. 72, no. 11, pp. 8260–8275, 2026.
[20] L. Golowich and V. Guruswami, “Quantum locally recoverable codes,” in Proc. Annu. ACM-SIAM Symp. Discrete Algorithms (SODA), 2025, pp. 5512-5522. See also: https://arxiv.org/pdf/2311.08653
[21] P. Gopalan, C. Huang, H. Simitci, and S. Yekhanin, “On the locality of codeword symbols,” IEEE Trans. Inf. Theory, vol. 58, no. 11, pp. 6925-6934, 2012.
[22] G. Guo, R. Li, and Y. Liu, “Application of Hermitian self-orthogonal GRS codes to some quantum MDS codes,” Finite Fields Appl., vol. 76, Art. no. 101901, 2021.
[23] K. Guenda, “Quantum duadic and affine-invariant codes,” Int. J. Quantum Inf., vol. 7, no. 1, pp. 373-384, 2009.
[24] D. Han and H. Zhang, “Explicit constructions of NMDS self-dual codes,” Des. Codes Cryptogr., vol. 92, no. 11, pp. 3573-3585, 2024.
[25] W. C. Huffman and V. Pless, Fundamentals of Error-Correcting Codes. Cambridge, U.K.: Cambridge Univ. Press, 2003.
[26] L. Jin, H. Kan, and J. Wen, “Quantum MDS codes with relatively large minimum distance from Hermitian self-orthogonal codes,” Des. Codes Cryptogr., vol. 84, no. 3, pp. 463-471, 2017.
[27] L. Jin, S. Ling, J. Luo, and C. Xing, “Application of classical Hermitian self-orthogonal MDS codes to quantum MDS codes,” IEEE Trans. Inf. Theory, vol. 56, no. 9, pp. 4735-4740, 2010.
[28] L. Jin and C. Xing, “A construction of new quantum MDS codes,” IEEE Trans. Inf. Theory, vol. 60, no. 5, pp. 2921-2925, 2014.
[29] B. Jing et al., “Approaching scalable quantum memory with integrated atomic devices,” Appl. Phys. Rev., vol. 11, no. 3, Art. no. 031304, 2024.
[30] X. Kai and S. Zhu, “New quantum MDS codes from negacyclic codes,” IEEE Trans. Inf. Theory, vol. 59, no. 2, pp. 1193-1197, 2012.
[31] X. Kai, S. Zhu, and P. Li, “Constacyclic codes and some new quantum MDS codes,” IEEE Trans. Inf. Theory, vol. 60, no. 4, pp. 2080-2086, 2014.
[32] A. Ketkar, A. Klappenecker, S. Kumar, and P. K. Sarvepalli, “Nonbinary stabilizer codes over finite fields,” IEEE Trans. Inf. Theory, vol. 52, no. 11, pp. 4892-4914, 2006.
[33] I. Landjev and A. Rousseva, “The main conjecture for near-MDS codes,” in Proc. 9th Int. Workshop Coding Cryptogr. (WCC), 2015, pp. 1-8.
[34] J. Li and D. Wan, “On the subset sum problem over finite fields,” Finite Fields Appl., vol. 14, no. 4, pp. 911-929, 2008.
[35] Y. Li, S. Li, H. Lao, G. Luo, and S. Ling, “On optimal quantum LRCs from the Hermitian construction and t-designs,” IEEE Trans. Inf. Theory, vol. 72, no. 8, pp. 5556–5571, 2026.
[36] Y. Li, S. Li, G. Luo, and S. Ling. "Improved bounds and optimal constructions of pure quantum locally recoverable codes," IEEE Trans. Inf. Theory, early access, 2026, Doi: 10.1109/TIT.2026.3734348.
[37] Y. Li, Z. Sun, and S. Zhu, “A family of linear codes that are either non-GRS MDS codes or NMDS codes,” IEEE Trans. Commun., vol. 73, no. 12, pp. 13073-13086, 2025.
[38] Y. Li, S. Zhu, and E. Martínez-Moro, “On -MDS codes and a conjecture on infinite families of 1-MDS codes,” IEEE Trans. Inf. Theory, vol. 70, no. 10, pp. 6899-6911, 2024.
[39] Z. Li, L. J. Xing, and X. M. Wang, “Quantum generalized Reed-Solomon codes: Unified framework for quantum maximum-distance-separable codes,” Phys. Rev. A, vol. 77, no. 1, Art. no. 012308, 2008.
[40] G. Luo, B. Chen, M. F. Ezerman, and S. Ling, “Bounds and constructions of quantum locally recoverable codes from quantum CSS codes,” IEEE Trans. Inf. Theory, vol. 71, no. 3, pp. 1794-1802, 2025.
[41] R. Pellikaan, “On the existence of error-correcting pairs,” J. Stat. Planning Inference, vol. 51, no. 2, pp. 229-242, 1996.
[42] E. M. Rains, “Nonbinary quantum codes,” IEEE Trans. Inf. Theory, vol. 45, no. 6, pp. 1827-1832, 1999.
[43] S. Sharma, V. Ramkumar, and I. Tamo, “Quantum locally recoverable codes via good polynomials,” IEEE J. Sel. Areas Inf. Theory, vol. 6, pp. 100-110, 2025.
[44] Z. Sun, C. Ding, and T. Chen, “The extended codes of some linear codes,” Finite Fields Appl., vol. 96, Art. no. 102401, 2024.
[45] I. Tamo and A. Barg, “A family of optimal locally recoverable codes,” IEEE Trans. Inf. Theory, vol. 60, no. 8, pp. 4661-4676, 2014.
[46] P. Tan, C. Fan, C. Ding, C. Tang, and Z. Zhou, “The minimum locality of linear codes,” Des. Codes Cryptogr., vol. 91, no. 1, pp. 83-114, 2022.
[47] M. A. Tsfasman and S. G. Vladut, Algebraic-Geometric Codes. Amsterdam, The Netherlands: Kluwer, 1991.
[48] W. C. Waterhouse, “Abelian varieties over finite fields,” Ann. Sci. École Norm. Sup., vol. 2, no. 4, pp. 521-560, 1969.
[49] D. Xie, S. Zhu, and Z. Sun, “Two families of optimal quantum locally recoverable codes,” Int. J. Theor. Phys., vol. 64, no. 4, pp. 1-17, 2025.
[50] K. Zhou and M. Cao, “Optimal quantum -locally repairable codes via classical ones,” J. Combin. Theory Ser. A, vol. 223, Art. no. 106212, Oct. 2026.