Quantum Shadow Enumerators
- Quantum shadow enumerators are quantum weight enumerators that capture alternating-sign subsystem-overlap data while enforcing positivity in multipartite states and quantum codes.
- They are linked to Shor–Laflamme enumerators and sector lengths via MacWilliams-type transforms, and can be measured through parallelized SWAP tests and two-copy Bell sampling.
- Their operational role underpins coding-theoretic constraints and geometric monogamy relations, aiding in optimal quantum error detection and multipartite entanglement verification.
Searching arXiv for the cited papers and closely related work on quantum shadow enumerators. Quantum shadow enumerators are quantum weight enumerators that encode alternating-sign combinations of subsystem-overlap or correlation data and impose positivity constraints on multipartite states and quantum codes. Across the literature, they appear in several equivalent or closely related forms: as Rains’ shadow coefficients indexed by subsets , as weight-indexed coefficients such as , , or , and, in mixed-dimensional settings, as multiset-indexed coefficients (Shi et al., 2024). Their importance is twofold. On the one hand, they are linearly related to Shor–Laflamme enumerators, sector lengths, and averaged subsystem purities, so they are part of the algebraic infrastructure of quantum coding theory and multipartite entanglement (Serrano-Ensástiga et al., 16 Jul 2025). On the other hand, several recent works give them direct operational meaning: each normalized shadow enumerator can be realized as a measurement probability in a parallelized SWAP test, and weight-indexed shadow enumerators can be measured as triplet-count probabilities in two-copy Bell sampling (Miller et al., 2024).
1. Definitions, normalizations, and basic objects
Quantum shadow enumerators are defined in multiple but structurally related conventions. For positive operators on an -partite system, one form recalled in recent work is
with normalized state version
and the shadow inequality (Shi et al., 2024).
In the multiqubit Pauli-expansion formalism, the same structure is expressed through sector lengths. For an -qubit state , the Pauli coefficients are , and the sector lengths are
The corresponding quantum shadow enumerators are
where are Kravchuk polynomials (Serrano-Ensástiga et al., 16 Jul 2025).
A third common convention is weight-indexed and Bell-sampling oriented. For an -qubit state , one defines the spin-flipped state
and the shadow coefficients
The same paper places these alongside the Shor–Laflamme coefficients
and the averaged purity distribution
For quantum codes with projector , another standard convention is
and
In entanglement-assisted settings these refine to split coefficients (Lai et al., 2023).
These conventions differ in indexing and normalization, but they share the same role: they are linear transforms of other enumerator data and satisfy nonnegativity constraints. A plausible implication is that “quantum shadow enumerator” is best understood as a family of equivalent shadow-basis descriptions rather than a single universally normalized object.
| Family | Representative definition | Immediate meaning |
|---|---|---|
| Alternating sum of subsystem overlaps | Subset-indexed normalized shadow coefficient | |
| Kravchuk transform of sector lengths | Weight-indexed shadow enumerator for multiqubit states | |
| Pauli sum with spin-flipped state | Weight-indexed shadow coefficient in Bell-sampling form | |
| sum over weight | Code shadow enumerator | |
| Multiset-grouped shadow coefficient | Mixed-dimensional shadow enumerator |
2. Transform relations, MacWilliams structure, and positivity
Quantum shadow enumerators are embedded in a web of MacWilliams-type transforms. For multiqubit pure states, the direct and inverse relations between sector lengths and shadow enumerators are
which makes the shadow coefficients precisely the shadow-basis coordinates of the sector-length vector (Serrano-Ensástiga et al., 16 Jul 2025).
The coding-theoretic formulation connects these quantities to Shor–Laflamme and Rains enumerators. For Hermitian ,
and Rains’ shadow enumerator is defined by , with coefficient identity
For , one has and , so sector lengths are the Shor–Laflamme enumerators for a one-dimensional code, and are the corresponding quantum shadow enumerators (Serrano-Ensástiga et al., 16 Jul 2025).
The same transform appears in code-based notation. For a quantum code with projector , the shadow enumerator satisfies
with (Lai et al., 2023).
Recent work also emphasizes that the shadow basis is structurally special. In the Bell-sampling formulation, the MacWilliams transform for the shadow or triplet-probability basis is diagonal: whereas the Shor–Laflamme basis uses the full MacWilliams matrix , and the averaged-purity basis becomes anti-diagonal (Miller et al., 2024).
For pure -qubit states, the double-copy interpretation makes positivity especially transparent. Writing with , one diagonalizes
so that , where . Because the are projectors, , for odd, and . Thus only shadow enumerators are linearly independent for pure -qubit states (Serrano-Ensástiga et al., 16 Jul 2025).
A common misconception is that shadow enumerators are merely auxiliary transforms with no intrinsic significance beyond positivity. The recent literature suggests a stronger statement: they are a preferred basis in which MacWilliams duality simplifies, and in several frameworks they coincide with directly measurable probabilities (Miller et al., 2024).
3. Operational interpretations and direct measurement
One major development is the identification of shadow enumerators with experimentally accessible probabilities. In the -qubit parallelized SWAP test, two multipartite states and are loaded into registers and , controlled-SWAP tests are applied in parallel using ancillas , and the ancillas are measured in the computational basis. If is the outcome and , then
hence
This provides a bijective operational interpretation of all normalized shadow enumerators as SWAP-test probabilities and yields an immediate proof of the shadow inequalities from probability nonnegativity (Shi et al., 2024).
A complementary experimental interpretation uses two-copy Bell sampling. For an -qubit state , Bell measurements are performed on each pair of corresponding qubits of . If projects onto Bell strings with exactly triplets, then
is the probability of observing exactly triplets, equivalently singlets (Miller et al., 2024). The empirical triplet-count histogram is therefore an unbiased estimator of the shadow enumerator distribution.
This Bell-sampling framework also supplies direct estimators and sample-complexity guarantees. For any fixed shadow coefficient , because is a projector with ,
samples suffice for additive error and failure probability , independent of (Miller et al., 2024). The same work gives robustness guarantees against experimental imperfections by bounding the systematic bias through
with for shadow observables (Miller et al., 2024).
The operational viewpoint extends beyond direct Bell or SWAP experiments. In classical-shadow measurement protocols based on two-layer brickwork circuits, the exact diagonalization of the shadow channel depends on a refined support invariant $\partBW(v)$, the partition of the brickwork support of a Pauli string . The channel eigenvalue is
$(v|S|v)= \begin{cases} \Sigma_{\mathrm{pb}(n)}, & \partBW(v)=(n/2),\\[1ex] \displaystyle\prod_{l\in\partBW(v)}\Sigma_{\mathrm{ob}(2l+2)}, & \text{otherwise}, \end{cases}$
so Pauli strings are grouped by geometry-sensitive support classes rather than ordinary Hamming weight (Arienzo et al., 2022). This is not termed a quantum shadow enumerator in that paper, but it supports an enumerator-style interpretation in which support classes on the interaction graph replace weight classes. This suggests that shadow-enumerator ideas are not confined to coding theory; they also organize estimation complexity for shallow random-circuit measurement ensembles.
4. Sector lengths, monogamy relations, and optimization for pure multiqubit states
For pure multiqubit states, quantum shadow enumerators are closely tied to the geometry of the sector-length vector . Sector lengths satisfy nonnegativity, , and for pure states
For odd , orthogonality of and implies
The same framework incorporates purity equalities for reduced states that are presented as an alternative formulation of the MacWilliams identity (Serrano-Ensástiga et al., 16 Jul 2025).
The main recent structural advance is a set of monogamy inequalities derived from reduced-state purities and time-reversal overlaps that go beyond the standard shadow inequalities. For a pure state and any -qubit subsystem family, the paper derives
and
Together with the shadow inequalities, these define a polyhedral region that contains the pure-state sector-length set (Serrano-Ensástiga et al., 16 Jul 2025).
The significance for shadow enumerators is immediate because each is linear in . For , the allowed region is characterized by a convex polytope, and the extremal values of any physical quantity expressed as a linear combination of , including shadow enumerators, are reached at vertices (Serrano-Ensástiga et al., 16 Jul 2025). This reduces shadow-enumerator optimization to vertex evaluation.
For , the allowed region in is the triangle
with vertices corresponding to , , and . The explicit shadow-enumerator formulas are
Accordingly, is maximized by , while is maximized by (Serrano-Ensástiga et al., 16 Jul 2025).
For , the feasible triangle is
with vertices , , and . The independent shadow enumerators are
The explicit formulas support as maximizing and as maximizing (Serrano-Ensástiga et al., 16 Jul 2025). The same source notes a sentence claiming that is maximized not only by states but also by the 5-qubit GHZ state; this is inconsistent with the displayed formula and the summary table. The formula-based conclusion therefore appears to be the internally consistent one.
For , the situation becomes substantially more complex. The linearly independent shadow enumerators are
but numerical evidence indicates , additional empirical constraints such as arise, and it remains open whether the exact pure-state region is polyhedral (Serrano-Ensástiga et al., 16 Jul 2025). The paper explicitly concludes that for larger systems current shadow inequalities and the new monogamy inequalities are complementary but insufficient.
5. Coding-theoretic roles, CWS interpretations, and mixed-dimensional generalization
Quantum shadow enumerators retain their original coding-theoretic role as constraints on quantum error-correcting codes. In the normalized-projector formalism, they are part of the standard family consisting of Shor–Laflamme - and -type enumerators and their shadow transforms , with detectability expressed through low-weight equalities and shadow positivity supplying additional linear constraints (Lai et al., 2023). For entanglement-assisted codes, the natural refinement is to split the weight into sender and receiver parts, producing and the split shadow identities
In codeword stabilized (CWS) codes, recent work gives a particularly concrete interpretation. If is the CWS group, the set of word operators, and with a tensor product of 's and 's, then the shadow enumerator is the distance enumerator between and , up to a normalization depending on whether (Lai et al., 2023). This converts the shadow enumerator from an abstract trace transform into a group- and coset-distance quantity. The same paper reports that, for standard CWS or stabilizer codes, shadow identities can be strong enough that semidefinite programming does not improve linear-programming bounds once these shadow constraints are included, whereas for entanglement-assisted CWS codes SDP can still improve LP bounds (Lai et al., 2023).
The relation to absolutely maximally entangled states and -uniformity is equally direct. In one formulation, a pure state has iff it defines a pure quantum error-correcting code, and low-weight vanishing sectors therefore enforce highly constrained shadow-enumerator behavior (Serrano-Ensástiga et al., 16 Jul 2025). In another formulation, the parallelized SWAP test permits extracting Rains unitary enumerators and then Shor–Laflamme enumerators, giving a route to determine code distance and -uniformity from one measurement architecture (Shi et al., 2024).
A further extension replaces scalar support weight by a dimension multiset in heterogeneous systems . For a multiset , the mixed-dimensional shadow coefficient is
with (González-Lociga et al., 28 Apr 2026). The associated shadow polynomial
satisfies the mixed-dimensional shadow identity
equivalently
This generalization preserves the role of shadow positivity while resolving support composition by local dimension rather than only by cardinality (González-Lociga et al., 28 Apr 2026).
6. Experimental status, limitations, and current directions
Quantum shadow enumerators are no longer only theoretical quantities. A trapped-ion experiment implemented two-copy Bell sampling on a 16-qubit processor and directly measured triplet-count distributions, averaged-purity distributions, and Shor–Laflamme enumerators for several six-qubit states and for the color code (Miller et al., 2024). The study reports that shadow or triplet-probability distributions closely matched theory, that the protocol distinguished product, Bell-pair, GHZ, graph-state, and AME structure, and that for the color code the data already allowed inference of and nondegeneracy from raw Bell-sampling outcomes (Miller et al., 2024). A plausible implication is that shadow enumerators have entered the regime of direct experimental diagnostics rather than indirect theoretical postprocessing.
The most favorable complexity results concern shadow and unitary enumerators rather than Shor–Laflamme coefficients. Bell-sampling shadow observables are projectors, so their sample complexity is independent of in the worst-case additive-error guarantee, whereas low-weight Shor–Laflamme coefficients can become costly because inverse transforms amplify noise (Miller et al., 2024). Likewise, in classical-shadow protocols with brickwork circuits, the estimation cost of Pauli observables is governed by geometry-sensitive channel eigenvalues indexed by $\partBW(v)$, and brickwork shadows outperform local Clifford shadows for sufficiently dense or clustered support while remaining less favorable for sparse or half-supported patterns (Arienzo et al., 2022).
Several limitations are explicit in the recent literature. For the multiqubit pure-state geometry, the exact characterization is complete only for , with supported by strong numerical evidence and a conjecture of exactness, while for the feasible region is not fully captured by current inequalities (Serrano-Ensástiga et al., 16 Jul 2025). For Bell-sampling methods, the strongest scalability guarantees apply to shadow and unitary enumerators; worst-case estimation of full Shor–Laflamme data can still be expensive (Miller et al., 2024). For parallelized SWAP tests, the operational equivalence is exact, but the papers do not provide a full shot-complexity theorem for estimating the entire -outcome distribution to high precision (Shi et al., 2024). For brickwork-circuit shadows, the exact analytic solution currently covers one round of a one-dimensional brickwork circuit on an even number of qubits with open or periodic boundary conditions, and deeper circuits remain analytically difficult because of nontrivial intertwinings between layers (Arienzo et al., 2022).
Taken together, these developments place quantum shadow enumerators at the intersection of coding theory, entanglement theory, classical-shadow tomography, and direct multi-copy experiments. They function simultaneously as transform coefficients, positivity witnesses, optimization coordinates, and measurable probability distributions. This suggests that future progress is likely to come from unifying three themes already visible in the current literature: sharper geometric constraints on attainable enumerator vectors, broader operational realizations beyond Bell and SWAP sampling, and support-sensitive generalizations adapted to interaction graphs and heterogeneous local dimensions.