arXiv is now an independent nonprofit! Learn more
License: CC BY 4.0
arXiv:2608.10922v1 [cs.IT] 11 Aug 2026

Bounds for Pure Disjoint (r,δ)(r,\delta)-Quantum Locally Recoverable Codes

Evagoras Stylianou and Holger Boche
Abstract

We study pure disjoint (r,δ)(r,\delta)-quantum locally recoverable codes (qLRCs) without assuming a stabilizer structure. We formulate local Knill–Laflamme conditions for recovery from up to δ−1\delta-1 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 (r,δ)(r,\delta)-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 (r,δ)(r,\delta)-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 (r,2)(r,2)-qLRC, the erasure of a single qudit can be corrected by accessing at most rr 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 (r,2)(r,2)-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 (r,2)(r,2)-qLRCs, including quantum Singleton-like and CM-type bounds. Galindo et al. [8] then introduced the more general notion of (r,δ)(r,\delta)-qLRCs in the stabilizer setting and established a correspondence with dual-containing classical (r,δ)(r,\delta)-LRCs, leading in particular to a Singleton-like bound for stabilizer (r,δ)(r,\delta)-qLRCs. More recently, Li et al. [14, 15] derived further bounds for (r,2)(r,2)-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 (r,δ)(r,\delta)-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 (r,δ)(r,\delta)-qLRCs. In the special case δ=2\delta=2, our approach recovers the corresponding stabilizer (r,2)(r,2)-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 ℋ=(ℂq)⊗n\mathcal{H}=(\mathbb{C}^{q})^{\otimes n} denote the Hilbert space of nn qudits of local dimension qq. A quantum code 𝒬\mathcal{Q} of length nn, dimension KK, and minimum distance dd is a KK-dimensional subspace of ℋ\mathcal{H}, and is denoted by ((n,K,d))q((n,K,d))_{q}. If K=qkK=q^{k}, we write k=logq⁡Kk=\log_{q}K and denote the code by [[n,k,d]]q[[n,k,d]]_{q}. Let 𝒟​(𝒬)\mathcal{D}(\mathcal{Q}) denote the set of density operators whose support is contained in 𝒬\mathcal{Q}. For any subset I⊆[n]:={1,…,n}I\subseteq[n]:=\{1,\dots,n\}, define the subsystem ℋI:=⨂i∈Iℂq\mathcal{H}_{I}:=\bigotimes_{i\in I}\mathbb{C}^{q}, and let Ic:=[n]∖II^{c}:=[n]\setminus I. A quantum channel 𝒩~\widetilde{\mathcal{N}} on ℋ\mathcal{H} is supported on II if it admits Kraus operators of the form K~a=Ka⊗𝕀Ic\widetilde{K}_{a}=K_{a}\otimes\mathbb{I}_{I^{c}}. Equivalently, 𝒩~=𝒩I⊗idIc\widetilde{\mathcal{N}}=\mathcal{N}^{I}\otimes\mathrm{id}_{I^{c}}, where 𝒩I\mathcal{N}^{I} is a quantum channel on ℋI\mathcal{H}_{I} with Kraus operators {Ka}a\{K_{a}\}_{a}.

Definition 1 ((r,δ)(r,\delta)-qLRC).

A quantum code 𝒬\mathcal{Q} is an (r,δ)(r,\delta)-qLRC if for every qudit i∈[n]i\in[n] there exists a recovery set Ri⊆[n]R_{i}\subseteq[n] such that i∈Rii\in R_{i} and |Ri|≤N:=r+δ−1|R_{i}|\leq N:=r+\delta-1, and for every subset I⊆RiI\subseteq R_{i} with |I|≤δ−1|I|\leq\delta-1, there exists a quantum channel ℛ~IRi\widetilde{\mathcal{R}}^{R_{i}}_{I} supported on RiR_{i} such that

ℛ~IRi∘𝒩~I​(ρ)=ρ,∀ρ∈𝒟​(𝒬),\displaystyle\widetilde{\mathcal{R}}^{R_{i}}_{I}\circ\widetilde{\mathcal{N}}^{I}(\rho)=\rho,\qquad\forall\,\rho\in\mathcal{D}(\mathcal{Q}),

for every quantum channel 𝒩~I\widetilde{\mathcal{N}}^{I} supported on II.

That is, for each i∈[n]i\in[n], any located error affecting at most δ−1\delta-1 qudits inside the local group RiR_{i} can be corrected by a recovery operation supported on RiR_{i}.

Definition 2 (Disjoint (r,δ)(r,\delta)-qLRCs).

A disjoint (r,δ)(r,\delta)-qLRC is an (r,δ)(r,\delta)-qLRC whose recovery sets {Ri}i=1n\{R_{i}\}_{i=1}^{n} are either identical or disjoint, that is,

Ri∩Rj=∅orRi=Rj,∀i,j∈[n].\displaystyle R_{i}\cap R_{j}=\emptyset\quad\text{or}\quad R_{i}=R_{j},\qquad\forall\,i,j\in[n].

The distinct recovery sets can then be labeled as {Jℓ}ℓ=1s\{J_{\ell}\}_{\ell=1}^{s}, and they form a partition of [n]=⨆ℓ=1sJℓ[n]=\bigsqcup_{\ell=1}^{s}J_{\ell}.

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 |Jℓ|=N|J_{\ell}|=N and that N∣nN\mid n, so that s=n/Ns=n/N. The results extend to unequal block sizes and to N∤nN\nmid n.

II-A Local structure of disjoint (r,δ)(r,\delta)-qLRCs

For disjoint qLRCs, locality induces a blockwise structure on the code. Let 𝒬\mathcal{Q} be a disjoint (r,δ)(r,\delta)-qLRC of dimension KK, and fix an orthonormal basis (ONB) {|ψi⟩}i=1K\{\ket{\psi_{i}}\}_{i=1}^{K} of 𝒬\mathcal{Q}. Denote by

P:=∑i=1K|ψi⟩​⟨ψi|,\displaystyle P\;:=\;\sum_{i=1}^{K}\ket{\psi_{i}}\bra{\psi_{i}},

the orthogonal projector onto the code space. Since the recovery sets are disjoint, they induce a partition of the nn physical qudits into ss blocks ℋ=⨂ℓ=1sℋJℓ\mathcal{H}\;=\;\bigotimes_{\ell=1}^{s}\mathcal{H}_{J_{\ell}} with ℋJℓ≅(ℂq)⊗N\mathcal{H}_{J_{\ell}}\cong(\mathbb{C}^{q})^{\otimes N}.

Definition 3 (Local code support).

For each recovery block JℓJ_{\ell}, define the local code support

𝒬ℓ:=supp⁡(TrJℓc⁡(P))⊆ℋJℓ,\displaystyle\mathcal{Q}_{\ell}\;:=\;\operatorname{supp}\bigl(\operatorname{Tr}_{J_{\ell}^{c}}(P)\bigr)\;\subseteq\;\mathcal{H}_{J_{\ell}},

and let PℓP_{\ell} denote the orthogonal projector onto 𝒬ℓ\mathcal{Q}_{\ell}, referred to as the local projector. Write aℓ:=dim𝒬ℓ≤dimℋJℓa_{\ell}:=\dim\mathcal{Q}_{\ell}\leq\dim\mathcal{H}_{J_{\ell}}.

By construction, 𝒬ℓ\mathcal{Q}_{\ell} is the smallest subspace of ℋJℓ\mathcal{H}_{J_{\ell}} that supports all reduced code states on block JℓJ_{\ell}. Thus, it captures the local degrees of freedom accessible within that block. Choose, for each ℓ\ell, an arbitrary ONB {|αt(ℓ)⟩}t=1aℓ\{|\alpha_{t}^{(\ell)}\rangle\}_{t=1}^{a_{\ell}} of 𝒬ℓ\mathcal{Q}_{\ell}. Then

