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 0-qubit state 1, the Pauli coefficients are 2, and the sector lengths are
3
The corresponding quantum shadow enumerators are
4
where 5 are Kravchuk polynomials (Serrano-Ensástiga et al., 16 Jul 2025).
A third common convention is weight-indexed and Bell-sampling oriented. For an 6-qubit state 7, one defines the spin-flipped state
8
and the shadow coefficients
9
The same paper places these alongside the Shor–Laflamme coefficients
0
and the averaged purity distribution
1
For quantum codes with projector 2, another standard convention is
3
and
4
In entanglement-assisted settings these refine to split coefficients 5 (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 |
|---|---|---|
| 6 | Alternating sum of subsystem overlaps | Subset-indexed normalized shadow coefficient |
| 7 | Kravchuk transform of sector lengths | Weight-indexed shadow enumerator for multiqubit states |
| 8 | Pauli sum with spin-flipped state | Weight-indexed shadow coefficient in Bell-sampling form |
| 9 | 0 sum over weight 1 | Code shadow enumerator |
| 2 | 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
3
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 4,
5
6
and Rains’ shadow enumerator is defined by 7, with coefficient identity
8
For 9, one has 0 and 1, so sector lengths are the Shor–Laflamme enumerators for a one-dimensional code, and 2 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 3, the shadow enumerator satisfies
4
with 5 (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: 6 whereas the Shor–Laflamme basis uses the full MacWilliams matrix 7, and the averaged-purity basis becomes anti-diagonal (Miller et al., 2024).
For pure 8-qubit states, the double-copy interpretation makes positivity especially transparent. Writing 9 with 0, one diagonalizes
1
so that 2, where 3. Because the 4 are projectors, 5, 6 for 7 odd, and 8. Thus only 9 shadow enumerators are linearly independent for pure 0-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 1-qubit parallelized SWAP test, two multipartite states 2 and 3 are loaded into registers 4 and 5, controlled-SWAP tests are applied in parallel using ancillas 6, and the ancillas are measured in the computational basis. If 7 is the outcome and 8, then
9
hence
0
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 1-qubit state 2, Bell measurements are performed on each pair of corresponding qubits of 3. If 4 projects onto Bell strings with exactly 5 triplets, then
6
is the probability of observing exactly 7 triplets, equivalently 8 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 9, because 0 is a projector with 1,
2
samples suffice for additive error 3 and failure probability 4, independent of 5 (Miller et al., 2024). The same work gives robustness guarantees against experimental imperfections by bounding the systematic bias through
6
with 7 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 8, the partition of the brickwork support of a Pauli string 9. The channel eigenvalue is
0
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 1. Sector lengths satisfy nonnegativity, 2, and for pure states
3
For odd 4, orthogonality of 5 and 6 implies
7
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 8-qubit subsystem family, the paper derives
9
00
and
01
Together with the shadow inequalities, these define a polyhedral region 02 that contains the pure-state sector-length set 03 (Serrano-Ensástiga et al., 16 Jul 2025).
The significance for shadow enumerators is immediate because each 04 is linear in 05. For 06, the allowed region is characterized by a convex polytope, and the extremal values of any physical quantity expressed as a linear combination of 07, including shadow enumerators, are reached at vertices (Serrano-Ensástiga et al., 16 Jul 2025). This reduces shadow-enumerator optimization to vertex evaluation.
For 08, the allowed region in 09 is the triangle
10
with vertices corresponding to 11, 12, and 13. The explicit shadow-enumerator formulas are
14
Accordingly, 15 is maximized by 16, while 17 is maximized by 18 (Serrano-Ensástiga et al., 16 Jul 2025).
For 19, the feasible triangle is
20
with vertices 21, 22, and 23. The independent shadow enumerators are
24
The explicit formulas support 25 as maximizing 26 and 27 as maximizing 28 (Serrano-Ensástiga et al., 16 Jul 2025). The same source notes a sentence claiming that 29 is maximized not only by 30 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 31, the situation becomes substantially more complex. The linearly independent shadow enumerators are
32
but numerical evidence indicates 33, additional empirical constraints such as 34 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 35- and 36-type enumerators and their shadow transforms 37, with detectability expressed through low-weight equalities 38 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 39 and the split shadow identities
40
In codeword stabilized (CWS) codes, recent work gives a particularly concrete interpretation. If 41 is the CWS group, 42 the set of word operators, and 43 with 44 a tensor product of 45's and 46's, then the shadow enumerator 47 is the distance enumerator between 48 and 49, up to a normalization depending on whether 50 (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 51-uniformity is equally direct. In one formulation, a pure state 52 has 53 iff it defines a pure 54 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 55-uniformity from one measurement architecture (Shi et al., 2024).
A further extension replaces scalar support weight by a dimension multiset in heterogeneous systems 56. For a multiset 57, the mixed-dimensional shadow coefficient is
58
with 59 (González-Lociga et al., 28 Apr 2026). The associated shadow polynomial
60
satisfies the mixed-dimensional shadow identity
61
equivalently
62
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 63 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 64 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 65 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 66, 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 67, with 68 supported by strong numerical evidence and a conjecture of exactness, while for 69 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 70 is exact, but the papers do not provide a full shot-complexity theorem for estimating the entire 71-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.