arXiv:2610.37894quant-phOct 2026

Manuscript Offprint

arXiv:2610.37894

Twisted Fourier Analysis of Quantum Weight Enumerators

Ching-Yi Lai

Ching-Yi Lai

Abstract—A unified Fourier framework for quantum weight enumerators of prime-power-dimensional qudits is developed in this paper. We introduce the notions of Weyl power spectrum and Weyl-conjugation autocorrelation for the Weyl-operator quantities underlying the Shor–Laflamme weight enumerators. Representing these quantities as formal vectors, we show that they form a symplectic Fourier transform pair, from which the quantum MacWilliams identity follows by applying the Hamming-weight functional. This framework extends to a family of twisted Fourier transforms, including the Rains shadow transform. We show that identical-copy Bell sampling corresponds to a twisted autocorrelation related to the shadow enumerator through Weyl translation and Hamming projection. We further prove that all twisted Fourier transforms are Weyl translations of either the ordinary MacWilliams transform or the Rains shadow transform. This two-class reduction implies that the twists yield no additional independent coefficientwise positivity constraints under compatible projections. Nevertheless, the framework leads to refined MacWilliams and shadow identities that retain more Fourier information than ordinary Hamming weight enumerators. We employ these refined identities in linear programming, together with simplex mapping and shadow-coset counting, to exclude surviving candidate weight distributions. These techniques yield tighter bounds for binary and qutrit quantum codes, including nonexistence results for specific code parameters.

I. INTRODUCTION

Determining the fundamental limits of quantum error-correcting codes is a central problem in quantum coding theory [1]. Shor and Laflamme [2] introduced the A- and B-type weight enumerators based on Pauli operators and derived a quantum analogue of the classical MacWilliams identity [3] through the relation between entanglement fidelity and average fidelity under depolarizing noise. This identity enables the extension of Delsarte's classical linear programming (LP) method [4]

to quantum code bounds [5]. Rains subsequently developed the general theory of quantum weight enumerators [6] and introduced the shadow enumerator [7], which provides additional LP constraints. Further interpretations of quantum weight enumerators have been investigated in [8], [9]. Weight-enumerator methods have also been extended to subsystem codes [10], entanglement-assisted quantum codes [11], [12], codes for simultaneous transmission of classical and quantum information [13], quantum data-syndrome codes [14], quantum codes under general noise channels [15], tensor networks [16], and magic state distillation [17], [18]. Beyond weight-enumerator LP methods, semidefinite programming (SDP) techniques have also been developed to obtain stronger bounds on quantum code parameters [9], [19].

In this paper, we develop a unified Fourier formulation of quantum weight enumerators for prime-power-dimensional qudit systems. We introduce the notions of Weyl power spectrum and Weyl-conjugation autocorrelation for the Weyl-operator quantities underlying the Shor–Laflamme weight enumerators, in analogy with the classical Wiener–Khinchin theorem [20]. By representing these quantities as formal vectors indexed by elements of Fq2n\mathbb{F}_q^{2n}, we show that they form a symplectic Fourier transform pair [21]. Applying the Hamming-weight functional, which assigns xx and yy to zero and nonzero Weyl labels, respectively, recovers the conventional quantum MacWilliams identity [2].

This framework can be extended to 2q22q^2 twisted Fourier transforms by introducing different character weights on Weyl labels. For qubits, these comprise eight transforms, including the ordinary MacWilliams [2] and Rains shadow [7] transforms, together with six additional Pauli twists.

These twisted transforms also admit operational interpretations through Bell sampling. Recent works have established connections between quantum weight enumerators, shadow enumerators, and two-copy Bell measurements [22], [23]. We clarify this connection by showing that identical-copy Bell sampling corresponds to the pointwise 010 twisted autocorrelation, rather than directly to the shadow transform. A Weyl translation

CYL was supported by the National Science and Technology Council in Taiwan under Grant Nos. 113-2221-E-A49-114-MY3 and 113-2119-M-A49-008-.

CYL is with the Institute of Communications Engineering, National Yang Ming Chiao Tung University, Hsinchu 300093, Taiwan (email: cylai@nycu.edu.tw).

followed by Hamming projection then recovers the Rains shadow enumerator, as illustrated in Figure 1.

More generally, we show that for q=pmq = p^m, all 2q22q^2 twisted Fourier transforms are Weyl translations of either the ordinary MacWilliams transform or the Rains shadow transform. This two-class reduction implies that these twists yield no additional independent coefficientwise positivity constraints at the full Weyl-resolved level.