|α𝐭⟩:=⨂ℓ=1s|αtℓ(ℓ)⟩,𝐭=(t1,…,ts)∈∏ℓ=1s[aℓ],\displaystyle\ket{\alpha_{\mathbf{t}}}:=\bigotimes_{\ell=1}^{s}|\alpha_{t_{\ell}}^{(\ell)}\rangle,\qquad\mathbf{t}=(t_{1},\dots,t_{s})\in\prod_{\ell=1}^{s}[a_{\ell}],

forms an ONB of the product space ⨂ℓ=1s𝒬ℓ\bigotimes_{\ell=1}^{s}\mathcal{Q}_{\ell}. Since supp⁡(TrJℓc⁡(|ψ⟩​⟨ψ|))⊆𝒬ℓ\operatorname{supp}(\operatorname{Tr}_{J_{\ell}^{c}}(|\psi\rangle\langle\psi|))\subseteq\mathcal{Q}_{\ell}, we have |ψ⟩∈𝒬ℓ⊗ℋJℓc|\psi\rangle\in\mathcal{Q}_{\ell}\otimes\mathcal{H}_{J_{\ell}^{c}} for every ℓ\ell. Intersecting over all ℓ\ell and using ℋ=⨂ℓ=1sℋJℓ\mathcal{H}=\bigotimes_{\ell=1}^{s}\mathcal{H}_{J_{\ell}} yields |ψ⟩∈⨂ℓ=1s𝒬ℓ|\psi\rangle\in\bigotimes_{\ell=1}^{s}\mathcal{Q}_{\ell}. Hence,

