Bounds for Pure Disjoint -Quantum Locally Recoverable Codes
Abstract
We study pure disjoint -quantum locally recoverable codes (qLRCs) without assuming a stabilizer structure. We formulate local Knill–Laflamme conditions for recovery from up to erasures within a recovery block, and introduce blockwise Shor–Laflamme and unitary weight enumerators that capture how error weight is distributed across recovery sets. We establish several properties of these enumerators and use them to derive a Singleton-like bound that strengthens the known bound for disjoint -qLRCs under a purity assumption, as well as a linear-programming upper bound on the code dimension. These results provide a non-stabilizer, weight-enumerator-based approach to the study of pure disjoint -qLRCs.
I Introduction
††H. B. is also affiliated with the Munich Quantum Valley (MQV) and the Munich Center for Quantum Science and Technology (MCQST). The work of E. Stylianou and H. Boche was partly supported by the German Federal Ministry of Research, Technology and Space (BMFTR) within the national initiative on 6G Communication Systems through the research hub 6G-life under Grants 16KISK002, 16KIS2414 and QUARKS, Grant 16KIS1999, the BMBF Quantum Projects QUIET, Grant 16KISQ093, QD-CamNetz, Grant 16KISQ077, and QuaPhySI, Grant 16KIS1598K. H. Boche acknowledges funding by the German Research Foundation as part of Germany’s Excellence Strategy - EXC 2050/2 - Project ID 390696704 - Cluster of Excellence ”Centre for Tactile Internet with Human-in-the-Loop” (CeTI) of Technische Universität Dresden. H. Boche was also supported by the LTI TUM collaboration with Princeton through the BMFTR as part of the 6G-Atlantic Bridges project.Quantum locally recoverable codes (qLRCs) have recently attracted significant attention [9, 21, 16, 8, 24, 15, 6] as a framework for protecting quantum information under locality constraints. In an -qLRC, the erasure of a single qudit can be corrected by accessing at most other qudits, thereby avoiding recovery operations that act on the entire system.
The study of qLRCs was initiated by Golowich and Guruswami [9], who introduced -qLRCs and constructed explicit families via the CSS construction [5]. They also derived a quantum Singleton-like bound for these codes, which, unlike its classical counterpart [10], can be strengthened when the recovery sets are disjoint. Luo et al. [16] subsequently obtained further bounds for CSS-based -qLRCs, including quantum Singleton-like and CM-type bounds. Galindo et al. [8] then introduced the more general notion of -qLRCs in the stabilizer setting and established a correspondence with dual-containing classical -LRCs, leading in particular to a Singleton-like bound for stabilizer -qLRCs. More recently, Li et al. [14, 15] derived further bounds for -qLRCs. With the exception of the quantum Singleton-like bounds in [9], the known qLRC bounds have largely been obtained through connections with underlying classical codes.
A key technique for deriving upper bounds on code parameters is the use of weight enumerators and the linear-programming (LP) method [7]. In the quantum setting, Shor and Laflamme [22] introduced the first quantum weight enumerators, now known as the Shor–Laflamme (SL) weight enumerators, together with the corresponding quantum MacWilliams identities. Rains [17] later introduced the unitary weight enumerators, which are invariant under code equivalence, and related them both to correctable erasure patterns and to the SL weight enumerators. Using this connection together with the properties of these enumerators, Rains [18] derived the quantum Singleton bound for nonbinary quantum codes.
The LP approach to quantum codes goes back to [22] and was further refined by Rains [19] through the introduction of the shadow enumerator, which provides additional constraints on admissible weight distributions. Ashikhmin and Litsyu [4] then formulated this approach systematically and derived several fundamental upper bounds for binary quantum codes by choosing auxiliary polynomials satisfying suitable conditions. Their method was later extended to the nonbinary stabilizer setting in [12]. More recently, Lai and Ashikhmin [13] generalized this framework to entanglement-assisted quantum codes by introducing split weight enumerators [23].
Motivated by this line of work, we derive upper bounds on the dimension of pure disjoint -qLRCs using quantum weight enumerators. We first formulate local KL conditions and introduce blockwise SL and unitary weight enumerators that record how error weight is distributed across recovery sets. This framework yields a Singleton-like bound that strengthens the known bound for general disjoint -qLRCs. In the special case , our approach recovers the corresponding stabilizer -qLRC bound [8] without assuming a stabilizer structure, under the additional assumption of disjoint recovery sets. Finally, we use the same blockwise enumerator framework to derive an LP upper bound on the code dimension.
II Preliminaries
Let denote the Hilbert space of qudits of local dimension . A quantum code of length , dimension , and minimum distance is a -dimensional subspace of , and is denoted by . If , we write and denote the code by . Let denote the set of density operators whose support is contained in . For any subset , define the subsystem , and let . A quantum channel on is supported on if it admits Kraus operators of the form . Equivalently, , where is a quantum channel on with Kraus operators .
Definition 1 (-qLRC).
A quantum code is an -qLRC if for every qudit there exists a recovery set such that and , and for every subset with , there exists a quantum channel supported on such that
for every quantum channel supported on .
That is, for each , any located error affecting at most qudits inside the local group can be corrected by a recovery operation supported on .
Definition 2 (Disjoint -qLRCs).
A disjoint -qLRC is an -qLRC whose recovery sets are either identical or disjoint, that is,
The distinct recovery sets can then be labeled as , and they form a partition of .
Disjoint recovery sets induce a blockwise error decomposition that is essential for the weight enumerator arguments.
Remark.
For simplicity, we assume that all recovery blocks have the same size and that , so that . The results extend to unequal block sizes and to .
II-A Local structure of disjoint -qLRCs
For disjoint qLRCs, locality induces a blockwise structure on the code. Let be a disjoint -qLRC of dimension , and fix an orthonormal basis (ONB) of . Denote by
the orthogonal projector onto the code space. Since the recovery sets are disjoint, they induce a partition of the physical qudits into blocks with .
Definition 3 (Local code support).
For each recovery block , define the local code support
and let denote the orthogonal projector onto , referred to as the local projector. Write .
By construction, is the smallest subspace of that supports all reduced code states on block . Thus, it captures the local degrees of freedom accessible within that block. Choose, for each , an arbitrary ONB of . Then
forms an ONB of the product space . Since , we have for every . Intersecting over all and using yields . Hence,
| (1) |
In general, this inclusion is strict, since local supports do not capture inter-block correlations.
To define the quantum weight enumerators, we fix an orthonormal operator basis. Let be an operator basis of satisfying , with . This induces the tensor-product operator basis on , where , and . For , define and .
II-B Krawtchouk polynomials and expansion
To analyze blockwise quantum weight enumerators and formulate LP–based bounds, we use Krawtchouk polynomials and their multivariate generalizations. For an alphabet of size , the Krawtchouk polynomials of degree in the variable are defined by
These polynomials satisfy the discrete orthogonality relation Hence, they form a basis for the space of polynomials of degree at most . Let where and are positive integers, and write and with . The multivariate Krawtchouk polynomials are defined by . Then the family forms a basis for the space of multivariate polynomials in variables with degree at most in each coordinate. Hence, any such polynomial admits a unique Krawtchouk expansion
| (2) |
where
III KL Conditions for Disjoint qLRCs
In this section, we derive local KL conditions for disjoint -qLRCs, since the standard KL conditions do not encode the locality constraint on the recovery operation.
Theorem 1 (Local KL condition).
Let be a disjoint -qLRC with partition . Fix a block and let be the local projector. Consider a quantum channel supported on , with Kraus operators . Then there exists a quantum channel supported on such that
if and only if
for some scalars . Equivalently,
where is an ONB of .
Proof sketch.
Fix a block and suppress the superscript . Write , with Kraus operators . Let be an ONB of the local code support . Then every code basis vector can be written as , with .
Sufficiency. If for all , then this is exactly the usual KL condition on the local code support . Hence, by the standard KL theorem, there exists a recovery map on correcting on . Extending it by the identity on yields a recovery supported on that corrects on .
Necessity. Conversely, suppose there exists a recovery such that for all . By considering a purification of the maximally mixed state on , one shows that acts as the identity on the local support . Hence, is perfectly correctable on the local code , and the standard KL necessity theorem yields for all . ∎
The local KL condition shows that correctability within a recovery block depends only on the local code support .
Remark.
Since the local KL conditions are linear in the error operators, it is enough to work with the tensor-product operator basis of introduced in Section II-A.
The global minimum distance of is the smallest weight of an operator that is not detectable on , that is, for some . Likewise, for a recovery block with local code support , the local minimum distance is the smallest weight of an operator supported on that is not locally detectable on , that is, for some . The local distance of the code is then defined by .
Let be a disjoint -qLRC with global distance and block partition . For a basis operator , let denote the number of affected qudits in block , and write for the corresponding erasure pattern. By locality and disjointness, each block with can be corrected independently, while the remaining erasures can be corrected globally provided their total weight is at most . Therefore the set of correctable erasure patterns is
Equivalently, consists of all such that .
IV Blockwise SL and Unitary Weight Enumerators
Here we introduce blockwise SL and unitary weight enumerators, which record how error weight is distributed across recovery blocks. Related refinements include split weight enumerators for classical codes [23] and two-block split weight enumerators for entanglement-assisted quantum codes [13].
IV-A Blockwise SL weight enumerators
Using the operator basis fixed in Section II-A, write . For and operators on , define the blockwise SL weight enumerators
Summing over all such that recovers the standard weight- SL enumerators. When , we write and . We next state their basic properties.
Theorem 2 (Properties of the blockwise SL weight enumerators).
Let be a disjoint -qLRC with parameters , projector , and blockwise SL weight enumerators and . Then:
-
1.
and for all . Moreover, and .
-
2.
for all .
-
3.
They satisfy the MacWilliams identity
Proof.
1) Nonnegativity is immediate from the definitions, and follows from the Cauchy–Schwarz inequality. For , only the identity operator contributes, so and .
2) Fix and let have block weight distribution . Set . Then for each we have , so by the local KL conditions on , . Using the decomposition in (1), it follows that for all ,
where for and for . Since , we have and hence . By the global KL conditions, , so
Thus every operator with block weight distribution acts as a scalar on , which implies for all .
3) This follows by adapting the arguments in [13] to more than two blocks and is omitted due to space constraints. ∎
IV-B Blockwise Unitary Weight Enumerators
For , define the unitary weight enumerators [17].
Thus . Let . For , define the blockwise unitary enumerators by
| (3) | ||||
| (4) |
Summing over all with recovers the standard weight- unitary enumerators. Moreover, , where .
To relate the blockwise unitary and SL enumerators, let decompose as with , and define
with defined analogously. Then, following [17], for any ,
and the same relation holds for with .
Next, we express the blockwise unitary enumerators in terms of the blockwise SL enumerators.
Corollary 1.
For any operators on ,
where denotes componentwise inequality and . An analogous identity holds for .
Proof.
This follows by counting, in each block , the number of subsets with for a fixed subset of size , and then multiplying over . ∎
Theorem 3.
Let be a quantum code with projector . Then, for every ,
Equality holds if and only if can perfectly correct the erasure of every subset such that .
Proof.
For every subset , the unitary enumerators satisfy . Summing over all such that for every gives . For the equality statement, (3) and (4) give
Each summand is nonnegative, so equality holds if and only if for every with for all . By Rains’ equality characterization [17], this is equivalent to perfect correctability of the erasure of each such subset . Since erasure correction is monotone under inclusion, this is in turn equivalent to perfect correctability of every subset satisfying for all . The converse is immediate. ∎
Remark.
The inequality holds for arbitrary quantum codes; locality will be used later to interpret the equality condition.
V Singleton-like bound for pure disjoint qLRCs
Next, we derive a Singleton-like bound for pure disjoint -qLRCs using blockwise weight enumerators.
Definition 4 (Pure disjoint -qLRC).
A disjoint -qLRC with distance is pure if for all .
This is the blockwise analogue of the usual purity condition, restricted to the set of -qLRC-correctable error patterns.
Theorem 4 (Singleton-like bound for pure disjoint -qLRCs).
Let be a pure disjoint -qLRC of length and minimum distance . Then
| (5) |
Proof.
Set . Choose recovery blocks, say , and in each select a subset of size . Let . Since , we may also choose a subset of size . Let be the corresponding blockwise erasure profile, so that for and . Set .
Now let satisfy for all . For , we have , so the erasures in those blocks are locally correctable. After those local recoveries, the remaining erasures lie in the blocks , where their total number is at most . These are therefore globally correctable. Hence every subset with block profile bounded by is correctable. Therefore, by Theorem 3, we have . Using the duality relation , we obtain
| (6) |
Expanding both sides using Corollary 1, we obtain
If , then for , while . Hence . By purity, for all , whereas . Therefore,
Similarly, , where the inequality follows from the positivity of the enumerators. Substituting into (6) yields .
∎
Remark.
For general qLRCs, the expansion of may contain additional nonzero terms with . These extra nonnegative contributions prevent the identity from yielding a bound on .
Next, we compare Theorem 4 with the known bounds in the literature. For disjoint -qLRCs of length and minimum distance , the quantum dimension satisfies
| (7) |
which for reduces to the bound derived in [9]. A direct comparison shows that (5) strengthens the general disjoint -qLRC bound (7) under the additional purity assumption.
For pure stabilizer -qLRCs, one also has
| (8) |
When , Theorem 4 agrees with the pure stabilizer bound (8). For , the comparison with (8) is more delicate because of the floor and ceiling terms, although the two bounds coincide in several cases.
Theorem 4 also matches the dimension bound obtained in the dual-containing classical -LRC setting. Indeed, the local-plus-global recovery argument guarantees correction of an erasure of size , and hence the corresponding classical dimension satisfies . Substituting yields exactly the bound in Theorem 4 for . Thus the theorem recovers the corresponding classical dimension bound in quantum form.
VI Linear Programming Bound
In this section, we derive an upper bound on the dimension of a pure disjoint -qLRC using an LP approach based on the blockwise weight enumerators from Theorem 2.
Theorem 5 (LP–based upper bound for pure disjoint -qLRCs).
Let be a pure disjoint -qLRC with parameters , and blockwise SL weight enumerators and . Let be a polynomial with Krawtchouk expansion (2) such that for all , , and for all , where . Then
Proof.
Note that the set of uncorrectable blockwise erasure patterns is .
Theorem 6 (LP–based Singleton-like bound for pure disjoint -qLRCs).
Let be a pure disjoint -qLRC of length and minimum distance . Then,
| (9) |
where and with .
Proof sketch.
For , define, following [1],
For , define
Standard Krawtchouk identities imply for all . It remains to verify that for all . Suppose first that and let . If for some , then one of the first factors vanishes. Otherwise, , so these coordinates do not contribute to . Since the coordinates contribute at most , the condition forces , and hence the last factor vanishes.
Now suppose that and let . If , then only the coordinates contribute to , so , a contradiction. Therefore some with , and one of the factors vanishes. Thus for all . Therefore satisfies the conditions of Theorem 5, which yields the stated bound. ∎
To compare Theorem 6 with the bounds (7), (8), and (5), we relax the floor and ceiling terms in a way that preserves the direction of the inequalities. Relaxing the floor in (5) gives
| (10) |
Relaxing the ceiling in (8) gives
| (11) |
Likewise, relaxing the ceiling in (7) gives
| (12) |
Theorem 6 improves on the relaxed bounds (10), (11), and (12). If , then (10) and (12) each contain an additional nonnegative term beyond the LP exponent, and are therefore weaker. The bound (11) is also weaker since . If , then each relaxed bound still contains a strictly positive excess term relative to the LP bound. Hence, the LP bound is strictly stronger than these relaxed bounds in both regimes.
VII Conclusion
Quantum error correction is central to quantum communication and many other quantum technologies, and is essential for unlocking the potential of future quantum-enabled communication systems [20, 3, 2]. In this paper, we studied pure disjoint -qLRCs. We formulated local KL conditions and introduced blockwise weight enumerators that track how error weight is distributed across recovery sets. This framework yields a Singleton-like bound that strengthens the known bound for disjoint -qLRCs under the purity assumption, as well as an LP-based upper bound on the code dimension. These results provide a non-stabilizer, weight-enumerator-based approach to the study of pure disjoint -qLRCs. Future work includes extending these techniques to impure quantum codes and to -qLRCs with overlapping recovery sets, as in the classical setting [11].
References
- [1] (2018) Combinatorial alphabet-dependent bounds for locally recoverable codes. IEEE Transactions on Information Theory 64 (5), pp. 3481–3492. Cited by: §VI.
- [2] (2026) Quantum technology applications for 6G networks. In 6G-life, F. H.P. Fitzek, H. Boche, W. Kellerer, and P. Seeling (Eds.), pp. 423–442. External Links: ISBN 978-0-443-27410-7, Document, Link Cited by: §VII.
- [3] (2026) Quantum technology concepts for 6G networks. In 6G-life, F. H.P. Fitzek, H. Boche, W. Kellerer, and P. Seeling (Eds.), pp. 401–422. External Links: ISBN 978-0-443-27410-7, Document, Link Cited by: §VII.
- [4] (1999) Upper bounds on the size of quantum codes. IEEE Transactions on Information Theory 45 (4), pp. 1206–1215. External Links: Document Cited by: §I, §VI.
- [5] (1998) Quantum error correction via codes over GF(4). IEEE Transactions on Information Theory 44 (4), pp. 1369–1387. External Links: Document Cited by: §I.
- [6] (2025) Optimal quantum -locally repairable codes from matrix-product codes. arXiv preprint arXiv:2508.03597. Cited by: §I.
- [7] (1973) An algebraic approach to the association schemes of coding theory. Philips Res. Rep. Suppl. 10, pp. 1–97. Cited by: §I.
- [8] (2026) Quantum (r, )-locally recoverable codes. Finite Fields and Their Applications 111, pp. 102785. Cited by: §I, §I, §I.
- [9] (2023) Quantum locally recoverable codes. arXiv preprint arXiv:2311.08653. Cited by: §I, §I, §V.
- [10] (2012) On the locality of codeword symbols. IEEE Transactions on Information theory 58 (11), pp. 6925–6934. Cited by: §I.
- [11] (2023) LRCs: duality, LP bounds, and field size. arXiv preprint arXiv:2309.03676. Cited by: §VII.
- [12] (2006) Nonbinary stabilizer codes over finite fields. IEEE transactions on information theory 52 (11), pp. 4892–4914. Cited by: §I.
- [13] (2017) Linear programming bounds for entanglement-assisted quantum error-correcting codes by split weight enumerators. IEEE Transactions on Information Theory 64 (1), pp. 622–639. Cited by: §I, §IV-A, §IV.
- [14] (2025) On optimal quantum LRCs from the Hermitian construction and -designs. arXiv preprint arXiv:2508.13553. Cited by: §I.
- [15] (2025) Improved bounds and optimal constructions of pure quantum locally recoverable codes. arXiv preprint arXiv:2512.07256. Cited by: §I, §I.
- [16] (2025) Bounds and constructions of quantum locally recoverable codes from quantum CSS codes. IEEE Transactions on Information Theory. Cited by: §I, §I.
- [17] (1998) Quantum weight enumerators. IEEE Transactions on Information Theory 44 (4), pp. 1388–1394. External Links: Document Cited by: §I, §IV-B, §IV-B, §IV-B.
- [18] (1999) Nonbinary quantum codes. IEEE Transactions on Information Theory 45 (6), pp. 1827–1832. External Links: Document Cited by: §I.
- [19] (1999) Quantum shadow enumerators. IEEE transactions on information theory 45 (7), pp. 2361–2366. Cited by: §I.
- [20] (2023) 6G perspective of mobile network operators, manufacturers, and verticals. IEEE Networking Letters 5 (3), pp. 169–172. Cited by: §VII.
- [21] (2025) Quantum locally recoverable codes via good polynomials. IEEE Journal on Selected Areas in Information Theory. Cited by: §I.
- [22] (1997) Quantum analog of the MacWilliams identities for classical coding theory. Physical review letters 78 (8), pp. 1600. Cited by: §I, §I.
- [23] (1995) MacWilliams identities and coordinate partitions. Linear Algebra and its Applications 216, pp. 81–91. Cited by: §I, §IV.
- [24] (2025) Two families of optimal quantum locally recoverable codes. International Journal of Theoretical Physics 64 (4), pp. 1–17. Cited by: §I.