A natural question is which projections preserve the symplectic Fourier transform. We introduce the qudit refinement RηR_\eta, which partitions the q2q^2 Weyl labels into 2q−12q-1 classes, and prove its invariance under the symplectic Fourier transform. For qubits, this reduces to the RXR_X refinement, which distinguishes I,XI, X, and {Y,Z}\{Y, Z\} [1], [24]. We also develop its split form H×RηH \times R_\eta, which retains more Fourier information than ordinary Hamming weight enumerators while requiring substantially fewer variables than the complete Weyl enumerator. For [[n,k,d]]q[[n, k, d]]_q stabilizer codes [25]–[27], fixing a reference stabilizer further introduces finite-field commutation constraints, multiplication orbits, and divisibility conditions. Together, these properties yield refined MacWilliams and shadow identities and additional LP constraints that can improve ordinary Hamming-level bounds. As an illustration, we use the refined LP constraints to rule out quantum codes with parameters [[11,3,5]]3[[11, 3, 5]]_3 and [[11,5,4]]3[[11, 5, 4]]_3, thereby tightening the upper bounds listed in Grassl's code tables [28]. These nonexistence results have also been obtained recently through a classification-based approach [29].

Although the refined LP constraints can be substantially stronger than ordinary Hamming-level bounds, they are computationally more demanding. In practice, we first use the Shor–Laflamme–Rains (SLR) LP constraints and the three-case counting conditions of [24, Theorem 16], referred to as SLR3, to obtain a smaller set of candidate weight distributions before applying the refined LP. Since LP-feasible weight distributions need not be realizable, we develop additional combinatorial constraints.

For [[17,6,5]][[17, 6, 5]], the SLR3 enumeration leaves 292 candidate weight distributions. We develop shadow-coset counting constraints based on the low-weight structure of Pauli shadow cosets and show that they exclude all 292 candidates, thereby establishing the nonexistence of such a code.

We also employ the simplex mapping [1] to obtain further nonexistence results. Classical linear complementary dual (LCD) codes have been studied extensively [30]–[33] and are closely related to [[n,k,d;n−k]][[n, k, d; n-k]] entanglement-assisted (EA) stabilizer codes with maximal entanglement [11], [12], [34]. In the reverse

TABLE I NONEXISTENCE RESULTS OBTAINED BY THE METHODS DEVELOPED IN THIS PAPER.

Code parametersMethod
[[11,3,5]]3[[11, 3, 5]]_3Refined LP
[[11,5,4]]3[[11, 5, 4]]_3Refined LP
[[17,6,5]][[17, 6, 5]]SLR3 + Pauli shadow-coset counting
[[14,3,5]][[14, 3, 5]]Simplex mapping + binary shadow-coset counting
[[12,6,6;6]][[12, 6, 6; 6]]Simplex mapping + LCD bounds
[[15,4,10;11]][[15, 4, 10; 11]]Simplex mapping + LCD bounds
[[17,13,4;4]][[17, 13, 4; 4]]Simplex mapping + LCD bounds
[[19,3,14;16]][[19, 3, 14; 16]]Simplex mapping + LCD bounds

direction, we show that an [[n,k,d;n−k]][[n, k, d; n-k]] EA code yields a [3n,2k,2d][3n, 2k, 2d] binary LCD code through the simplex mapping. Applying classical LCD bounds, we rule out four maximally entangled binary EA code parameter sets: [[12,6,6;6]][[12, 6, 6; 6]], [[15,4,10;11]][[15, 4, 10; 11]], [[17,13,4;4]][[17, 13, 4; 4]], and [[19,3,14;16]][[19, 3, 14; 16]].

Finally, for [[14,3,5]][[14, 3, 5]] stabilizer codes, the simplex mapping converts the stabilizer group into a [42,11][42, 11] binary linear code. By analyzing the low-weight structure of its binary shadow coset, we exclude the remaining candidate weight distributions and establish the nonexistence of such codes.

The nonexistence results obtained through refined LP, simplex mapping, and shadow-coset counting are summarized in Table I.

The source code and candidate weight distributions used in our computational analysis are publicly available on GitHub [35].

The remainder of this paper is organized as follows. Preliminaries on Weyl operators over finite fields and the symplectic Fourier transform are given in the next section. In Section III, we introduce the Weyl power spectrum and Weyl-conjugation autocorrelation, and show that they form a symplectic Fourier transform pair. We then develop twisted Fourier transforms in Section IV and prove their two-class reduction in Section V. The refined LP constraints and computational results are presented in Section VI. In Section VII, we further develop simplex representations and shadow-coset counting methods to exclude additional candidate weight distributions. Finally, the conclusion and discussion of open problems follow.

References (54)