|ψ⟩=∑𝐭ν𝐭(|ψ⟩)​|α𝐭⟩,∀|ψ⟩∈𝒬⊆⨂ℓ=1s𝒬ℓ.\displaystyle\ket{\psi}\;=\;\sum_{\mathbf{t}}\nu_{\mathbf{t}}^{(\ket{\psi})}\,\ket{\alpha_{\mathbf{t}}},\quad\forall\ket{\psi}\in\mathcal{Q}\subseteq\bigotimes_{\ell=1}^{s}\mathcal{Q}_{\ell}. (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 {Ej}j=0q2−1\{E_{j}\}_{j=0}^{q^{2}-1} be an operator basis of ℂq\mathbb{C}^{q} satisfying Tr⁡(Ej†​Ek)=q​δj,k\Tr\big(E_{j}^{\dagger}E_{k}\big.)=q\,\delta_{j,k}, with E0=𝕀E_{0}=\mathbb{I}. This induces the tensor-product operator basis E𝒊=Ei1⊗⋯⊗EinE_{\boldsymbol{i}}=E_{i_{1}}\otimes\cdots\otimes E_{i_{n}} on (ℂq)⊗n(\mathbb{C}^{q})^{\otimes n}, where 𝒊∈{0,…,q2−1}n\boldsymbol{i}\in\{0,\dots,q^{2}-1\}^{n}, and Tr⁡(E𝒊†​E𝒋)=qn​δ𝒊,𝒋\Tr\big(E_{\boldsymbol{i}}^{\dagger}E_{\boldsymbol{j}}\big.)=q^{n}\delta_{\boldsymbol{i},\boldsymbol{j}}. For E=F1⊗⋯⊗FnE=F_{1}\otimes\cdots\otimes F_{n}, define supp​(E):={j∈[n]:Fj≠𝕀}\mathrm{supp}(E):=\{j\in[n]:F_{j}\neq\mathbb{I}\} and wt​(E):=|supp​(E)|\mathrm{wt}(E):=|\mathrm{supp}(E)|.

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 q2q^{2}, the Krawtchouk polynomials of degree 0≤i≤n0\leq i\leq n in the variable 0≤k≤n0\leq k\leq n are defined by

Ki(n)​(k)=∑j=0i(−1)j​(q2−1)i−j​(kj)​(n−ki−j).\displaystyle K^{(n)}_{i}(k)=\sum_{j=0}^{i}(-1)^{j}(q^{2}-1)^{i-j}\binom{k}{j}\binom{n-k}{i-j}.

These polynomials satisfy the discrete orthogonality relation ∑j=0nKi(n)​(j)​Kj(n)​(m)=q2​n​δi​m.\sum_{j=0}^{n}K^{(n)}_{i}(j)\,K^{(n)}_{j}(m)=q^{2n}\,\delta_{im}. Hence, they form a basis for the space of polynomials of degree at most nn. Let n=s​Nn=sN where ss and NN are positive integers, and write 𝒊=(i1,…,is)\boldsymbol{i}=(i_{1},\dots,i_{s}) and 𝒌=(k1,…,ks)\boldsymbol{k}=(k_{1},\dots,k_{s}) with iℓ,kℓ∈ℐN:={0,…,N}i_{\ell},k_{\ell}\in\mathcal{I}_{N}:=\{0,\dots,N\}. The multivariate Krawtchouk polynomials are defined by K𝒊​(𝒌)=∏ℓ=1sKiℓ(N)​(kℓ)K_{\boldsymbol{i}}(\boldsymbol{k})=\prod_{\ell=1}^{s}K_{i_{\ell}}^{(N)}(k_{\ell}). Then the family {K𝒊}𝒊∈ℐNs\{K_{\boldsymbol{i}}\}_{\boldsymbol{i}\in\mathcal{I}_{N}^{s}} forms a basis for the space of multivariate polynomials in ss variables with degree at most NN in each coordinate. Hence, any such polynomial f​(𝒌)f(\boldsymbol{k}) admits a unique Krawtchouk expansion

f​(𝒌)=∑𝒊∈ℐNsf𝒊​K𝒊​(𝒌),\displaystyle f(\boldsymbol{k})=\sum_{\boldsymbol{i}\in\mathcal{I}_{N}^{s}}f_{\boldsymbol{i}}\,K_{\boldsymbol{i}}(\boldsymbol{k}), (2)

where f𝒊=q−2​n​∑𝒌∈ℐNsf​(𝒌)​K𝒌​(𝒊).f_{\boldsymbol{i}}=q^{-2n}\sum_{\boldsymbol{k}\in\mathcal{I}_{N}^{s}}f(\boldsymbol{k})\,K_{\boldsymbol{k}}(\boldsymbol{i}).

III KL Conditions for Disjoint qLRCs

In this section, we derive local KL conditions for disjoint (r,δ)(r,\delta)-qLRCs, since the standard KL conditions do not encode the locality constraint on the recovery operation.

Theorem 1 (Local KL condition).

Let 𝒬\mathcal{Q} be a disjoint (r,δ)(r,\delta)-qLRC with partition {Jℓ}ℓ=1s\{J_{\ell}\}_{\ell=1}^{s}. Fix a block JℓJ_{\ell} and let PℓP_{\ell} be the local projector. Consider a quantum channel 𝒩~ℓ\widetilde{\mathcal{N}}_{\ell} supported on JℓJ_{\ell}, with Kraus operators {Ka(ℓ)⊗𝕀Jℓc}a\{K_{a}^{(\ell)}\otimes\mathbb{I}_{J_{\ell}^{c}}\}_{a}. Then there exists a quantum channel ℛ~ℓ\widetilde{\mathcal{R}}_{\ell} supported on JℓJ_{\ell} such that

(ℛ~ℓ∘𝒩~ℓ)​(ρ)=ρ,∀ρ∈𝒟​(𝒬),\displaystyle(\widetilde{\mathcal{R}}_{\ell}\circ\widetilde{\mathcal{N}}_{\ell})(\rho)=\rho,\qquad\forall\,\rho\in\mathcal{D}(\mathcal{Q}),

if and only if

Pℓ​(Ka(ℓ))†​Kb(ℓ)​Pℓ=C~a​b(ℓ)​Pℓ,∀a,b,\displaystyle P_{\ell}(K_{a}^{(\ell)})^{\dagger}K_{b}^{(\ell)}P_{\ell}=\widetilde{C}^{(\ell)}_{ab}\,P_{\ell},\qquad\forall\,a,b,

for some scalars C~a​b(ℓ)∈ℂ\widetilde{C}^{(\ell)}_{ab}\in\mathbb{C}. Equivalently,

⟨αt(ℓ)|(Ka(ℓ))†​Kb(ℓ)|αt′(ℓ)⟩=C~a​b(ℓ)​δt​t′,∀a,b,t,t′∈[aℓ],\displaystyle\langle\alpha_{t}^{(\ell)}|(K_{a}^{(\ell)})^{\dagger}K_{b}^{(\ell)}|\alpha_{t^{\prime}}^{(\ell)}\rangle=\widetilde{C}^{(\ell)}_{ab}\,\delta_{tt^{\prime}},\qquad\forall\,a,b,\ t,t^{\prime}\in[a_{\ell}],

where {|αt(ℓ)⟩}t=1aℓ\{|\alpha_{t}^{(\ell)}\rangle\}_{t=1}^{a_{\ell}} is an ONB of 𝒬ℓ\mathcal{Q}_{\ell}.

Proof sketch.

Fix a block JℓJ_{\ell} and suppress the superscript (ℓ)(\ell). Write 𝒩~ℓ=𝒩ℓ⊗idJℓc\widetilde{\mathcal{N}}_{\ell}=\mathcal{N}_{\ell}\otimes\mathrm{id}_{J_{\ell}^{c}}, with Kraus operators {Ka⊗𝕀Jℓc}a\{K_{a}\otimes\mathbb{I}_{J_{\ell}^{c}}\}_{a}. Let {|αt⟩}t=1aℓ\{|\alpha_{t}\rangle\}_{t=1}^{a_{\ell}} be an ONB of the local code support 𝒬ℓ\mathcal{Q}_{\ell}. Then every code basis vector |ψi⟩∈𝒬|\psi_{i}\rangle\in\mathcal{Q} can be written as |ψi⟩=∑t=1aℓ|αt⟩⊗|βt,i⟩|\psi_{i}\rangle=\sum_{t=1}^{a_{\ell}}|\alpha_{t}\rangle\otimes|\beta_{t,i}\rangle, with ∑t⟨βt,i|βt,j⟩=δi​j\sum_{t}\langle\beta_{t,i}|\beta_{t,j}\rangle=\delta_{ij}.

Sufficiency. If ⟨αt|Ka†​Kb|αt′⟩=C~a​b​δt​t′\langle\alpha_{t}|K_{a}^{\dagger}K_{b}|\alpha_{t^{\prime}}\rangle=\widetilde{C}_{ab}\delta_{tt^{\prime}} for all a,b,t,t′a,b,t,t^{\prime}, then this is exactly the usual KL condition on the local code support 𝒬ℓ\mathcal{Q}_{\ell}. Hence, by the standard KL theorem, there exists a recovery map ℛℓ\mathcal{R}_{\ell} on ℋJℓ\mathcal{H}_{J_{\ell}} correcting 𝒩ℓ\mathcal{N}_{\ell} on 𝒬ℓ\mathcal{Q}_{\ell}. Extending it by the identity on JℓcJ_{\ell}^{c} yields a recovery ℛ~ℓ=ℛℓ⊗idJℓc\widetilde{\mathcal{R}}_{\ell}=\mathcal{R}_{\ell}\otimes\mathrm{id}_{J_{\ell}^{c}} supported on JℓJ_{\ell} that corrects 𝒩~ℓ\widetilde{\mathcal{N}}_{\ell} on 𝒬\mathcal{Q}.

Necessity. Conversely, suppose there exists a recovery ℛℓ⊗idJℓc\mathcal{R}_{\ell}\otimes\mathrm{id}_{J_{\ell}^{c}} such that ((ℛℓ∘𝒩ℓ)⊗idJℓc)​(ρ)=ρ((\mathcal{R}_{\ell}\circ\mathcal{N}_{\ell})\otimes\mathrm{id}_{J_{\ell}^{c}})(\rho)=\rho for all ρ∈𝒟​(𝒬)\rho\in\mathcal{D}(\mathcal{Q}). By considering a purification of the maximally mixed state on 𝒬\mathcal{Q}, one shows that ℛℓ∘𝒩ℓ\mathcal{R}_{\ell}\circ\mathcal{N}_{\ell} acts as the identity on the local support 𝒬ℓ\mathcal{Q}_{\ell}. Hence, 𝒩ℓ\mathcal{N}_{\ell} is perfectly correctable on the local code 𝒬ℓ⊆ℋJℓ\mathcal{Q}_{\ell}\subseteq\mathcal{H}_{J_{\ell}}, and the standard KL necessity theorem yields Pℓ​Ka†​Kb​Pℓ=C~a​b​PℓP_{\ell}K_{a}^{\dagger}K_{b}P_{\ell}=\widetilde{C}_{ab}P_{\ell} for all a,ba,b. ∎

The local KL condition shows that correctability within a recovery block depends only on the local code support 𝒬ℓ\mathcal{Q}_{\ell}.

Remark.

Since the local KL conditions are linear in the error operators, it is enough to work with the tensor-product operator basis ℰ={E𝐢}𝐢\mathcal{E}=\{E_{\boldsymbol{i}}\}_{\boldsymbol{i}} of (ℂq)⊗n(\mathbb{C}^{q})^{\otimes n} introduced in Section II-A.

The global minimum distance dd of 𝒬\mathcal{Q} is the smallest weight of an operator E∈ℰE\in\mathcal{E} that is not detectable on 𝒬\mathcal{Q}, that is, ⟨ψi|E|ψj⟩≠CE​δi​j\langle\psi_{i}|E|\psi_{j}\rangle\neq C_{E}\,\delta_{ij} for some i,ji,j. Likewise, for a recovery block JℓJ_{\ell} with local code support 𝒬ℓ\mathcal{Q}_{\ell}, the local minimum distance δ(ℓ)\delta^{(\ell)} is the smallest weight of an operator E(ℓ)E^{(\ell)} supported on JℓJ_{\ell} that is not locally detectable on 𝒬ℓ\mathcal{Q}_{\ell}, that is, ⟨αt(ℓ)|E(ℓ)|αt′(ℓ)⟩≠CE(ℓ)​δt​t′\langle\alpha_{t}^{(\ell)}|E^{(\ell)}|\alpha_{t^{\prime}}^{(\ell)}\rangle\neq C_{E}^{(\ell)}\,\delta_{tt^{\prime}} for some t,t′∈[aℓ]t,t^{\prime}\in[a_{\ell}]. The local distance of the code is then defined by δ:=minℓ⁡δ(ℓ)\delta:=\min_{\ell}\delta^{(\ell)}.

Let 𝒬\mathcal{Q} be a disjoint (r,δ)(r,\delta)-qLRC with global distance dd and block partition {Jℓ}ℓ=1s\{J_{\ell}\}_{\ell=1}^{s}. For a basis operator E=⨂ℓ=1sE(ℓ)E=\bigotimes_{\ell=1}^{s}E^{(\ell)}, let iℓ=wt​(E(ℓ))i_{\ell}=\mathrm{wt}(E^{(\ell)}) denote the number of affected qudits in block JℓJ_{\ell}, and write 𝒊∈ℐNs\boldsymbol{i}\in\mathcal{I}_{N}^{s} for the corresponding erasure pattern. By locality and disjointness, each block with iℓ≤δ−1i_{\ell}\leq\delta-1 can be corrected independently, while the remaining erasures can be corrected globally provided their total weight is at most d−1d-1. Therefore the set of correctable erasure patterns is

𝒯d,δ={𝒊∈ℐNs|\displaystyle\mathcal{T}_{d,\delta}=\Big\{\boldsymbol{i}\in\mathcal{I}_{N}^{s}\;\Big|\; ∃V⊆[s]​s.t.​∑j∈Vij≤d−1,\displaystyle\exists\,V\subseteq[s]\ \text{s.t.}\ \sum_{j\in V}i_{j}\leq d-1,
ij≤δ−1∀j∉V}.\displaystyle i_{j}\leq\delta-1\ \forall\,j\notin V\Big\}.

Equivalently, 𝒯d,δ\mathcal{T}_{d,\delta} consists of all 𝒊∈ℐNs\boldsymbol{i}\in\mathcal{I}_{N}^{s} such that ∑j:ij≥δij≤d−1\sum_{j:\,i_{j}\geq\delta}i_{j}\leq d-1.

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 ℰ={E}\mathcal{E}=\{E\} fixed in Section II-A, write E=⨂ℓ=1sE(ℓ)E=\bigotimes_{\ell=1}^{s}E^{(\ell)}. For 𝒊∈ℐNs\boldsymbol{i}\in\mathcal{I}_{N}^{s} and operators M1,M2M_{1},M_{2} on (ℂq)⊗n(\mathbb{C}^{q})^{\otimes n}, define the blockwise SL weight enumerators

A𝒊SL​(M1,M2)\displaystyle A^{\mathrm{SL}}_{\boldsymbol{i}}(M_{1},M_{2}) :=∑E∈ℰwt​(E(ℓ))=iℓ​∀ℓTr⁡(E​M1)​Tr⁡(E†​M2),\displaystyle:=\sum_{\begin{subarray}{c}E\in\mathcal{E}\\ \mathrm{wt}(E^{(\ell)})=i_{\ell}\ \forall\ell\end{subarray}}\Tr(EM_{1})\,\Tr(E^{\dagger}M_{2}),
B𝒊SL​(M1,M2)\displaystyle B^{\mathrm{SL}}_{\boldsymbol{i}}(M_{1},M_{2}) :=∑E∈ℰwt​(E(ℓ))=iℓ​∀ℓTr⁡(E​M1​E†​M2).\displaystyle:=\sum_{\begin{subarray}{c}E\in\mathcal{E}\\ \mathrm{wt}(E^{(\ell)})=i_{\ell}\ \forall\ell\end{subarray}}\Tr(EM_{1}E^{\dagger}M_{2}).

Summing over all 𝒊\boldsymbol{i} such that ∑ℓiℓ=i\sum_{\ell}i_{\ell}=i recovers the standard weight-ii SL enumerators. When M1=M2=PM_{1}=M_{2}=P, we write A𝒊SLA^{\mathrm{SL}}_{\boldsymbol{i}} and B𝒊SLB^{\mathrm{SL}}_{\boldsymbol{i}}. We next state their basic properties.

Theorem 2 (Properties of the blockwise SL weight enumerators).

Let 𝒬\mathcal{Q} be a disjoint (r,δ)(r,\delta)-qLRC with parameters ((n,K,d))q((n,K,d))_{q}, projector PP, and blockwise SL weight enumerators {A𝐢SL}\{A^{\mathrm{SL}}_{\boldsymbol{i}}\} and {B𝐢SL}\{B^{\mathrm{SL}}_{\boldsymbol{i}}\}. Then:

  1. 1.

    A𝒊SL≥0A^{\mathrm{SL}}_{\boldsymbol{i}}\geq 0 and K​B𝒊SL≥A𝒊SLKB^{\mathrm{SL}}_{\boldsymbol{i}}\geq A^{\mathrm{SL}}_{\boldsymbol{i}} for all 𝒊∈ℐNs\boldsymbol{i}\in\mathcal{I}_{N}^{s}. Moreover, A𝟎SL=K2A^{\mathrm{SL}}_{\mathbf{0}}=K^{2} and B𝟎SL=KB^{\mathrm{SL}}_{\mathbf{0}}=K.

  2. 2.

    A𝒊SL=K​B𝒊SLA^{\mathrm{SL}}_{\boldsymbol{i}}=K\,B^{\mathrm{SL}}_{\boldsymbol{i}} for all 𝒊∈𝒯d,δ\boldsymbol{i}\in\mathcal{T}_{d,\delta}.

  3. 3.

    They satisfy the MacWilliams identity

    B𝒋SL=1qn​∑𝒊∈ℐNsA𝒊SL​K𝒋​(𝒊).\displaystyle B^{\mathrm{SL}}_{\boldsymbol{j}}=\frac{1}{q^{n}}\sum_{\boldsymbol{i}\in\mathcal{I}_{N}^{s}}A^{\mathrm{SL}}_{\boldsymbol{i}}\,K_{\boldsymbol{j}}(\boldsymbol{i}).
Proof.

1) Nonnegativity is immediate from the definitions, and K​B𝒊SL≥A𝒊SLKB^{\mathrm{SL}}_{\boldsymbol{i}}\geq A^{\mathrm{SL}}_{\boldsymbol{i}} follows from the Cauchy–Schwarz inequality. For 𝒊=𝟎\boldsymbol{i}=\mathbf{0}, only the identity operator contributes, so A𝟎SL=Tr⁡(P)2=K2A^{\mathrm{SL}}_{\mathbf{0}}=\Tr(P)^{2}=K^{2} and B𝟎SL=Tr⁡(P2)=KB^{\mathrm{SL}}_{\mathbf{0}}=\Tr(P^{2})=K.

2) Fix 𝒊∈𝒯d,δ\boldsymbol{i}\in\mathcal{T}_{d,\delta} and let E=⨂ℓ=1sE(ℓ)E=\bigotimes_{\ell=1}^{s}E^{(\ell)} have block weight distribution 𝒊\boldsymbol{i}. Set V:={ℓ∈[s]:iℓ≥δ}V:=\{\ell\in[s]:\,i_{\ell}\geq\delta\}. Then for each ℓ∉V\ell\notin V we have iℓ≤δ−1i_{\ell}\leq\delta-1, so by the local KL conditions on 𝒬ℓ\mathcal{Q}_{\ell}, ⟨αt(ℓ)|E(ℓ)|αt′(ℓ)⟩=C(ℓ)​δt​t′\langle\alpha_{t}^{(\ell)}|E^{(\ell)}|\alpha_{t^{\prime}}^{(\ell)}\rangle=C^{(\ell)}\delta_{tt^{\prime}}. Using the decomposition in (1), it follows that for all |ψa⟩,|ψb⟩∈𝒬|\psi_{a}\rangle,|\psi_{b}\rangle\in\mathcal{Q},

⟨ψa|E|ψb⟩=(∏ℓ∉VC(ℓ))​⟨ψa|EV|ψb⟩,\displaystyle\langle\psi_{a}|E|\psi_{b}\rangle=\Big(\prod_{\ell\notin V}C^{(\ell)}\Big)\langle\psi_{a}|E_{V}|\psi_{b}\rangle,

where EV(ℓ)=E(ℓ)E_{V}^{(\ell)}=E^{(\ell)} for ℓ∈V\ell\in V and EV(ℓ)=𝕀E_{V}^{(\ell)}=\mathbb{I} for ℓ∉V\ell\notin V. Since 𝒊∈𝒯d,δ\boldsymbol{i}\in\mathcal{T}_{d,\delta}, we have ∑ℓ∈Viℓ≤d−1\sum_{\ell\in V}i_{\ell}\leq d-1 and hence wt​(EV)≤d−1\mathrm{wt}(E_{V})\leq d-1. By the global KL conditions, ⟨ψa|EV|ψb⟩=Cglobal​δa​b\langle\psi_{a}|E_{V}|\psi_{b}\rangle=C_{\mathrm{global}}\delta_{ab}, so

⟨ψa|E|ψb⟩=(∏ℓ∉VC(ℓ))​Cglobal​δa​b.\displaystyle\langle\psi_{a}|E|\psi_{b}\rangle=\Big(\prod_{\ell\notin V}C^{(\ell)}\Big)C_{\mathrm{global}}\delta_{ab}.

Thus every operator with block weight distribution 𝒊\boldsymbol{i} acts as a scalar on 𝒬\mathcal{Q}, which implies A𝒊SL=K​B𝒊SLA^{\mathrm{SL}}_{\boldsymbol{i}}=K\,B^{\mathrm{SL}}_{\boldsymbol{i}} for all 𝒊∈𝒯d,δ\boldsymbol{i}\in\mathcal{T}_{d,\delta}.

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 S⊆[n]S\subseteq[n], define the unitary weight enumerators [17].

ASU​(M1,M2)\displaystyle A^{\mathrm{U}}_{S}(M_{1},M_{2}) :=Tr(TrSc⁡(M1)​TrSc⁡(M2)),\displaystyle:=\Tr\bigl(\Tr_{S^{c}}(M_{1})\,\Tr_{S^{c}}(M_{2})\bigr.),
BSU​(M1,M2)\displaystyle B^{\mathrm{U}}_{S}(M_{1},M_{2}) :=Tr(TrS⁡(M1)​TrS⁡(M2)).\displaystyle:=\Tr\bigl(\Tr_{S}(M_{1})\,\Tr_{S}(M_{2})\bigr.).

Thus ASU​(M1,M2)=BScU​(M1,M2)A^{\mathrm{U}}_{S}(M_{1},M_{2})=B^{\mathrm{U}}_{S^{c}}(M_{1},M_{2}). Let Sℓ:=S∩JℓS_{\ell}:=S\cap J_{\ell}. For 𝒊∈ℐNs\boldsymbol{i}\in\mathcal{I}_{N}^{s}, define the blockwise unitary enumerators by

A𝒊U​(M1,M2)\displaystyle A^{\mathrm{U}}_{\boldsymbol{i}}(M_{1},M_{2}) :=∑S⊆[n]|Sℓ|=iℓ,∀ℓASU​(M1,M2),\displaystyle:=\sum_{\begin{subarray}{c}S\subseteq[n]\\ |S_{\ell}|=i_{\ell},\ \forall\ell\end{subarray}}A^{\mathrm{U}}_{S}(M_{1},M_{2}), (3)
B𝒊U​(M1,M2)\displaystyle B^{\mathrm{U}}_{\boldsymbol{i}}(M_{1},M_{2}) :=∑S⊆[n]|Sℓ|=iℓ,∀ℓBSU​(M1,M2).\displaystyle:=\sum_{\begin{subarray}{c}S\subseteq[n]\\ |S_{\ell}|=i_{\ell},\ \forall\ell\end{subarray}}B^{\mathrm{U}}_{S}(M_{1},M_{2}). (4)

Summing over all 𝒊\boldsymbol{i} with ∑ℓiℓ=i\sum_{\ell}i_{\ell}=i recovers the standard weight-ii unitary enumerators. Moreover, A𝒊U​(M1,M2)=BN−𝒊U​(M1,M2)A^{\mathrm{U}}_{\boldsymbol{i}}(M_{1},M_{2})=B^{\mathrm{U}}_{N-\boldsymbol{i}}(M_{1},M_{2}), where N−𝒊:=(N−i1,…,N−is)N-\boldsymbol{i}:=(N-i_{1},\dots,N-i_{s}).

To relate the blockwise unitary and SL enumerators, let T⊆[n]T\subseteq[n] decompose as T=⋃ℓTℓT=\bigcup_{\ell}T_{\ell} with Tℓ⊆JℓT_{\ell}\subseteq J_{\ell}, and define

ATSL​(M1,M2)\displaystyle A^{\mathrm{SL}}_{T}(M_{1},M_{2}) :=∑E∈ℰsupp​(E(ℓ))=Tℓ,∀ℓTr⁡(E​M1)​Tr⁡(E†​M2),\displaystyle:=\sum_{\begin{subarray}{c}E\in\mathcal{E}\\ \mathrm{supp}(E^{(\ell)})=T_{\ell},\ \forall\ell\end{subarray}}\Tr(EM_{1})\Tr(E^{\dagger}M_{2}),

with BTSL​(M1,M2)B^{\mathrm{SL}}_{T}(M_{1},M_{2}) defined analogously. Then, following [17], for any S⊆[n]S\subseteq[n],

ASU​(M1,M2)=q−|S|​∑Tℓ⊆Sℓ,∀ℓATSL​(M1,M2),\displaystyle A^{\mathrm{U}}_{S}(M_{1},M_{2})=q^{-|S|}\sum_{T_{\ell}\subseteq S_{\ell},\ \forall\ell}A^{\mathrm{SL}}_{T}(M_{1},M_{2}),

and the same relation holds for BSUB^{\mathrm{U}}_{S} with BTSLB^{\mathrm{SL}}_{T}.

Next, we express the blockwise unitary enumerators in terms of the blockwise SL enumerators.

Corollary 1.

For any operators M1,M2M_{1},M_{2} on (ℂq)⊗n(\mathbb{C}^{q})^{\otimes n},

A𝒊U​(M1,M2)=q−∑ℓ=1siℓ​∑𝒌≤𝒊c​(𝒌,𝒊)​A𝒌SL​(M1,M2),\displaystyle A^{\mathrm{U}}_{\boldsymbol{i}}(M_{1},M_{2})=q^{-\sum_{\ell=1}^{s}i_{\ell}}\sum_{\boldsymbol{k}\leq\boldsymbol{i}}c(\boldsymbol{k},\boldsymbol{i})\,A^{\mathrm{SL}}_{\boldsymbol{k}}(M_{1},M_{2}),

where 𝐤≤𝐢\boldsymbol{k}\leq\boldsymbol{i} denotes componentwise inequality and c​(𝐤,𝐢):=∏ℓ=1s(N−kℓN−iℓ)c(\boldsymbol{k},\boldsymbol{i}):=\prod_{\ell=1}^{s}\binom{N-k_{\ell}}{N-i_{\ell}}. An analogous identity holds for B𝐢U​(M1,M2)B^{\mathrm{U}}_{\boldsymbol{i}}(M_{1},M_{2}).

Proof.

This follows by counting, in each block JℓJ_{\ell}, the number of subsets Sℓ⊇TℓS_{\ell}\supseteq T_{\ell} with |Sℓ|=iℓ|S_{\ell}|=i_{\ell} for a fixed subset TℓT_{\ell} of size kℓk_{\ell}, and then multiplying over ℓ\ell. ∎

Theorem 3.

Let 𝒬\mathcal{Q} be a ((n,K,d))q((n,K,d))_{q} quantum code with projector PP. Then, for every 𝐢∈ℐNs\boldsymbol{i}\in\mathcal{I}_{N}^{s},

K​B𝒊U≥A𝒊U.\displaystyle K\,B^{\mathrm{U}}_{\boldsymbol{i}}\geq A^{\mathrm{U}}_{\boldsymbol{i}}.

Equality holds if and only if 𝒬\mathcal{Q} can perfectly correct the erasure of every subset S⊆[n]S\subseteq[n] such that |Sℓ|≤iℓ,∀ℓ∈[s]|S_{\ell}|\leq i_{\ell},\;\forall\ell\in[s].

Proof.

For every subset S⊆[n]S\subseteq[n], the unitary enumerators satisfy K​BSU≥ASUK\,B^{\mathrm{U}}_{S}\geq A^{\mathrm{U}}_{S}. Summing over all SS such that |Sℓ|=iℓ|S_{\ell}|=i_{\ell} for every ℓ\ell gives K​B𝒊U≥A𝒊UK\,B^{\mathrm{U}}_{\boldsymbol{i}}\geq A^{\mathrm{U}}_{\boldsymbol{i}}. For the equality statement, (3) and (4) give

K​B𝒊U−A𝒊U=∑S⊆[n]|Sℓ|=iℓ,∀ℓ(K​BSU−ASU).\displaystyle K\,B^{\mathrm{U}}_{\boldsymbol{i}}-A^{\mathrm{U}}_{\boldsymbol{i}}=\sum_{\begin{subarray}{c}S\subseteq[n]\\ |S_{\ell}|=i_{\ell},\ \forall\ell\end{subarray}}\bigl(K\,B^{\mathrm{U}}_{S}-A^{\mathrm{U}}_{S}\bigr).

Each summand is nonnegative, so equality holds if and only if K​BSU=ASUK\,B^{\mathrm{U}}_{S}=A^{\mathrm{U}}_{S} for every SS with |Sℓ|=iℓ|S_{\ell}|=i_{\ell} for all ℓ\ell. By Rains’ equality characterization [17], this is equivalent to perfect correctability of the erasure of each such subset SS. Since erasure correction is monotone under inclusion, this is in turn equivalent to perfect correctability of every subset S′⊆[n]S^{\prime}\subseteq[n] satisfying |Sℓ′|≤iℓ|S^{\prime}_{\ell}|\leq i_{\ell} for all ℓ\ell. 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 (r,δ)(r,\delta)-qLRCs using blockwise weight enumerators.

Definition 4 (Pure disjoint (r,δ)(r,\delta)-qLRC).

A disjoint (r,δ)(r,\delta)-qLRC with distance dd is pure if A𝐢SL=0A^{\mathrm{SL}}_{\boldsymbol{i}}=0 for all 𝐢∈𝒯d,δ∖{𝟎}\boldsymbol{i}\in\mathcal{T}_{d,\delta}\setminus\{\boldsymbol{0}\}.

This is the blockwise analogue of the usual purity condition, restricted to the set of (r,δ)(r,\delta)-qLRC-correctable error patterns.

Theorem 4 (Singleton-like bound for pure disjoint (r,δ)(r,\delta)-qLRCs).

Let 𝒬\mathcal{Q} be a pure disjoint (r,δ)(r,\delta)-qLRC of length nn and minimum distance dd. Then

K≤qn−2​(d−1)−2​⌊n−(d−1)N⌋​(δ−1).\displaystyle K\;\leq\;q^{\,n-2(d-1)-2\left\lfloor\frac{n-(d-1)}{N}\right\rfloor(\delta-1)}. (5)
Proof.

Set f:=⌊n−(d−1)N⌋f:=\left\lfloor\frac{n-(d-1)}{N}\right\rfloor. Choose ff recovery blocks, say J1,…,JfJ_{1},\dots,J_{f}, and in each select a subset Tℓ⊆JℓT_{\ell}\subseteq J_{\ell} of size |Tℓ|=δ−1|T_{\ell}|=\delta-1. Let T:=⋃ℓ=1fTℓT:=\bigcup_{\ell=1}^{f}T_{\ell}. Since n−f​N≥d−1n-fN\geq d-1, we may also choose a subset V⊆[n]∖⋃ℓ=1fJℓV\subseteq[n]\setminus\bigcup_{\ell=1}^{f}J_{\ell} of size |V|=d−1|V|=d-1. Let 𝒋\boldsymbol{j} be the corresponding blockwise erasure profile, so that jℓ=δ−1j_{\ell}=\delta-1 for ℓ≤f\ell\leq f and ∑ℓ>fjℓ=d−1\sum_{\ell>f}j_{\ell}=d-1. Set m:=∑ℓ=1sjℓ=f​(δ−1)+(d−1)m:=\sum_{\ell=1}^{s}j_{\ell}=f(\delta-1)+(d-1).

Now let S⊆[n]S\subseteq[n] satisfy |Sℓ|≤jℓ|S_{\ell}|\leq j_{\ell} for all ℓ\ell. For ℓ≤f\ell\leq f, we have |Sℓ|≤δ−1|S_{\ell}|\leq\delta-1, so the erasures in those blocks are locally correctable. After those local recoveries, the remaining erasures lie in the blocks ℓ>f\ell>f, where their total number is at most ∑ℓ>fjℓ=d−1\sum_{\ell>f}j_{\ell}=d-1. These are therefore globally correctable. Hence every subset SS with block profile bounded by 𝒋\boldsymbol{j} is correctable. Therefore, by Theorem 3, we have K​B𝒋U=A𝒋UKB^{\mathrm{U}}_{\boldsymbol{j}}=A^{\mathrm{U}}_{\boldsymbol{j}}. Using the duality relation B𝒋U=AN−𝒋UB^{\mathrm{U}}_{\boldsymbol{j}}=A^{\mathrm{U}}_{N-\boldsymbol{j}}, we obtain

A𝒋U=K​AN−𝒋U.\displaystyle A^{\mathrm{U}}_{\boldsymbol{j}}=KA^{\mathrm{U}}_{N-\boldsymbol{j}}. (6)

Expanding both sides using Corollary 1, we obtain

A𝒋U\displaystyle A^{\mathrm{U}}_{\boldsymbol{j}} =q−m​∑𝒌≤𝒋c​(𝒌,𝒋)​A𝒌SL,\displaystyle=q^{-m}\sum_{\boldsymbol{k}\leq\boldsymbol{j}}c(\boldsymbol{k},\boldsymbol{j})\,A^{\mathrm{SL}}_{\boldsymbol{k}},
AN−𝒋U\displaystyle A^{\mathrm{U}}_{N-\boldsymbol{j}} =q−n+m​∑𝒌≤N−𝒋c​(𝒌,N−𝒋)​A𝒌SL.\displaystyle=q^{-n+m}\sum_{\boldsymbol{k}\leq N-\boldsymbol{j}}c(\boldsymbol{k},N-\boldsymbol{j})\,A^{\mathrm{SL}}_{\boldsymbol{k}}.

If 𝒌≤𝒋\boldsymbol{k}\leq\boldsymbol{j}, then kℓ≤δ−1k_{\ell}\leq\delta-1 for ℓ≤f\ell\leq f, while ∑ℓ>fkℓ≤∑ℓ>fjℓ=d−1\sum_{\ell>f}k_{\ell}\leq\sum_{\ell>f}j_{\ell}=d-1. Hence 𝒌∈𝒯d,δ\boldsymbol{k}\in\mathcal{T}_{d,\delta}. By purity, A𝒌SL=0A^{\mathrm{SL}}_{\boldsymbol{k}}=0 for all 𝒌≠𝟎\boldsymbol{k}\neq\mathbf{0}, whereas A𝟎SL=K2A^{\mathrm{SL}}_{\mathbf{0}}=K^{2}. Therefore,

A𝒋U=K2​q−m​(Nδ−1)f​∏ℓ=f+1s(Njℓ).\displaystyle A^{\mathrm{U}}_{\boldsymbol{j}}=K^{2}q^{-m}\binom{N}{\delta-1}^{f}\prod_{\ell=f+1}^{s}\binom{N}{j_{\ell}}.

Similarly, AN−𝒋U≥K2​q−n+m​∏ℓ=1f(Nδ−1)​∏ℓ=f+1s(Njℓ)A^{\mathrm{U}}_{N-\boldsymbol{j}}\geq K^{2}q^{-n+m}\prod_{\ell=1}^{f}\binom{N}{\delta-1}\prod_{\ell=f+1}^{s}\binom{N}{j_{\ell}}, where the inequality follows from the positivity of the enumerators. Substituting into (6) yields K≤qn−2​mK\leq q^{\,n-2m}.

∎

Remark.

For general qLRCs, the expansion of A𝐣UA^{\mathrm{U}}_{\boldsymbol{j}} may contain additional nonzero terms A𝐤SLA^{\mathrm{SL}}_{\boldsymbol{k}} with 𝐤∈𝒯d,δ∖{𝟎}\boldsymbol{k}\in\mathcal{T}_{d,\delta}\setminus\{\mathbf{0}\}. These extra nonnegative contributions prevent the identity A𝐣U=K​AN−𝐣UA^{\mathrm{U}}_{\boldsymbol{j}}=KA^{\mathrm{U}}_{N-\boldsymbol{j}} from yielding a bound on KK.

Next, we compare Theorem 4 with the known bounds in the literature. For disjoint (r,δ)(r,\delta)-qLRCs of length nn and minimum distance dd, the quantum dimension kk satisfies

k≤n−2​(d−1)−2​(nN−⌈d−1r⌉)​(δ−1),\displaystyle k\leq n-2(d-1)-2\!\left(\frac{n}{N}-\Big\lceil\frac{d-1}{r}\Big\rceil\right)(\delta-1), (7)

which for δ=2\delta=2 reduces to the bound derived in [9]. A direct comparison shows that (5) strengthens the general disjoint (r,δ)(r,\delta)-qLRC bound (7) under the additional purity assumption.

For pure stabilizer (r,δ)(r,\delta)-qLRCs, one also has

2​d≤n−k−2​(⌈n+k2​r⌉−1)​(δ−1)+2.\displaystyle 2d\leq n-k-2\Big(\Big\lceil\frac{n+k}{2r}\Big\rceil-1\Big)(\delta-1)+2. (8)

When δ=2\delta=2, Theorem 4 agrees with the pure stabilizer bound (8). For δ>2\delta>2, 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 (r,δ)(r,\delta)-LRC setting. Indeed, the local-plus-global recovery argument guarantees correction of an erasure of size m=(d−1)+f​(δ−1)m=(d-1)+f(\delta-1), and hence the corresponding classical dimension satisfies k′≤n−mk^{\prime}\leq n-m. Substituting k′=n+k2k^{\prime}=\frac{n+k}{2} yields exactly the bound in Theorem 4 for K=qkK=q^{k}. 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 (r,δ)(r,\delta)-qLRC using an LP approach based on the blockwise weight enumerators from Theorem 2.

Theorem 5 (LP–based upper bound for pure disjoint (r,δ)(r,\delta)-qLRCs).

Let 𝒬\mathcal{Q} be a pure disjoint (r,δ)(r,\delta)-qLRC with parameters ((n,K,d))q((n,K,d))_{q}, and blockwise SL weight enumerators {A𝐢SL}\{A^{\mathrm{SL}}_{\boldsymbol{i}}\} and {B𝐢SL}\{B^{\mathrm{SL}}_{\boldsymbol{i}}\}. Let f​(𝐱)f(\mathbf{x}) be a polynomial with Krawtchouk expansion (2) such that f𝐢≥0f_{\boldsymbol{i}}\geq 0 for all 𝐢∈ℐNs\boldsymbol{i}\in\mathcal{I}_{N}^{s}, f𝟎>0f_{\mathbf{0}}>0, and f​(𝐢)≤0f(\boldsymbol{i})\leq 0 for all 𝐢∈𝒯d,δc\boldsymbol{i}\in\mathcal{T}_{d,\delta}^{\mathrm{c}}, where 𝒯d,δc:=ℐNs∖𝒯d,δ\mathcal{T}_{d,\delta}^{\mathrm{c}}:=\mathcal{I}_{N}^{s}\setminus\mathcal{T}_{d,\delta}. Then

K≤1qn​f​(𝟎)f𝟎.\displaystyle K\leq\frac{1}{q^{n}}\frac{f(\mathbf{0})}{f_{\mathbf{0}}}.
Proof.

The claim follows from the LP method of [4], applied to the blockwise weight enumerators in Thm. 2 and Def. 4. ∎

Note that the set of uncorrectable blockwise erasure patterns is 𝒯d,δc={𝒊∈ℐNs|∑j:ij≥δij≥d}\mathcal{T}_{d,\delta}^{\mathrm{c}}=\big\{\boldsymbol{i}\in\mathcal{I}_{N}^{s}\,\big|\,\sum_{j:\,i_{j}\geq\delta}i_{j}\geq d\big\}.

Theorem 6 (LP–based Singleton-like bound for pure disjoint (r,δ)(r,\delta)-qLRCs).

Let 𝒬\mathcal{Q} be a pure disjoint (r,δ)(r,\delta)-qLRC of length nn and minimum distance dd. Then,

K≤{qr​(s−2​t)−s​(δ−1)+2​(δ−∂)if​∂≥δ,qr​(s−2​t)−s​(δ−1)if​∂<δ,\displaystyle K\leq\begin{dcases}q^{r(s-2t)-s(\delta-1)+2(\delta-\partial)}&\text{if}\;\;\partial\geq\delta,\\ q^{r(s-2t)-s(\delta-1)}&\text{if}\;\;\partial<\delta,\end{dcases} (9)

where n=s​Nn=sN and d=t​N+∂d=tN+\partial with 1≤∂≤N1\leq\partial\leq N.

Proof sketch.

For ∂≥δ\partial\geq\delta, define, following [1],

f​(𝐱)\displaystyle f(\mathbf{x}) =∏j=1s−t−1[q2​r​∏i=δN(1−xji)]​q2​(r+δ−∂)​∏i=∂N(1−xs−ti).\displaystyle=\prod_{j=1}^{s-t-1}\left[q^{2r}\prod_{i=\delta}^{N}\left(1-\frac{x_{j}}{i}\right)\right]q^{2(r+\delta-\partial)}\prod_{i=\partial}^{N}\left(1-\frac{x_{s-t}}{i}\right).

For ∂<δ\partial<\delta, define

f​(𝐱)\displaystyle f(\mathbf{x}) =∏j=1s−tq2​r​∏i=δN(1−xji).\displaystyle=\prod_{j=1}^{s-t}q^{2r}\prod_{i=\delta}^{N}\left(1-\frac{x_{j}}{i}\right).

Standard Krawtchouk identities imply f𝒊≥0f_{\boldsymbol{i}}\geq 0 for all 𝒊\boldsymbol{i}. It remains to verify that f​(𝒊)≤0f(\boldsymbol{i})\leq 0 for all 𝒊∈𝒯d,δc\boldsymbol{i}\in\mathcal{T}_{d,\delta}^{\mathrm{c}}. Suppose first that ∂≥δ\partial\geq\delta and let 𝒊∈𝒯d,δc\boldsymbol{i}\in\mathcal{T}_{d,\delta}^{\mathrm{c}}. If iℓ≥δi_{\ell}\geq\delta for some 1≤ℓ≤s−t−11\leq\ell\leq s-t-1, then one of the first factors vanishes. Otherwise, i1,…,is−t−1<δi_{1},\dots,i_{s-t-1}<\delta, so these coordinates do not contribute to ∑j:ij≥δij\sum_{j:\,i_{j}\geq\delta}i_{j}. Since the coordinates s−t+1,…,ss-t+1,\dots,s contribute at most t​NtN, the condition ∑j:ij≥δij≥d=t​N+∂\sum_{j:\,i_{j}\geq\delta}i_{j}\geq d=tN+\partial forces is−t≥∂i_{s-t}\geq\partial, and hence the last factor vanishes.

Now suppose that ∂<δ\partial<\delta and let 𝒊∈𝒯d,δc\boldsymbol{i}\in\mathcal{T}_{d,\delta}^{\mathrm{c}}. If i1,…,is−t<δi_{1},\dots,i_{s-t}<\delta, then only the coordinates s−t+1,…,ss-t+1,\dots,s contribute to ∑j:ij≥δij\sum_{j:\,i_{j}\geq\delta}i_{j}, so ∑j:ij≥δij≤t​N<t​N+∂=d\sum_{j:\,i_{j}\geq\delta}i_{j}\leq tN<tN+\partial=d, a contradiction. Therefore some iℓ≥δi_{\ell}\geq\delta with 1≤ℓ≤s−t1\leq\ell\leq s-t, and one of the factors vanishes. Thus f​(𝒊)=0f(\boldsymbol{i})=0 for all 𝒊∈𝒯d,δc\boldsymbol{i}\in\mathcal{T}_{d,\delta}^{\mathrm{c}}. Therefore ff 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

k≤r​(s−2​t)−s​(δ−1)+2​(δ−∂)+2​(∂−1)​(δ−1)N.\displaystyle\hskip-9.24706ptk\leq r(s-2t)-s(\delta-1)+2(\delta-\partial)+\frac{2(\partial-1)(\delta-1)}{N}. (10)

Relaxing the ceiling in (8) gives

k≤r​(s−2​t)−s​(δ−1)+2​r​(δ−∂)N.\displaystyle k\leq r(s-2t)-s(\delta-1)+\frac{2r(\delta-\partial)}{N}. (11)

Likewise, relaxing the ceiling in (7) gives

k≤\displaystyle k\leq\; r​(s−2​t)−s​(δ−1)+2​(δ−∂)\displaystyle r(s-2t)-s(\delta-1)+2(\delta-\partial)
+2​(t​(δ−1)+(∂−1)r)​(δ−1).\displaystyle\quad+2\!\left(\frac{t(\delta-1)+(\partial-1)}{r}\right)(\delta-1). (12)

Theorem 6 improves on the relaxed bounds (10), (11), and (12). If ∂≥δ\partial\geq\delta, 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 N≥rN\geq r. If ∂<δ\partial<\delta, 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.

Remark.

The original bounds exhibit the same qualitative behavior. In the parameter regimes considered here, the LP bound (9) coincides with the pure stabilizer bound (8) and is at least as tight as the pure disjoint bound (5).

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 (r,δ)(r,\delta)-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 (r,δ)(r,\delta)-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 (r,δ)(r,\delta)-qLRCs. Future work includes extending these techniques to impure quantum codes and to (r,δ)(r,\delta)-qLRCs with overlapping recovery sets, as in the classical setting [11].

References

  • [1] A. Agarwal, A. Barg, S. Hu, A. Mazumdar, and I. Tamo (2018) Combinatorial alphabet-dependent bounds for locally recoverable codes. IEEE Transactions on Information Theory 64 (5), pp. 3481–3492. Cited by: §VI.
  • [2] Z. Amiri, R. Bassoli, H. Boche, S. A. Charania, J. W. Czarske, S. Das, C. Deppe, D. L. Calsi, S. Maheshwari, S. S. Nande, K. Nilesh, J. Nötzel, and Q. Zhang (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] Z. Amiri, R. Bassoli, H. Boche, S. A. Charania, J. W. Czarske, S. Das, C. Deppe, S. Dev, F. H.P. Fitzek, M. I. Habibie, J. Hawellek, M. He, K. Jamshidi, D. L. Calsi, S. S. Nande, K. Nilesh, J. Nötzel, D. Plettemeier, A. Shetewy, C. Upadhyay, and Q. Zhang (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] A. Ashikhmin and S. Litsyu (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] A.R. Calderbank, E.M. Rains, P.M. Shor, and N.J.A. Sloane (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] M. Cao and K. Zhou (2025) Optimal quantum (r,δ)(r,\delta)-locally repairable codes from matrix-product codes. arXiv preprint arXiv:2508.03597. Cited by: §I.
  • [7] P. Delsarte (1973) An algebraic approach to the association schemes of coding theory. Philips Res. Rep. Suppl. 10, pp. 1–97. Cited by: §I.
  • [8] C. Galindo, F. Hernando, H. Martín-Cruz, and R. Matsumoto (2026) Quantum (r, δ\delta)-locally recoverable codes. Finite Fields and Their Applications 111, pp. 102785. Cited by: §I, §I, §I.
  • [9] L. Golowich and V. Guruswami (2023) Quantum locally recoverable codes. arXiv preprint arXiv:2311.08653. Cited by: §I, §I, §V.
  • [10] P. Gopalan, C. Huang, H. Simitci, and S. Yekhanin (2012) On the locality of codeword symbols. IEEE Transactions on Information theory 58 (11), pp. 6925–6934. Cited by: §I.
  • [11] A. Gruica, B. Jany, and A. Ravagnani (2023) LRCs: duality, LP bounds, and field size. arXiv preprint arXiv:2309.03676. Cited by: §VII.
  • [12] A. Ketkar, A. Klappenecker, S. Kumar, and P. K. Sarvepalli (2006) Nonbinary stabilizer codes over finite fields. IEEE transactions on information theory 52 (11), pp. 4892–4914. Cited by: §I.
  • [13] C. Lai and A. Ashikhmin (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] Y. Li, S. Li, H. Lao, G. Luo, and S. Ling (2025) On optimal quantum LRCs from the Hermitian construction and tt-designs. arXiv preprint arXiv:2508.13553. Cited by: §I.
  • [15] Y. Li, S. Li, G. Luo, and S. Ling (2025) Improved bounds and optimal constructions of pure quantum locally recoverable codes. arXiv preprint arXiv:2512.07256. Cited by: §I, §I.
  • [16] G. Luo, B. Chen, M. F. Ezerman, and S. Ling (2025) Bounds and constructions of quantum locally recoverable codes from quantum CSS codes. IEEE Transactions on Information Theory. Cited by: §I, §I.
  • [17] E.M. Rains (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] E.M. Rains (1999) Nonbinary quantum codes. IEEE Transactions on Information Theory 45 (6), pp. 1827–1832. External Links: Document Cited by: §I.
  • [19] E. M. Rains (1999) Quantum shadow enumerators. IEEE transactions on information theory 45 (7), pp. 2361–2366. Cited by: §I.
  • [20] P. Schwenteck, G. T. Nguyen, H. Boche, W. Kellerer, and F. H. Fitzek (2023) 6G perspective of mobile network operators, manufacturers, and verticals. IEEE Networking Letters 5 (3), pp. 169–172. Cited by: §VII.
  • [21] S. Sharma, V. Ramkumar, and I. Tamo (2025) Quantum locally recoverable codes via good polynomials. IEEE Journal on Selected Areas in Information Theory. Cited by: §I.
  • [22] P. Shor and R. Laflamme (1997) Quantum analog of the MacWilliams identities for classical coding theory. Physical review letters 78 (8), pp. 1600. Cited by: §I, §I.
  • [23] J. Simonis (1995) MacWilliams identities and coordinate partitions. Linear Algebra and its Applications 216, pp. 81–91. Cited by: §I, §IV.
  • [24] D. Xie, S. Zhu, and Z. Sun (2025) Two families of optimal quantum locally recoverable codes. International Journal of Theoretical Physics 64 (4), pp. 1–17. Cited by: §I.