Quantum Error Correction beyond \(SU(2)\):
Spin, Bosonic, and Permutation-Invariant Codes from Convex Geometry
September 24, 2025
We develop a framework for constructing quantum error-correcting codes and logical gates for three types of spaces — composite permutation-invariant spaces of many qubits or qudits, composite constant-excitation Fock-state spaces of many bosonic modes, and monolithic nuclear state spaces of atoms, ions, and molecules. By identifying all three spaces with discrete simplices and representations of the Lie group \(SU(q)\), we prove that many codes and their gates in \(SU(q)\) can be inter-converted between the three state spaces. We construct code instances for all three spaces using classical \(\ell_1\) codes and Tverberg’s theorem, a classic result from convex geometry. We obtain families of quantum codes with distance that scales almost linearly with the code length \(N\) by constructing \(\ell_1\) codes based on combinatorial patterns called Sidon sets and utilizing their Tverberg partitions. This compares favorably with the existing designs for all the state spaces. We present explicit constructions of codes with shorter length or lower total spin/excitation than known codes with similar parameters, bosonic codes with exotic Gaussian gates, as well as examples of short codes with distance larger than the known constructions.
Quantum error correction, a necessary ingredient for realizing useful quantum algorithms, is the art of encoding quantum information into a strategically chosen subspace of an available state space so as to protect this information from noise.
Quantum state spaces come in many shapes and sizes. For example, many-body, or composite, qubit systems have associated with them a permutation-invariant (PI) subspace [1]–[3], whose states are natural to realize using, e.g., collective atomic ensembles in cavity Quantum Electrodynamics (QED) (see, e.g., Refs. [4]–[9]). On the other hand, nuclear state spaces of atoms, ions, or molecules house monolithic spin-like spaces [10] which exhibit long lifetimes yet can be fully controlled (see, e.g., recent works [11]–[16] and references therein). Artificial, or synthetic, spin spaces can even be engineered inside low-lying subspaces of a cavity [17], [18].
Both monolithic and composite spaces, the latter consisting of either qubits or bosonic modes, are currently under active investigation because a clear winner in the race to the first fault-tolerant quantum computer is yet to be determined, and because a range of different quantum platforms are likely to remain useful for other computing-adjacent applications. As such, it is important to understand their ability to house quantum information in as simple and unified way as possible. This task has proven difficult because conventional coding-theoretic constructions are not relevant outside of the many-qubit block code setting.
Progress to connect composite and monolithic state spaces has been made through Lie group theory. PI and spin state spaces are closely related in that they are both irreducible representations, or irreps, of the angular momentum group \(SU(2)\). As such, their associated noise models and error-correcting codes — PI codes and spin codes — can be mapped into each other using properties of this group. We extend these connections to the bosonic setting by identifying the state space of two bosonic modes of fixed excitation number with irreps of \(SU(2)\) using the Jordan-Schwinger map.
More importantly, we generalize code constructions for all three state spaces by extending the group-theoretic connection to \(SU(q)\) for general \(q\). This yields relations among the spaces’ noise models, codes, and logical gates.
For the case of spin codes, we point out a conceptually new way to interpret monolithic state spaces as irreps of \(SU(q)\), giving rise to new codes for existing atomic, molecular, and ionic quantum platforms. The geometry offered by this interpretation extends the power of monolithic systems since \(SU(q>2)\) codes can pack more logical information into the same-size space with minimal change in their protection. Since nuclear manifolds are often completely controllable [11]–[13], such codes are no less realizable than their \(SU(2)\) counterparts. Moreover, mis-calibration or stray pulses associated with the \(SU(q)\) control unitaries should be compatible with the \(SU(q)\) geometry we introduce here.
For the bosonic case, we construct codes on constant-excitation Fock-state spaces of an arbitrary number of modes. Complementing recent multimode code constructions [19], [20] that use coherent states, we obtain codes composed of finite sets of Fock states. Mapping existing spin and PI codes with exotic transversal gates [10], [21], we obtain new Fock state codes whose gates are realized using passive linear-optical transformations.
For the case of PI codes, we obtain new codes in the permutation-invariant subspace of multiple qudits by leveraging a classical family of \(\ell_1\) codes and established results in convex geometry. Since all three state spaces are associated with irreps of \(SU(q)\), these PI codes can be converted to both spin and Fock state codes with similar error-correcting properties.
Permutation invariant (PI) codes form a class of quantum codes introduced in [2], [3]. They are well-suited to recover encoded states from deletion errors [22]–[24]. A large family of qubit PI codes was recently constructed in [25].
The authors of [26] hinted at a relation between codes that correct photon absorption-emission errors (AE codes), a class of molecular codes that can be interpreted as spin codes, and PI codes. This connection was fully developed in [27], where some of us showed that PI codes can be mapped to AE codes, giving rise to a family of AE codes hosted in a system with low angular momentum, which supports their efficient implementation and practical utility. The mapping of PI codes to AE codes, coupled with earlier results [28], [29] on a relation between spin codes of [10] and PI codes, also facilitated a link between the spin and AE code families [27].
Here we further connect qudit PI codes with Fock state and spin codes. Our construction takes the following path. As one of the main results, we establish an equivalence between qudit PI codes, defined in [30], spin codes, and Fock state codes, supported by identifying all the three systems with vertices of a discrete simplex, 1 3. As a result, we can seek constructions of codes within these families in a unified manner.
As our first step, we extend the Knill-Laflamme error-correcting conditions for qubit PI codes, whose specific form was found in [25], to the case of general qudits, see 4. We further show, in [sec: Fock] [sec:spin], that similar-looking conditions support error correction for multi-mode Fock state codes as well as for \(SU(q)\) spin codes.
At this point, the problem of code construction reduces to finding solutions to a system of equations with respect to the basis coefficients of the codes. To show that such solutions exist, we leverage the relation of the codes to the discrete simplex. Since its vertices host classical \(\ell_1\) codes, we derive sufficient conditions for the existence of quantum codes in terms of \(\ell_1\) codes. To further link \(\ell_1\) codes with the quantum error correction conditions, we engage a classic result in convex geometry known as the Tverberg theorem, which shows that a sufficiently large point set in \({\mathbb{R}}^m\) can be partitioned into \(K\) subsets such that their convex combinations have a nonempty intersection. Without explicitly mentioning the geometric link, this approach to the construction of PI codes was earlier hinted at in [31], [32], and we fully develop it in this work.
The next step in our construction is finding families of classical \(\ell_1\) codes with large distance. Starting with a result in [33] for such codes, we rely on combinatorial patterns known as Sidon (\(B_t\)) sets, whose existence follows by another classical result, the Bose-Chowla theorem in additive number theory. This enables us to show that there exist qudit PI codes, spin codes, and Fock state codes with distance that scales almost linearly with \(N\) (the length, total spin, and total excitation, respectively), 7.3. In the final 8, we further utilize the geometric connection to construct examples of spin, Fock state, and qudit PI codes as well as families of multi-mode covariant Fock state codes.
Remark 1 (Related results). After the completion of this paper we became aware that the general idea of using Tverberg partitions for the construction of quantum codes has been considered in earlier literature following its introduction in [34]; see in particular [35], [36]. While these works utilized it in an abstract setting of satisfying the Knill-Laflamme conditions for general quantum codes, we apply it in a concrete problem of constructing codes for several specific physical platforms. Starting with Tverberg partitions of classical \(\ell_1\) codes with good parameters, we obtain improved asymptotics and specific examples of codes for the three interrelated systems considered here.
A related forthcoming work that develops new permutation invariant codes appears in [37].
For a finite set \({\EuScript Q}:=\{0,1,\dots,q-1\}\), let \(S_q=\{ \ket{i}: i\in {\EuScript Q}\}\) denote the standard orthonormal basis of the qudit space \({\mathbb{C}}^q\), which describes a quantum system with \(q\) levels. We begin with introducing elements of notation used to write multi-dimensional qudit states using this basis. Let \(U_q=\{ {\boldsymbol{u}}_i, i\in {\EuScript Q}\}\) be the set of elementary basis vectors given by \[({\boldsymbol{u}}_i)_j=\delta_{ij}, \quad j=0,1,\dots,q-1,\] using the Kronecker delta notation. Then the vectors in \(S_q\) can be written as \(\ket{i}=\ket{{\boldsymbol{u}}_i}\) for all \(i\in {\EuScript Q}\).
Let \(S({\mathbb{C}}^{q\otimes N})\) be the set of all density matrices of order \(q^N\). For a vector \({\boldsymbol{x}}\in{\EuScript Q}^N\), let \({\boldsymbol{x}}_{\sim i}:=(x_1,\ldots,x_{i-1},x_{i+1},\ldots,x_N),\) with the \(i\)-th entry missing. The partial trace of an \(q^N \times q^N\) matrix \[M=\sum_{{\boldsymbol{x}},{\boldsymbol{y}}\in {\EuScript Q}^N}m_{{\boldsymbol{x}},{\boldsymbol{y}}}\ket{{\boldsymbol{x}}}\bra{{\boldsymbol{y}}},\] is a mapping given by \[\require{physics} \begin{align} \Tr_i : S({\mathbb{C}}^{q\otimes N}) &\rightarrow S({\mathbb{C}}^{q\otimes (N-1)})\\ M &\mapsto \sum_{{\boldsymbol{x}},{\boldsymbol{y}}\in {\EuScript Q}^N}m_{{\boldsymbol{x}},{\boldsymbol{y}}}\Tr\left(\ket{x_i}\bra{y_i}\right)\ket{{\boldsymbol{x}}_{\sim i}}\bra{{\boldsymbol{y}}_{\sim i}}. \end{align}\]
We will use the notation \({\underline n},{\underline e},{\underline f}\) to refer to \(q\)-tuples of nonnegative integers, where for instance, \({\underline n}:=(n_0,n_1,\dots,n_{q-1})\). For \(N\in{\mathbb{Z}}_+,\) let \[\begin{align} \label{eq:SimplexDef} {\EuScript S}_{q,N}:=\Big\{{\underline n}\in {\mathbb{Z}}_0^q: \sum_{i=0}^{q-1} n_i=N\Big\}, \end{align}\tag{1}\] be a discrete simplex, i.e., the set of all integer partitions of \(N\) into at most \(q\) parts, see 1 [{fig:32SqN1},fig: S44]. Plainly, \[|{\EuScript S}_{q,N}|=\binom{N+q-1}{q-1}\].
Multinomial coefficients are defined in a standard way: \[\begin{align} \binom{N}{{\underline n}}= \begin{cases} \frac{N!}{n_0!n_1!\ldots n_{q-1}!}, &\text{if }{\underline n}\in{\EuScript S}_{q,N}, \\ 0 & \text{otherwise}, \end{cases} \end{align}\] with \(0!=1\) by definition.
Definition 1. For a \(q\)-ary string \({\boldsymbol{x}}\in {\EuScript Q}^N\) let \[n_i({\boldsymbol{x}})=|\{j\in [N]: x_j=i\}|, \quad i\in {\EuScript Q},\] omitting the mention of \({\boldsymbol{x}}\) when it is clear from the context. Define the composition1 of \({\boldsymbol{x}}\) as the tuple \(\mathop{\mathrm{{\sf C}}}({\boldsymbol{x}})=(n_0,n_1,\ldots,n_{q-1})\) and note that \(\sum_{i=0}^{q-1}n_i = N\) and \[|\{{\boldsymbol{x}}: \mathop{\mathrm{{\sf C}}}({\boldsymbol{x}})={\underline n}\}|=\binom N{\underline n}.\] For \(q=2\), the composition \(\mathop{\mathrm{{\sf C}}}({\boldsymbol{x}})\) is fully determined by the Hamming weight \(n_1({\boldsymbol{x}})\), denoted below as \(\mathop{\mathrm{wt}}({\boldsymbol{x}})\).
Definition 2. A Dicke state is a linear combination of all qudit states with the same composition. We define \[\label{eq:32Dicke} \ket{D_{\underline n}}= \frac{1}{\sqrt{\binom{N}{{\underline n}}}}\sum_{\substack{{\boldsymbol{x}}\in{\EuScript Q}^N \\ \mathop{\mathrm{{\sf C}}}({\boldsymbol{x}})={\underline n}}} \ket{{\boldsymbol{x}}}.\tag{2}\] For \(q=2\) this reduces to the more standard notion of a Dicke state, \(\ket {D_w}\propto \sum_{\begin{substack}{{\boldsymbol{x}}\in\{0,1\}^N\\ \mathop{\mathrm{wt}}({\boldsymbol{x}})=w}\end{substack}}\ket{\boldsymbol{x}}\) [40], [41].
To give an example, if \(q=3\) and \({\boldsymbol{x}}=(0,2,2)\), then \(\mathop{\mathrm{{\sf C}}}({\boldsymbol{x}})=(1,0,2)\) and \[\begin{align} \ket{D_{(1,0,2)}}=\frac{1}{\sqrt{3}}\left( \ket{022}+\ket{202}+\ket{220} \right). \end{align}\]
Error correction conditions: The general Knill-Laflamme conditions give a criterion for error correction for quantum codes used on a quantum communication channel represented by a set of Kraus operators \(\{A_a\}\). Somewhat informally, a code corrects errors in this set if and only if \(\bra {{\boldsymbol{c}}_i}A_a^\dagger A_b\ket{{\boldsymbol{c}}_j}=0\) and \(\bra {{\boldsymbol{c}}_i}A_a^\dagger A_b\ket{{\boldsymbol{c}}_i}=g_{ab}\) for all \(i\ne j\) and all \(a,b\), where \(({\boldsymbol{c}}_i)_i\) is an orthonormal basis of the code and \(g_{ab}\in {\mathbb{C}}\) is some set of constants. These conditions are called orthogonality and non-deformation, respectively.
The Knill-Laflamme conditions for qubit PI codes were rendered in an explicit form in our recent work [25] based on the approach via deletion errors. Here we extend them to general qudit PI codes and Fock state codes to quantify the error correcting performance of the codes.
The \(i\)th code basis state of a PI code of logical dimension \(K\) is a superposition of Dicke states \(|D_{\underline n}\rangle\) (see Def. 3). Denoting the state’s basis expansion coefficients by \(\alpha_{{\underline n}}^{(i)}\in \mathbb{C}\), the Knill-Laflamme conditions translate to equations (C3), (C4) shown in Fig. 4. This fact will be shown in the context of the three main code classes considered in the paper, with proofs provided in Thm. 1 (PI codes), Thm. 2 (Fock state codes), and Thm. 4 (spin codes).
None
Figure 4: Conditions for construction and error correction with qudit PI codes. Eqns. (C3), (C4) represent the KL conditions. We relate similar conditions for spin and Fock state codes to these using multinomial coefficient identities..
Our construction starts with PI codes [2], [3], [24], [30], which were earlier shown to yield codes for the amplitude damping and related error models in [27], [29]. We proceed with the definition.
Definition 3. A \(K\)-dimensional qudit PI code \({\EuScript Q}_{PI}\) is defined by the set of basis vectors \[\begin{align} \label{eq:32basis32vectors} \ket{{\boldsymbol{c}}_i} = \sum_{{\underline n}\in {\EuScript S}_{q,N}}\alpha^{(i)}_{{\underline n}}\ket{D_{{\underline n}}}, \quad i=0,1,\ldots,K-1. \end{align}\tag{3}\] Here \(\ket{D_{{\underline n}}}\) is a Dicke state given in 2 and \(\alpha_{{\underline n}}^{(i)} \in {\mathbb{C}}\) \(i=0,1,\ldots,K-1\) is a coefficient set. We also call the number \(N\) the length of the code, and if the coefficients \(\alpha_{\underline n}^{(i)}\) are real, we call \({\EuScript Q}_{PI}\) a real code.
To define the distance of a PI code, we use the approach via deletions. Recall that an erasure is essentially a deletion with a known location. By symmetry, for PI codes, deletions are equivalent to erasures as deleting \(t\) qudits whose locations are unknown is the same as deleting the first \(t\) qudits: the resulting state in both cases is the same. Hence, if a PI code corrects the set of errors in 6 , it can also correct \(t\) erasures. A code that corrects \(t\) erasures clearly has distance at least \(t+1\). With this in mind, we say that the code has distance at least \(t+1\) if it corrects all errors in the set given by 6 . Given an \(q\)-qudit PI code of length \(N\), dimension \(K\), and distance \(d\), we call it and \((N,K,q,d)\) PI code.
In quantum coding theory, the deletion channel is the partial trace operation on a set of positions that are unknown. The formal definition is given as follows:
Definition 4. Let \(t\le N\) be a positive integer. Consider a quantum state \(\rho \in S\left({\mathbb{C}}^{q\otimes n}\right)\) and a set of indices \(I = \{i_1, i_2, \ldots, i_t\} \subset \{1, 2, \ldots, n\}\), where \(i_1< i_2<\ldots<i_t\). The \(t\)-deletion error corresponding to a subset \(I\) is a composition of partial trace operations on its elements: \[\require{physics} \begin{align} D_I^N(\rho) := \Tr_{i_1}\circ \ldots \circ \Tr_{i_t}(\rho). \end{align}\]
A \(t\)-deletion channel operator is a convex combination of all \(t\)-deletion errors, i.e., \[\begin{align} \operatorname{Del}_t^N(\rho) = \sum_{I:|I|=t}p_ID_I^N(\rho), \end{align}\] where \(p_I\) is a probability distribution supported on the deleted set \(I\).
We will need an explicit form of the action of this channel on a Dicke state. For this, we use the Kraus decomposition of the \(t\)-deletion channel, which appears in [22]. Let \(x\in {\EuScript Q}^N\) and \(\ket j\in S_q\). A deletion error of type \(j\) acting on the \(i\)-th qudit of a pure state \(\ket {\boldsymbol{x}}, {\boldsymbol{x}}\in {\EuScript Q}^N\) is written as \[\begin{align} {\boldsymbol{K}}^{(N)}_{j,i} \ket{{\boldsymbol{x}}} = \bra{j}\ket{x_i}\ket{{\boldsymbol{x}}_{\sim i}}, \quad i=1,\dots,N. \end{align}\] Let \(I\) be a \(t\)-subset as above and let \(J=\{j_1, j_2, \ldots, j_t\}\), where \(j_k\in{\EuScript Q}\) for \(k=1,2,\ldots,t\). Then define the joint deletion error \[\begin{align} {\boldsymbol{K}}^{(N)}_{J,I}: = {\boldsymbol{K}}^{(N-t+1)}_{j_1,i_1}\circ{\boldsymbol{K}}^{(N-t+2)}_{j_2,i_2}\circ\dots\circ{\boldsymbol{K}}^{(N)}_{j_t,i_t}, \end{align}\] where the qudit \(i_k\) is subjected to a deletion of type \(j_k\) for all \(k\). Note that this operator can also be expressed as the tensor product \[{\boldsymbol{K}}^{(N)}_{J,I}={\boldsymbol{K}}_1\otimes {\boldsymbol{K}}_2\otimes \ldots \otimes{\boldsymbol{K}}_N,\] where for all \(l=1,\dots,N\), \(K_l=\text{Id}\) for \(l\not\in I\) and \(K_l=\bra{j_k}\) if \(l=i_k\), \(k=1,\dots,t\). See [22] for details.
Using the operators \(K_{I,J}\), we can write a Kraus decomposition of the deletion channel [22]: \[\begin{align} \operatorname{Del}_t^N(\rho) = \sum_{I,J}p_I {\boldsymbol{K}}^{(N)}_{J,I}\rho {\boldsymbol{K}}^{(N)\dagger}_{J,I}, \end{align}\] where \(p_I\) is a probability distribution.
Action of deletions on qubit Dicke states was previously analyzed in [25]. In this section, we extend those results to the case of qudits.
Lemma 1. Let \(q\geq 2\) and \(N\ge 0\) be integers. For a Dicke state \(\ket{D_{\underline n}},{\underline n}\in {\EuScript S}_{q,N}\), all \(i\in\{1,2,\ldots,N\}\) and \(j\in \{0,1,\ldots,q-1\}\), \[\begin{align} {\boldsymbol{K}}_{j,i}^{(N)}\ket{D_{{\underline n}}}= \sqrt{\frac{\binom{N-1}{{\underline n}-{\boldsymbol{u}}_j}}{\binom{N}{{\underline n}}}}\ket{D_{{\underline n}-{\boldsymbol{u}}_j}}, \label{eq:32ji} \end{align}\tag{4}\] where \({\boldsymbol{u}}_j\in U_q\).
Proof. Let \({\boldsymbol{x}}\in {\EuScript Q}^N\). Consider the unnormalized Dicke state \(\ket{H_{\underline n}}=\sum_{{\boldsymbol{x}}: \mathop{\mathrm{{\sf C}}}({\boldsymbol{x}})={\underline n}} \ket{{\boldsymbol{x}}}\). Fix an \(i\in\{1,2,\dots,N\}\). As a result of applying \({\boldsymbol{K}}_{j,i}^{(N)}\) to this state, the terms (states) \(\ket{\boldsymbol{x}}\) with \(x_i\neq j\) vanish, and the terms \(\ket {\boldsymbol{x}}\) with \(x_i=j\) are subjected to deletion, i.e., mapped to \({\boldsymbol{x}}_{\sim i}\). Therefore, the number of \(j\)’s in the remaining states decreases by one, and as a result, the composition of the terms becomes \({\underline n}^\prime=(n_0,\dots,n_{j-1},n_j-1,n_{j+1},\ldots,n_{q-1})={\underline n}-{\boldsymbol{u}}_j\). Succinctly, we have \[\begin{align} {\boldsymbol{K}}_{j,i}^{(N)}\ket{H_{\underline n}} = \ket{H_{{\underline n}-{\boldsymbol{u}}_j}}. \end{align}\] Normalizing, we obtain 4 . ◻
Because of the symmetry of Dicke states, intuition suggests that the order of applying the deletion operators does not matter. The next lemma establishes this property rigorously.
Lemma 2. Let \({\underline n}\in{\EuScript S}_{q,N}\) and \(\ket{D_{\underline n}}\) be a Dicke state. Then for any \(j_1,j_2\in \{ 0,1,\ldots,q-1 \}\), \(i_1,i_1^\prime \in \{ 1,2,\ldots,N \}\), and \(i_2,i_2^\prime \in \{1,2,\ldots,N-1\}\), we have \[\begin{align} {\boldsymbol{K}}^{(N-1)}_{j_1,i_2}{\boldsymbol{K}}^{(N)}_{j_2,i_1}\ket{D_{\underline n}} = {\boldsymbol{K}}^{(N-1)}_{j_2,i_2^\prime}{\boldsymbol{K}}^{(N)}_{j_1,i_1^\prime}\ket{D_{\underline n}} . \end{align}\]
Proof. Using 1, \[\begin{align} {\boldsymbol{K}}^{(N-1)}_{j_1,i_2}{\boldsymbol{K}}^{(N)}_{j_2,i_1}\ket{D_{\underline n}} &= \sqrt{\frac{\binom{N-1}{{\underline n}-{\boldsymbol{u}}_{j_2}}}{\binom{N}{{\underline n}}}}{\boldsymbol{K}}^{(N-1)}_{j_1,i_2}\ket{D_{{\underline n}-{\boldsymbol{u}}_{j_2}}}\\ &=\sqrt{\frac{\binom{N-2}{{\underline n}-{\boldsymbol{u}}_{j_1}-{\boldsymbol{u}}_{j_2}}}{\binom{N}{{\underline n}}}}\ket{D_{{\underline n}-{\boldsymbol{u}}_{j_1}-{\boldsymbol{u}}_{j_2}}}. \end{align}\] Similarly, \[\begin{align} {\boldsymbol{K}}^{(N-1)}_{j_2,i_2^\prime}{\boldsymbol{K}}^{(N)}_{j_1,i_1^\prime}\ket{D_{\underline n}} &= \sqrt{\frac{\binom{N-1}{{\underline n}-{\boldsymbol{u}}_{j_1}}}{\binom{N}{{\underline n}}}}{\boldsymbol{K}}^{(N-1)}_{j_2,i_2}\ket{D_{{\underline n}-{\boldsymbol{u}}_{j_1}}}\\ &=\sqrt{\frac{\binom{N-2}{{\underline n}-{\boldsymbol{u}}_{j_1}-{\boldsymbol{u}}_{j_2}}}{\binom{N}{{\underline n}}}}\ket{D_{{\underline n}-{\boldsymbol{u}}_{j_1}-{\boldsymbol{u}}_{j_2}}}\qedhere \end{align}\] ◻
Again by symmetry of Dicke states, our arguments below will not depend on the location of the deleted qudits once their number is fixed. This allows us to simplify the notation, writing \({\boldsymbol{K}}_j\) for a deletion of type \(j\), without specifying the location \(i\). Further, when the dimension \(N\) is clear from the context, we also omit it.
A “power” of the deletion operator is defined through repeated application to states of decreasing dimension. Let \(e\ge 1, j\in{\EuScript Q},\) and \(i_k\in\{ 1,2,\ldots,N-k+1 \}\) for \(k=1,2,\dots,e.\) Define \[( {\boldsymbol{K}}_j )^e\ket{D_{\underline n}} := {\boldsymbol{K}}^{N-e+1}_{j,i_e}\ldots{\boldsymbol{K}}^{N-1}_{j,i_2}{\boldsymbol{K}}^{N}_{j,i_1}\ket{D_{{\underline n}}}.\] An explicit expression for \(( {\boldsymbol{K}}_j )^e\) is derived next.
Lemma 3. Consider a Dicke state \(\ket{D_{\underline n}}, {\underline n}\in{\EuScript S}_{q,N}\). For any \(j\in{\EuScript Q}\), we have \[\begin{align} ( {\boldsymbol{K}}_j )^e\ket{D_{\underline n}} &=\sqrt{\frac{\binom{N-e}{{\underline n}-{\underline e}_j}}{\binom{N}{{\underline n}}}}\ket{D_{{\underline n}-{\underline e}_j}}. \end{align}\] Here \({\underline e}_j = e{\boldsymbol{u}}_j\), where \({\boldsymbol{u}}_j\in U_q\).
Proof. Using 1, \[\begin{align} \left( {\boldsymbol{K}}_j \right)^e\ket{D_{\underline n}} &= \sqrt{\frac{\binom{N-e}{{\underline n}-{\underline e}_j}\ldots\binom{N-2}{{\underline n}-{\boldsymbol{u}}_j-{\boldsymbol{u}}_j}\binom{N-1}{{\underline n}-{\boldsymbol{u}}_j}}{\binom{N-e+1}{{\underline n}-{\underline e}_j+{\boldsymbol{u}}_j}\ldots\binom{N-1}{{\underline n}-{\boldsymbol{u}}_j}\binom{N}{{\underline n}}}}\ket{D_{{\underline n}-{\underline e}_j}}\\ &=\sqrt{\frac{\binom{N-e}{{\underline n}-{\underline e}_j}}{\binom{N}{{\underline n}}}}\ket{D_{{\underline n}-{\underline e}_j}}. \qedhere \end{align}\] ◻
Kraus set for the \(t\)-deletion channel: We are now in a position to describe the Kraus set of a \(t\)-deletion channel for PI states. Let \(e_0, e_1, \ldots, e_{q-1}\) be nonnegative integers. A deletion error labeled by the tuple \[\begin{align} \label{eq:DefErrorVector} {\underline e}:= e_0{\boldsymbol{u}}_0+e_1{\boldsymbol{u}}_1+\ldots+e_{q-1}{\boldsymbol{u}}_{q-1}, \end{align}\tag{5}\] meaning that a deletion of type \(j\) “occurred \(e_j\) times”, i.e., by application of \(({\boldsymbol{K}}_j)^{e_j}\). Note that the collection of error tuples of type 5 is precisely the discrete simplex \({\EuScript S}_{q,t}\), cf. 1 . The deletion operator associated with the error \({\underline e}\in{\EuScript S}_{q,t}\) is \[\begin{align} \mathbb{E}_{\underline e}:= ({\boldsymbol{K}}_0)^{e_0}({\boldsymbol{K}}_1)^{e_1}\ldots ({\boldsymbol{K}}_{q-1})^{e_{q-1}} \end{align}\] Using 1 2 3, we can write the Kraus set of the \(t\)-deletion channel for PI states as follows: \[\begin{align} \label{eq:32KrausSetForDelChannel} {\EuScript E}_{q,t} = \left\{\mathbb{E}_{\underline e}:{\underline e}\in {\EuScript S}_{q,t} \right\} \end{align}\tag{6}\]
The action of \(\mathbb{E}_{\underline e}\) on Dicke states takes a surprisingly simple form.
Lemma 4. Let \(\mathbb{E}_{\underline e}\in {\EuScript E}_{q,t}\) be a Kraus operator acting on a Dicke state \(\ket{D_{\underline n}}\). We have \[\begin{align} \mathbb{E}_{\underline e}\ket{D_{\underline n}} = \sqrt{\frac{\binom{N-t}{{\underline n}-{\underline e}}}{\binom{N}{{\underline n}}}}\ket{D_{{\underline n}-{\underline e}}}. \end{align}\]
Proof. Using 3, \[\begin{align} \mathbb{E}_{\underline e}\ket{D_{\underline n}}&=({\boldsymbol{K}}_0)^{e_0}({\boldsymbol{K}}_1)^{e_1}\ldots ({\boldsymbol{K}}_{q-1})^{e_{q-1}}\ket{D_{\underline n}}\\ &=\sqrt{\frac{\binom{N-e_0-\ldots-e_{q-1}}{{\underline n}-{\underline e}_0-\ldots-{\underline e}_{q-1}}}{\binom{N-e_1-\ldots-e_{q-1}}{{\underline n}-{\underline e}_1-\ldots-{\underline e}_{q-1}}}}\\ &\ldots\sqrt{\frac{\binom{N-e_{q-2}-e_{q-1}}{{\underline n}-{\underline e}_{q-2}-{\underline e}_{q-1}}}{\binom{N-e_{q-1}}{{\underline n}-{\underline e}_{q-1}}}}\sqrt{\frac{\binom{N-e_{q-1}}{{\underline n}-{\underline e}_{q-1}}}{\binom{N}{{\underline n}}}}\ket{D_{{\underline n}-{\underline e}}}. \qedhere \end{align}\] ◻
We will use this lemma to establish the error correction conditions for qudit PI codes in the next section.
Using the approach via the deletion errors in 4.2, we show the error correction conditions for qudit PI codes.
Theorem 1. Let \({\EuScript Q}_{PI}\) be an \((N,K,q,d)\) PI code. Suppose that the coefficients in 3 satisfy \(\alpha_{{\underline n}}^{(i)}\in \mathbb{C}\) for all \({\underline n}\in {\EuScript S}_{q,N}, i=0,1,\ldots K-1\). Then \({\EuScript Q}_{PI}\) has distance \(d=t+1\) if and only if conditions (C1)–(C4) hold for all distinct \(i,j\in\{0,1,\ldots,K-1\}\) and all \({\underline e},{\underline f}\in {\EuScript S}_{q,t}\).
Proof. Conditions (C1) and (C2) are necessary to ensure that the basis for the code space is orthonormal. We need to show that conditions (C3) and (C4) are equivalent to the Knill-Laflamme conditions for the qudit PI code with distance \(d=t+1\).
Let \(\mathbb{E}_{{\underline e}},\mathbb{E}_{{\underline f}}\in{\EuScript E}_{q,t}\). By 4, \[\begin{align} \bra{{\boldsymbol{c}}_i}\mathbb{E}_{\underline e}^\dagger\mathbb{E}_{{\underline f}}\ket{{\boldsymbol{c}}_j} &= \sum_{{\underline n}}\sum_{{\underline n}^\prime}(\alpha^{(i)}_{{\underline n}})^*\alpha^{(j)}_{{\underline n}^\prime}\sqrt{\frac{\binom{N-t}{{\underline n}-{\underline e}}\binom{N-t}{{\underline n}^\prime-{\underline f}}}{\binom{N}{{\underline n}}\binom{N}{{\underline n}^\prime}}}\delta_{{\underline n}-{\underline e},{\underline n}^\prime-{\underline f}}\\ &=\sum_{{\underline n}}(\alpha^{(i)}_{{\underline n}})^*\alpha^{(j)}_{{\underline n}-{\underline e}+{\underline f}}\frac{\binom{N-t}{{\underline n}-{\underline e}}}{\sqrt{\binom{N}{{\underline n}}\binom{N}{{\underline n}-{\underline e}+{\underline f}}}}, \end{align}\] where we used orthonormality \(\bra{D_{{\underline n}-{\underline e}}}\ket{D_{{\underline n}^\prime-{\underline f}}}=\delta_{{\underline n}-{\underline e},{\underline n}^\prime-{\underline f}}\) (here \(\delta_{\cdot,\cdot}\) is the Kronecker delta). Hence, Condition (C3) is equivalent to the orthogonality part of the Knill-Laflamme conditions. By repeating the same sequence of steps, one can show that Condition (C4) is equivalent to the non-deformation part of the Knill-Laflamme conditions. ◻
Spin codes and PI codes both lie within irreducible representations of \(SU(q)\). We show that similar codes can also be constructed in a third setting, namely, the space of two or more bosonic (a.k.a. continuous-variable) modes [42]–[44]. A bosonic state space is spanned by Fock states, and the subspace of two-mode Fock states with the same total excitation number houses irreducible representations of \(SU(2)\) (represented by the set of passive Gaussian transformations). We use this and other connections to construct new bosonic codes supported on multi-mode Fock-state subspaces with the same total excitation.
A \(K\)-dimensional \(q\)-mode bosonic Fock state code is defined by the following basis:
Definition 5. Let \({\underline n}\in {\EuScript S}_{q,N}\) and let \[\ket{{\underline n}}_b:=\ket{n_0}_b\otimes \ket{n_1}_b\otimes\ldots\otimes\ket{n_{q-1}}_b,\] where each \(\ket{n_i}_b\) is a single-mode Fock state. A \(K\)-dimensional \(q\)-mode Fock state code \({\EuScript Q}_{f}\) with total excitation \(N\) is a \({\mathbb{C}}\)-linear space with the basis \[\begin{align} \label{eq:DefFockStateCodes} \ket{{\boldsymbol{c}}_i} = \sum_{{\underline n}\in{\EuScript S}_{q,N}}\alpha^{(i)}_{{\underline n}}\ket{{\underline n}}_b,\quad i=0,1,\ldots,K-1. \end{align}\tag{7}\] As before, we call \({\EuScript Q}_f\) a real code if the coefficients \(\alpha^{(i)}_{{\underline n}}\) are real.
Codes in this definition are often called constant-excitation codes because they are formed of states \(\ket{\underline n}_b\) with a fixed \(\ell_1\) norm of \({\underline n}\). Only such codes will be considered below.
Our notation \(\ket{\cdot}_b\) indicates that the argument is a single- or multi-mode Fock state, which helps to distinguish it from qudit states, and we also extend this usage to inner products.
The prevailing error model in bosonic platforms is described by amplitude damping, which models leakage of energy carriers (photons or phonons) out of the system [45], [46]. The strength of the noise is governed by a real positive “loss rate” parameter \(\gamma\). As the loss rate increases, the average excitation number of the input state decreases, with all states decaying to the all-zero, or vacuum, Fock state \(\ket{\underline{0}}_b\) as \(\gamma\to 1\).
Suppose that we have a code \({\EuScript Q}\) defined by the basis states \(\{\ket{{\boldsymbol{c}}_i}\}_i\). For a quantum channel with the Kraus set \({\EuScript E}\), the code fidelity is defined as \[\begin{align} {\mathcal{F}}_{{\EuScript E},{\EuScript Q}} = \min_{\psi_{\text{in}}} \sum_{\hat{E}\in{\EuScript E}}\bra{\psi_{\text{in}}}\hat{E}^\dagger\hat{E}\ket{\psi_{\text{in}}}, \end{align}\] where the input state is \[\begin{align} \ket{\psi_{\text{in}}} = \sum_{i=0}^{K-1}a_i\ket{{\boldsymbol{c}}_i}. \end{align}\] Code fidelity is a measure of the distance between the input state and the recovered state, so the higher the fidelity value, the more error protection does the code offer.
Kraus operators for amplitude damping act on a single-mode Fock state according to the following pattern: \[\begin{align} \label{eq:ADErrorAction} \hat{A}_x\ket{j}=\sqrt{(1-\gamma)^{j-x}\gamma^x}\sqrt{\binom{j}{x}}\ket{j-x},\quad j\geq x. \end{align}\tag{8}\]
For \({\underline e}\in{\EuScript S}_{q,r}\), define the error operator \(\hat{A}_{{\underline e}}\) in the following way: \[\begin{align} \hat{A}_{{\underline e}} = \hat{A}_{e_0}\otimes\hat{A}_{e_1}\otimes\ldots\otimes\hat{A}_{e_{q-1}}. \end{align}\] Varying \({\underline e}\), we obtain an error set \[\begin{align} \label{eq:DefADErrorSet} {\EuScript E}_t^{AD} = \{ \hat{A}_{{\underline e}}: {\underline e}\in\bar{{\EuScript S}}_{q,t} \}, \end{align}\tag{9}\] where \(\bar{{\EuScript S}}_{q,t} = \bigcup_{1\leq r\leq t}{\EuScript S}_{q,r}.\)
Definition 6. We say that a \(q\)-mode Fock state code \({\EuScript Q}_f\) corrects \(t\)-AD errors if it satisfies the KL conditions for the error set in Eq. 9 .
In [47], it is shown that for a constant-excitation Fock state code, \[\begin{align} \label{eq:32fidelity} {\mathcal{F}}_{{\EuScript E}_t^{AD},{\EuScript Q}_f}= 1 - \binom{N}{t+1}\gamma^{t+1} + \mathcal{O}(\gamma^{t+2}). \end{align}\tag{10}\]
In [31], the authors show that the entanglement fidelity also behaves in the same way. Note that both the worst-case and entanglement fidelity depend only on the total excitation \(N\) and the multiplicity of errors \(t\); in particular, they are independent of the number of modes \(q\). This further affirms our goal to design codes with low total excitation.
In the following theorem, we show that the error-correction conditions for \(q\)-mode Fock state codes can be related to those of PI codes via the Vandermonde convolution.
Theorem 2. Let \({\EuScript Q}_f\) be a \(K\)-dimensional Fock state code with total excitation \(N\) defined by the basis coefficients \(\alpha_{\underline n}^{(i)}, {\underline n}\in {\EuScript S}_{q,N}, 0\le i\le K-1\). Then \({\EuScript Q}_f\) corrects \(t\)-AD errors if it satisfies conditions (C1)–(C4).
Proof. Let \({\underline n}\in {\EuScript S}_{q,N}\) and \({\underline r}\in{\EuScript S}_{q,r}\), where \(r\leq t\). Then, using 8 and 6 in succession, we obtain \[\begin{align} \hat{A}_{{\underline r}}\ket{{\underline n}}_b& = \sqrt{(1-\gamma)^{N-r}\gamma^r}\sqrt{\binom{n_0}{r_0}\ldots\binom{n_{q-1}}{r_{q-1}}}\ket{{\underline n}-{\underline r}}_b\\ &= \sqrt{(1-\gamma)^{N-r}\gamma^r}\sqrt{\frac{\binom{N}{r}\binom{r}{{\underline r}}\binom{N-r}{{\underline n}-{\underline r}}}{\binom{N}{{\underline n}}}}\ket{{\underline n}-{\underline r}}_b. \end{align}\] Let \(r,r^\prime \leq t\) be nonnegative integers. Let \({\underline r}\in{\EuScript S}_{q,r}\) and \({\underline r}^\prime\in{\EuScript S}_{q,r^\prime}\), then the inner product \[\begin{gather} \bra{{\boldsymbol{c}}_i}\hat{A}_{\underline r}^\dagger\hat{A}_{{\underline r}^\prime}\ket{{\boldsymbol{c}}_j}= \\ \sqrt{(1-\gamma)^{2N-r-r^\prime}\gamma^{r+r^\prime}\binom{N}{r}\binom{N}{r^\prime}\binom{r}{{\underline r}}\binom{r^\prime}{{\underline r}^\prime}} \\ \times \sum_{{\underline n}}\sum_{{\underline n}^\prime}(\alpha^{(i)}_{{\underline n}})^*\alpha^{(j)}_{{\underline n}^\prime}\sqrt{\frac{\binom{N-r}{{\underline n}-{\underline r}}\binom{N-r^\prime}{{\underline n}^\prime-{\underline r}^\prime}}{\binom{N}{{\underline n}}\binom{N}{{\underline n}^\prime}}}\bra{{\underline n}-{\underline r}}\ket{{\underline n}^\prime-{\underline r}^\prime}_b \end{gather}\] gives a nonzero value only when \({\underline n}-{\underline r}={\underline n}^\prime-{\underline r}^\prime\), but this can hold only if the \(\ell_1\) norms of \({\underline r},{\underline r}'\) are equal, i.e., \(r=r^\prime\). Using this, we further find \[\begin{gather} \label{eq:InnerProd} \bra{{\boldsymbol{c}}_i}\hat{A}_{\underline r}^\dagger\hat{A}_{{\underline r}^\prime}\ket{{\boldsymbol{c}}_j}= (1-\gamma)^{N-r}\gamma^{r}\binom{N}{r}\sqrt{\binom{r}{{\underline r}}\binom{r}{{\underline r}^\prime}}\\ \times\left(\sum_{{\underline n}}(\alpha_{{\underline n}}^{(i)})^*\alpha^{(j)}_{{\underline n}-{\underline r}+{\underline r}^\prime}\frac{\binom{N-r}{{\underline n}-{\underline r}}}{\sqrt{\binom{N}{{\underline n}}\binom{N}{{\underline n}-{\underline r}+{\underline r}^\prime}}}\right). \end{gather}\tag{11}\] The Vandermonde convolution, 7, gives \[\begin{align} \label{eq:VondConv} \binom{N-r}{{\underline n}-{\underline r}}=\sum_{{\underline e}^\prime\in{\EuScript S}_{q,t-r}}\binom{t-r}{{\underline e}^\prime}\binom{N-t}{{\underline n}-{\underline r}-{\underline e}^\prime}. \end{align}\tag{12}\] Our plan is to replace \(\binom{N-r}{{\underline n}-{\underline r}}\) in 11 with the sum on the right-hand side, but before that, let us introduce new variables \({\underline e},{\underline f}\in {\EuScript S}_{q,t}\) such that \({\underline e}={\underline r}+{\underline e}^\prime\) and \({\underline f}={\underline r}^\prime+{\underline e}^\prime\) (this is always possible). Making these changes, we obtain \[\begin{gather} \bra{{\boldsymbol{c}}_i}\hat{A}_{\underline r}^\dagger\hat{A}_{{\underline r}^\prime}\ket{{\boldsymbol{c}}_j}=(1-\gamma)^{N-r}\gamma^r\binom{N}{r}\sqrt{\binom{r}{{\underline r}}\binom{r}{{\underline r}^\prime}}\\ \times\sum_{{\underline e}^\prime\in{\EuScript S}_{q,t-r}}\binom{t-r}{{\underline e}^\prime}\Biggl(\sum_{\underline n}(\alpha_{{\underline n}}^{(i)})^*\alpha^{(j)}_{{\underline n}-{\underline e}+{\underline f}}\frac{\binom{N-t}{{\underline n}-{\underline e}}}{\sqrt{\binom{N}{{\underline n}}\binom{N}{{\underline n}-{\underline e}+{\underline f}}}}\Biggr) \end{gather}\] Therefore, as long as condition (C3) holds, orthogonality part of the KL conditions is satisfied. Following the same sequence of steps, one can show that (C4) suffices for the non-deformation condition. Finally, conditions (C1), (C2) should be satisfied for the code basis to be orthonormal. ◻
Equipped with this result, we give the following definition.
Definition 7 (Bosonic distance). A \(K\)-dimensional Fock state code 7 has bosonic distance \(d_b=t+1\) if it corrects \(t\)-AD errors.
Given a code on \(q\) modes with total excitation \(N\), dimension \(K\), and bosonic distance \(d_b\), below we call it an \((N,K,q,d_b)\) Fock state code.
Relying on the results established so far, we now will argue that qudit PI codes and multi-mode Fock state codes are equivalent. This will become apparent once we introduce some notation. For a \(q\)-tuple \({\underline n}\in {\EuScript S}_{q,N}\), let \(\ket{D_{\underline n}}\) be a Dicke state and let \(\ket{{\underline n}}_b\) be a Fock state. There is a mapping between them, which we denote by \(f\), that identifies the excitation pattern of each Dicke state with a corresponding Fock-state label: \[\begin{align} \label{eq:mappingf} \ket{D_{\underline n}}\quad\xLeftrightarrow[\text{f^{-1}}]{\text{f}} \quad\ket{{\underline n}}_b \end{align}\tag{13}\] For example, the Dicke state \(\ket{111}\) corresponds to the Fock state \(\ket{030}_b\), where we remind the reader that a Dicke state is labeled by the composition of the qudit basis-state labels participating in the state (see Definition 1).
This mapping can be seen to arise directly from second quantization. For example, a two-mode Fock space is the state space of particles in one of two possible orbitals, call them \(\psi\) and \(\phi\). The vacuum Fock state \(|00\rangle\) then corresponds to the zero-particle state, the two single-occupation Fock states are \(|10\rangle = |\psi\rangle\) and \(|01\rangle = |\phi\rangle\), the three double-occupation Fock states are \(|20\rangle = |\psi\psi\rangle\), \(|11\rangle \propto |\psi\phi\rangle + |\phi\psi\rangle\), and \(|02\rangle = |\phi\phi\rangle\), etc. Identifying \(\psi \leftrightarrow 0\) and \(\phi \leftrightarrow 1\) yields the Dicke states.
Combining this mapping with our derived relations between the error-correction conditions on erasure and amplitude damping yields Fock state codes from PI codes.
Proposition 3. Applying the mapping \(f\) to a \((N,K,q,t+1)\) PI code results in a \((N,K,q,t+1)\) Fock state code.
The above correspondences between error-correction conditions and basis states allow us to directly construct bosonic codes that can correct AD errors using the large existing literature of qubit and qudit PI codes [2], [3], [10], [21], [24], [25], [30], [38], [48], [49].
While a \(D\)-dimensional nuclear manifold is typically interpreted as an irrep of its corresponding angular momentum group \(SU(2)\), it also houses irreps \(SU(q)\) for any \(q\) that admits an irrep of dimension \(D\). This interpretation allows us to construct new codes for hyperfine systems that pack information in a different way than what is dictated by the \(SU(2)\) interpretation.
For example, the discrete simplices \({\EuScript S}_{2,5}\) and \({\EuScript S}_{3,2}\) both consist of 6 points. This implies that a six-dimensional space houses both the spin-\(5/2\) irrep of \(SU(2)\) and the \((2,0)\)-irrep of \(SU(3)\) [50]. The geometry of the former is a ladder of angular momentum states (a 1-simplex), while the latter states from a triangle [50] (a 2-simplex). A trivial code can then be defined for both using the corners of each simplex, with the \(SU(3)\) case yielding a higher logical dimension.
More powerful codes can be defined similarly using the advantages of packing in higher-dimensional simplices, similar to the advantages of using higher-dimensional spheres for quantum spherical codes [19]. Since nuclear manifolds are often completely controllable [11]–[13], such codes are no less realizable than their \(SU(2)\) counterparts.
We define spin codes from Fock state codes using the Jordan-Schwinger (JS) mapping (more precisely, its \(SU(q)\) generalization [51]). This mapping allows us to simply associate each Fock state \(|\underline n\rangle_b\) with the spin state \(|\underline n\rangle_s\) while also relating bosonic noise to noise on this spin subspace.
Let \(\{J_i : i=1,2,\ldots,q^2-1\}\) be the generators of the Lie algebra \(\mathfrak{s u}(q)\) in the fundamental (i.e., defining) \(q\)-dimensional irreducible representation, or irrep [50]. The JS map yields a simple expression for the representation of this Lie algebra in terms of operators that are quadratic in the bosonic creation and annihilation operators. These, in turn, generate the corresponding Lie group of passive linear-optical transformations acting on \(q\) bosonic modes.
For \(i=1,\dots,q\), let \[\begin{gather} {\hat{a}}_i=\underbrace{I\otimes\dots\otimes I}_{i-1}\otimes~{\hat{a}}\otimes \underbrace{I\otimes\dots\otimes I}_{q-i} \end{gather}\] be annihilation operators, with their adjoints being the creation operators. The JS quadratic representation of the Lie algebra is then \[\begin{align} \label{eq:js95lie-algebra} \sum_{j,k=1}^{q}{\hat{a}}_j^\dagger(J_i)_{jk}{\hat{a}}_k, \quad i=1,\ldots,q^2-1~. \end{align}\tag{14}\]
This Lie algebra can be upgraded to \(\mathfrak{u}(q)\) by plugging in the identity matrix for \(J_i\) to yield the total excitation operator. This is a constant, \(N\), on our simplex-labeled subspaces. In other words, rotations generated by quadratic combinations of the above type preserve the total excitation number \(N\).
For each \(N\), Fock states \(|\underline{n}\rangle_b\) are in one-to-one correspondence with complex-valued monomials of the form \(z_1^{n_1}\cdots z_q^{n_q}\). As such, the representation of \(\mathfrak{u}(q)\) on that fixed-\(N\) space is Sym\(^N(\mathbb{C}^q)\), i.e., the irreducible representation on homogeneous degree-\(N\) polynomials in \(q\) variables [52], [53] (a.k.a. the completely symmetric irrep [51]). The fundamental irrep is present in the single-excitation space, i.e., at \(N=1\).
Our simplex mapping then associates such irreps with irreps acting on Dicke states \(|D_{\underline n}\rangle\), but we can also think of an isolated nuclear manifold as housing an irrep of the appropriate dimension. This yields the “spin” codes that we now define.
The Hilbert space of a spin-\(N\) system over \(SU(q)\) has the basis \(\{\ket{{\underline n}}_s : {\underline n}\in{\EuScript S}_{q,N}\}\). A \(K\)-dimensional spin code \({\EuScript Q}_{sp}\) is a subspace of the spin-\(J\) system with the logical basis \[\begin{align} \label{eq:DefSpinCode} \ket{{\boldsymbol{c}}_i} = \sum_{{\underline n}\in{\EuScript S}_{q,N}}\alpha^{(i)}_{{\underline n}}\ket{{\underline n}}_s, \quad i=0,1,\ldots,K-1, \end{align}\tag{15}\] where \(\alpha^{(i)}_{\underline n}\) are complex coefficients.
Definition 8 (Spin distance). A spin code \({\EuScript Q}_{sp}\) has spin distance \(d_s=t+1\) if it detects the errors from the following set: \[\begin{align} \label{eq:spinErrorSet} \epsilon_t^s=\{J_{i_1}J_{i_2}\dots J_{i_t} : i_j=1,2,\ldots,q^2-1\}. \end{align}\tag{16}\]
Given an \(SU(q)\) spin code of total spin \(N\), dimension \(K\), and distance \(d_s\), we refer to it as an \((N,K,q,d_s)\) spin code.
In the following theorem, we show that the error-correction conditions for \(SU(q)\) spin codes are related to qudit PI codes.
Theorem 4. Let \({\EuScript Q}_{sp}\) be an \((N,K,q,d_s)\) code defined by the basis coefficients \(\alpha_{\underline n}^{(i)}, {\underline n}\in {\EuScript S}_{q,N}, 0\le i\le K-1\) as in 15 . If \({\EuScript Q}_{sp}\) satisfies conditions (C1)–(C4), then its distance \(d_s= t+1\).
Proof. Recall that a spin code has a distance \(d_s=t+1\) if it can detect the errors from the set \(\epsilon_t^s\) as in 16 . Let \(\mathbf{J}=J_{i_1}J_{i_2}\ldots J_{i_t}\in\epsilon_t^s\). Then to satisfy the KL orthogonality condition, we need to show that \[\begin{align} \label{eq:OrthCondSpinExpanded} \bra{{\boldsymbol{c}}_i}{\boldsymbol{J}}\ket{{\boldsymbol{c}}_j}=\sum_{{\underline n}\in{\EuScript S}_{q,N}}\sum_{{\underline n}^\prime\in{\EuScript S}_{q,N}}(\alpha_{{\underline n}}^{(i)})^*\alpha_{{\underline n}^\prime}^{(j)}\bra{{\underline n}}{\boldsymbol{J}}\ket{{\underline n}^\prime}_s=0 \end{align}\tag{17}\] for all \({\boldsymbol{J}}\in\epsilon_t^s\). Define the mapping from an arbitrary spin state on \(SU(q)\) to an arbitrary \(q\)-mod Fock state \[\begin{align} \label{eq:smap} \ket{{\underline n}}_s \quad\xLeftrightarrow[\text{s^{-1}}]{\text{s}}\quad\ket{{\underline n}}_b \end{align}\tag{18}\] By definition of the JS map, we have \[\begin{align} s\left(J_i\ket{{\underline n}}_s\right) = \operatorname{js}(J_i)s(\ket{{\underline n}}_s) = \operatorname{js}(J_i)\ket{{\underline n}}_b, \quad i=1,\ldots,q^2-1, \end{align}\] and therefore, \[\begin{align} \label{eq:JSmappedInnerProd} \bra{{\underline n}}\mathbf{J}\ket{{\underline n}^\prime}_s = \bra{{\underline n}}\operatorname{js}(\mathbf{J})\ket{{\underline n}^\prime}_b. \end{align}\tag{19}\] Note that the JS map of \(J_i\) has the form \[\begin{align} \operatorname{js}(J_i)=\sum_{j,k}\gamma_{jk}^{(i)}{\hat{a}}^\dagger_j{\hat{a}}_k, \end{align}\] where \(\gamma_{jk}^{(i)}\in \mathbb{C}\). Hence the image of \({\boldsymbol{J}}=J_{i_1}J_{i_2}\ldots J_{i_t}\) under JS has the form \[\begin{align} \operatorname{js}(\mathbf{J})=\sum_{j_1,k_1}\cdots\sum_{j_t,k_t}(\gamma_{j_1k_1}^{i_1}\ldots\gamma_{j_tk_t}^{i_t}){\hat{a}}_{j_1}^\dagger{\hat{a}}_{k_1}\ldots {\hat{a}}_{j_t}^\dagger{\hat{a}}_{k_t} \end{align}\] For an integer \(r\ge0\) and \({\underline e}\in {\EuScript S}_{q,r}\), define the operator \[\begin{align} \hat{B}_{{\underline e}}= {\hat{a}}^{e_0}\otimes{\hat{a}}^{e_1}\otimes\ldots\otimes {\hat{a}}^{e_{q-1}}. \end{align}\] Recalling the commutation relations \([{\hat{a}}_i,{\hat{a}}_j^\dagger]=\delta_{i,j}\), \([{\hat{a}}_i,{\hat{a}}_j]=0\), and \([{\hat{a}}_i^\dagger,{\hat{a}}_j^\dagger]=0\), we have \[\begin{align} js(\mathbf{J})=\sum_{r=0}^t\sum_{r^\prime=0}^t\sum_{{\underline r}\in{\EuScript S}_{q,r}}\sum_{{\underline r}^\prime\in {\EuScript S}_{q,r^\prime}} \rho_{{\underline r},{\underline r}^\prime}\hat{B}_{{\underline r}}^\dagger\hat{B}_{{\underline r}^\prime} \end{align}\] Here \(\rho_{{\underline r},{\underline r}^\prime}\) is a set of complex coefficients. Then, using 19 , we have \[\begin{align} \bra{{\underline n}}\mathbf{J}\ket{{\underline n}^\prime}_s=\sum_{r=0}^t\sum_{r^\prime=0}^t\sum_{{\underline r}\in{\EuScript S}_{q,r}}\sum_{{\underline r}^\prime\in {\EuScript S}_{q,r^\prime}} \rho_{{\underline r},{\underline r}^\prime} \bra{{\underline n}}\hat{B}_{{\underline r}}^\dagger\hat{B}_{{\underline r}^\prime}\ket{{\underline n}^\prime}_b \end{align}\] For a single mode we have \[{\hat{a}}^e\ket n_b=\sqrt{e!\binom ne}\ket{n-e}_b.\] Together with the definition of \(\hat{B}_{\underline e}\) this yields \[\begin{align} \hat{B}_{\underline r}\ket{{\underline n}}_b&= \sqrt{r_0!\dots r_{q-1}!\binom{n_0}{r_0}\ldots\binom{n_{q-1}}{r_{q-1}}}\ket{{\underline n}-{\underline r}}_b\\ &=\sqrt{\frac{r!\binom{N}{r}\binom{N-r}{{\underline n}-{\underline r}}}{\binom{N}{{\underline n}}}}\ket{{\underline n}-{\underline r}}_b, \end{align}\] where the second equality follows by 6. Then the inner product \[\begin{align} \bra{{\underline n}}\hat{B}_{{\underline r}}^\dagger\hat{B}_{{\underline r}^\prime}\ket{{\underline n}^\prime}_b&=\sqrt{\frac{r!r^\prime!\binom{N}{r}\binom{N}{r^\prime}\binom{N-r}{{\underline n}-{\underline r}}\binom{N-r^\prime}{{\underline n}^\prime-{\underline r}^\prime}}{\binom{N}{{\underline n}}\binom{N}{{\underline n}^\prime}}}\delta_{{\underline n}^\prime-{\underline r}^\prime,{\underline n}-{\underline r}}\\ &=r!\binom{N}{r}\frac{\binom{N-r}{{\underline n}-{\underline r}}}{\sqrt{\binom{N}{{\underline n}}\binom{N}{{\underline n}+{\underline r}^\prime-{\underline r}}}}\delta_{{\underline n}^\prime,{\underline n}-{\underline r}+{\underline r}^\prime} \end{align}\] Repeating the same sequence of steps as in eqs. 11 ,12 , we obtain \[\begin{gather} \bra{{\underline n}^\prime}\hat{B}_{{\underline r}^\prime}^\dagger\hat{B}_{{\underline r}}\ket{{\underline n}}_b=\\ r!\binom{N}{r}\sum_{{\underline e}^\prime\in{\EuScript S}_{q,t-r}}\binom{t-r}{{\underline e}^\prime}\frac{\binom{N-t}{{\underline n}-{\underline e}}}{\sqrt{\binom{N}{{\underline n}}\binom{N}{{\underline n}-{\underline e}+{\underline f}}}}\delta_{{\underline n}^\prime,{\underline n}-{\underline e}+{\underline f}} \end{gather}\] Here the tuples \({\underline e},{\underline f}\in{\EuScript S}_{q,t}\) are defined as \({\underline e}={\underline r}+{\underline e}^\prime\), \({\underline f}={\underline r}^\prime+{\underline e}^\prime\) Therefore, we have \[\begin{gather} \label{eq:spinInnerProd} \bra{{\underline n}}\mathbf{J}\ket{{\underline n}^\prime}_s=\\ \sum_{r=0}^t\sum_{{\underline r},{\underline r}'\in{\EuScript S}_{q,r}}\sum_{{\underline e}^\prime\in{\EuScript S}_{q,t-r}}\binom{t-r}{{\underline e}^\prime}\chi_{{\underline r},{\underline r}^\prime}\frac{\binom{N-t}{{\underline n}-{\underline e}}}{\sqrt{\binom{N}{{\underline n}}\binom{N}{{\underline n}-{\underline e}+{\underline f}}}}\delta_{{\underline n}^\prime,{\underline n}-{\underline e}+{\underline f}} \end{gather}\tag{20}\] Here \(\chi_{{\underline r},{\underline r}^\prime}= r!\binom{N}{r}\rho_{{\underline r},{\underline r}^\prime}\). Combining 17 with 20 , we obtain \[\begin{gather} \bra{{\boldsymbol{c}}_i}\mathbf{J}\ket{{\boldsymbol{c}}_j}=\\ \sum_{r=0}^t\sum_{{\underline r}_1\in{\EuScript S}_{q,r}}\sum_{{\underline r}^\prime\in {\EuScript S}_{q,r}}\sum_{{\underline e}^\prime\in{\EuScript S}_{q,t-r}}\binom{t-r}{{\underline e}^\prime}\chi_{{\underline r},{\underline r}^\prime}\\ \times\left(\sum_{{\underline n}\in{\EuScript S}_{q,N}}(\alpha^{(i)}_{{\underline n}})^*\alpha^{(j)}_{{\underline n}-{\underline e}+{\underline f}}\frac{\binom{N-t}{{\underline n}-{\underline e}}}{\sqrt{\binom{N}{{\underline n}}\binom{N}{{\underline n}-{\underline e}+{\underline f}}}}\right), \end{gather}\] which is zero as long as condition (C3) is satisfied. Finally, as in 2, we can show that the non-deformation condition is also satisfied when condition (C4) is met. ◻
In this subsection, we establish a relationship between \(SU(q)\) spin codes and qudit PI codes. To do that we define the following mapping between spin states and PI states: \[\begin{align} \label{eq:eqMapSpinPI} \ket{D_{{\underline n}}}\quad\xLeftrightarrow[\text{\sigma^{-1}}]{\text{\sigma}} \quad \ket{{\underline n}}_s. \end{align}\tag{21}\] Here \({\underline n}\in{\EuScript S}_{q,N}\). This mapping allows us to construct spin codes using the PI codes.
Proposition 5. Applying the mapping \(\sigma\) to a \((N,K,q,t+1)\) PI code results in a \((N,K,q,t+1)\) spin code.
Using 5 along with the literature of qubit and qudit PI codes, it is possible to construct spin codes over \(SU(q)\) that can correct for random rotation errors.
For \(q=2\), it is shown in [38] that \(SU(2)\) spin codes can also be mapped to qubit PI codes through the mapping \(\sigma^{-1}\), a mapping that its authors called Dicke bootstrap. The next lemma shows that \(\sigma\) is in fact an isometry.
Lemma 5. [38]The mapping \(\sigma^{-1}\) transforms a \((N,K,2,t+1)\) spin code to a \((N,K,2,t+1)\) PI code.
In this section we develop an approach to the construction of the three related families of \(SU(q)\) codes, the qudit PI codes, spin codes, and Fock state codes. The main tool involved in the derivations is the connection between PI qudit codes and classical \(\ell_1\) codes. Once we construct a family of PI codes, we employ the connection between them and spin and Fock state codes to obtain new code families of each of these two types.
In 7.1 we overview constructions of \(\ell_1\) codes in the simplex. In 7.2 we state and prove the main equivalence result between \({\EuScript S}_{q,N}\) codes and qudit PI codes, which yields a bound on the parameters of the PI codes. In 7.3 we analyze the asymptotic scaling of the parameters qudit PI codes arising from the suggested approach. We show that there exist families of \((N,K,N,d)\) codes with increasing \(N\) and any \(K,d\) satisfying \(K = o(2^{N})\) and \(d = o(\frac{N}{\log N})\), where this claim applies to \(SU(q)\) codes of all the three types, and \(d\) is \(d_b,d_s\) or the qudit PI code distance as appropriate.
Overall, our construction generalizes the known results [47], [54], [31], [32] both in terms of allowing a range of code dimensions and a better scaling of the distance.
The construction of qudit PI codes presented in the next subsection starts with codes in the \(\ell_1\) metric. The general problem of constructing such codes is well researched in classical coding theory [55], [56], [33]. Existing constructions rely in a large part on the Bose-Chowla theorem and related concepts from additive number theory (Sidon sets, \(B_h\)-sequences), with applications to flash memory, DNA coding, and others [57], [58].
The specific setting that we will use in the next section relates to codes in \({\EuScript S}_{q,N}\) under the \(\ell_1\) distance. A distinguishing feature of this code subclass is that the underlying space is formed of all \(q\)-tuples with fixed \(\ell_1\) norm2, viz. 1 and 1 5. Define a distance \(d_1\) on \({\EuScript S}_{q,N}\) by setting \[\label{eq:32d1} d_1(\underline{x},\underline{y}):=\frac{1}{2}\sum_{i=0}^{q-1}|x_i-y_i|\tag{22}\] and for a subset \({\mathscr C}_{\ell_1} \subset {\EuScript S}_{q,N}\) put \(d_1({\mathscr C}_{\ell_1})= \min_{\substack{\underline{x},\underline{y}\in {\mathscr C}_{\ell_1}\\ \underline{x}\neq \underline{y}}}d_1(\underline{x},\underline{y}).\) We call this distance the \(\ell_1\) norm despite the 1/2 factor, which is inserted simply because for constant sum \(|{\underline x}|=N\), the true \(\ell_1\) distance is always even3. Below, we call subsets of the discrete simplex \(\ell_1\)-codes if their distance is measured with respect to the metric \(d_1\).
We present two constructions of \(\ell_1\) codes, starting with a simple approach to obtain \(\ell_1\) codes with large distance in the simplex \(S_{q,N}\) with \(N=q\). This assumption will play a role below when we use the constructed codes as a device to obtain Fock state codes. To justify it, note that for constant-excitation Fock state codes, the fidelity as given by 10 does not depend on the number of modes, \(q\), and thus the constructed codes are optimized if we manage to minimize \(N\) for a given \(t\).
Furthermore, the codes that we construct have a particular size, which fits the requirements of the Fock state code construction.
Theorem 6. Let \(K,t\geq 2\) be integers and let \[N=q=(K-1)t(t+1).\] There is an \(\ell_1\) code \({\mathscr C}_{\ell_1}\subset {\EuScript S}_{N,N}\) of size \[|{\mathscr C}_{\ell_1}|\ge (K-1)|{\EuScript S}_{N,t}|+1\] and distance \(t+1\).
Proof. Consider the set \(Q=(t+1){\EuScript S}_{q,(K-1)t}\) formed of all tuples in the simplex scaled by the factor \((t+1)\). Clearly, \(Q\subset{\EuScript S}_{N,N}\) and \[d_1(Q)=(t+1) d_1({\EuScript S}_{q,(K-1)t})=t+1>t.\] Now put \({\mathscr C}_{\ell_1} = Q\cup\mathbf{1}^q,\) where \(\mathbf{1}^q\) is the all-ones vector. It can be shown that \(d_1(\mathbf{1}^q,{\underline x})>t\) for all \({\underline x}\in {\EuScript Q}\). Then, because the number of non-zero elements of \({\boldsymbol{c}}\in{\EuScript Q}\) is less than or equal to \((K-1)t\), we have \[\begin{align} \frac{1}{2}|{\boldsymbol{c}}-\mathbf{1}^q|_1\geq \frac{N-(K-1)t}{2} = \frac{(K-1)t^2}{2}, \end{align}\] which is always greater than \(t\) as long as \(K,t\geq 2\), and thus, \(d_1({\mathscr C}_{\ell_1})>t\). Further, \[\begin{align} |{\mathscr C}_{\ell_1}| &= \binom{q+(K-1)t-1}{(K-1)t} + 1\\ &= \binom{(K-1)t^2+2(K-1)t-1}{(K-1)t} + 1\\ &= \sum_{i=0}^{(K-2)t}\binom{(K-1)t^2+Kt-1}{(K-1)t-i}\binom{(K-2)t}{i} + 1, \end{align}\] where on the last line we used Vandermonde convolution. Next observe that for \(K,t\ge 2\), \[\begin{align} (K-1)t^2+Kt-1-2Kt+2t=((K-1)t-K)t+2t-1>0 , \end{align}\] implying that \(\binom{(K-1)t^2+Kt-1}{(K-1)t-i}\) is a decreasing function of \(i\) as it increases in the range \(0\le i\le (K-2)t\). Therefore, for all such \(i\), \[\binom{(K-1)t^2+Kt-1}{(K-1)t-i}\ge \binom{(K-1)t^2+Kt-1}{t}\] and there are \((K-2)t+1\ge K-1\) terms in the sum. Noting that \((K-1)t^2+Kt-1=(K-1)t(t+1)+t-1\), we obtain \[\begin{align} |{\mathscr C}_{\ell_1}|&\geq (K-1)\binom{(K-1)t(t+1)+t-1}{t} + 1, \end{align}\] which is precisely the claimed bound. ◻
Remark 2. Our choice of the bound for the code size \(|{\mathscr C}_{\ell_1}|\) may seem arbitrary: indeed, the last inequality can be tightened with little effort. The reason for this choice is related to the count of coefficients in the error correction conditions (C1)–(C4). This link will become apparent in the proof of 10 below.
Next, we mention another way of constructing \(\ell_1\) codes in the simplex, based on a classic approach from the literature.
Definition 9. Let \(G\) be an Abelian group, written additively. A subset \(B\subseteq G\) is a \(t\)-Sidon set if the sums \[\begin{align} b_{i_1}+b_{i_2}+\ldots+b_{i_t} \end{align}\] are all distinct for \(0\leq i_1\leq i_2 \leq \ldots \leq i_{t}\leq |G|\).
A well-known way of constructing Sidon sets is provided by the Bose-Chowla theorem, which we cite in Sec. 7.3 below.
The next result appears in many places in the literature; see [57] and its references. We cite it in the form given in [33].
Theorem 7. Let \(G\) be an Abelian group that contains a \(t\)-Sidon set of cardinality \(q\). Then, for every \(q\geq2\) and \(n>t\geq 1\), there exists an \(\ell_1\) code \({\mathscr C}_{\ell_1}\subset {\EuScript S}_{q,N}\) with distance \(\ge t+1\) such that \[\begin{align} |{\mathscr C}_{\ell_1}| \geq \frac{|{\EuScript S}_{q,N}|}{|G|}. \label{eq:32LowerBounBoseChowla} \end{align}\tag{23}\]
The construction of the code \({\mathscr C}_{\ell_1}\) relies on the following greedy argument: given a \(t\)-Sidon set \(\{g_1,\dots,g_q\}\subset G\), consider the set of vectors \[{\mathscr C}_{\ell_1,g}:=\Big\{\underline x\in {\EuScript S}_{q,N} \mid\sum_{i=0}^{q-1} x_i g_i=g\Big\},\] where \(g\in G\) is some group element. Plainly, the code distance is \(\ge t+1\), because the opposite inequality would violate the Sidon set condition. Further, the codes \({\mathscr C}_{\ell_1,g}, g\in G\) form a partition of \({\EuScript S}_{q,N}\), so at least one of them is of size that satisfies 23 .
As a result of this argument, to construct codes of large size we therefore need small groups that host a \(t\)-Sidon set. This will be addressed in 7.3, where we construct Fock state codes (as well as PI codes) with better parameter scaling than the known results. Our construction relies on the group \({\mathbb{Z}}_m\) and \(t\)-Sidon sets inside it, where \(m\) depends on \(q\) and \(t\).
Remark 3. Yet another way to prove the existence of \(\ell_1\) codes with large distance is given by a greedy procedure commonly called the Gilbert–Varshamov bound (it does not yield explicit codes). In particular, it is known that there exist codes in the simplex \({\EuScript S}_{q,N}\) of size at least \(|{\EuScript S}_{q,N}|/\overline{V}(t)\) and distance \(t+1\), where \(\overline{V}(t)\) is the average volume of the \(\ell_1\)-ball of radius \(t\) in the space [60], [61]. A recent work [58] performed an asymptotic analysis of this bound for large \(N\) and \(t=\tau N, \tau>0\). Although their results will likely yield the existence of Fock state codes whose distance scales linearly with \(N\), they involve complicated expressions with not much insight into the properties of the codes, so we do not cite them here.
In this section, we introduce the framework for the code construction relying on the error correction conditions derived earlier for \(SU(q)\) codes (4). The underlying idea of is to show that conditions (C1)–(C4) translate into a set of linear equations for the basis coefficients \(\alpha_{{\underline n}}^{(i)}\), 3 7 15 , where the coefficients that define the basis states are indexed by subsets of vectors of a classical code in \({\EuScript S}_{q,N}\) that corrects errors in the \(\ell_1\) metric. To identify those subsets, we rely on a classic result from convex geometry.
Recall that the convex combination of points \(A_1,A_2,\ldots,A_n\in\mathbb{R}^m\) is defined as \[\begin{align} \operatorname{conv}(A_1,A_2,\ldots,A_n) = \Big\{\sum_{i=1}^n \beta_iA_i \mid \beta_i\geq 0, \sum_{i}\beta_i=1 \Big\}. \end{align}\] The following statement is known as Tverberg’s theorem, [62], or see [63], [64].
Theorem 8 (Tverberg’s theorem). Let A be a set of at least \((m+1)(K-1)+1\) points in \(\mathbb{R}^m\). Then there exist \(K\) pairwise disjoint subsets \(A^{(1)},A^{(2)},\ldots,A^{(K)}\subset A\) such that \[\begin{align} \operatorname{conv}(A^{(1)})\cap\operatorname{conv}(A^{(2)})\cap\ldots\cap \operatorname{conv}(A^{(K)})\neq \emptyset \end{align}\]
Rephrased for our needs, this theorem implies the following.
Proposition 9. Let \({\EuScript X}=\{x_1,x_2,\ldots,x_n\}\) be a set of variables. Let \(E=\{e_1,e_2,\ldots,e_m\}\), and let \((a_{e,x})_{e\in E,x\in {\EuScript X}}\) be a set of real numbers. If \(n\geq (m+1)(K-1)+1\), then there exists a partition of the set \(\{1,2,\dots,n\}\), \[\label{eq:32TP} {\mathscr I}_{n,K}=\bigsqcup_{j=1}^K I_j,\qquad{(1)}\] into a disjoint union such that the set of equations \[\label{eq:32K32system} \begin{align} &\sum_{i\in I_1}x_i = \sum_{i\in I_2}x_i = \dots = \sum_{i\in I_K}x_i\\ &\sum_{i\in I_1}x_ia_{e,i} = \sum_{i\in I_2}x_ia_{e,i}=\dots=\sum_{i\in I_K}x_ia_{e,i} \quad \forall e\in E \end{align}\qquad{(2)}\] has a nontrivial solution \((x_1,\dots,x_n)\in {\mathbb{R}}^n_{\ge 0}\).
Proof. For \(i=1,2,\dots, n\), let \(A_i=(a_{e,i}, e\in E)^\intercal\in {\mathbb{R}}^m\) and let \(A:=\{A_1,A_2,\ldots,A_n\}\) be the set of \(n\) points in Tverberg’s theorem. There exist \(K\) pairwise disjoint subsets \(A^{(1)},\ldots,A^{(K)}\subset A\) such that the intersection of their convex hulls is not empty. Let \(P\in {\mathbb{R}}^m\) be a point in this intersection and let \(I_j: = \{i: A_i\in A^{(j)}\}, \quad j=1,2,\ldots,K\). There exists a vector of coefficients \({\boldsymbol{x}}=(x_1,\dots,x_n)\ge 0\) such that \[\sum_{i\in I_j} x_i A_i=P, \quad\sum_{i\in I_j}x_i=1 \quad\text{for all }j=1,\dots,K.\] Once we put \(X_j:=\{x_i: i\in I_r\}\) for all \(j\), this gives the desired nonnegative solution of the system ?? . ◻
The condition \(\sum_{i\in I_j}x_i=1\) is redundant for our needs, but equations ?? are homogeneous, and the vector of solutions \({\boldsymbol{x}}\) can be scaled by any positive factor. Any partition \({\mathscr I}_{n,K}\) of the form ?? is called a Tverberg partition below.
The next statement forms the main technical result of our work, which ties together the code families and auxiliary results introduced above. The point that it makes that once we manage to solve, in any way, equations (C1)–(C4) for the basis coefficients, we obtain \(SU(q)\) codes of all the three types that we consider.
Theorem 10. Let \({\EuScript Q}\) be one of {PI code, spin code, Fock state code}. If there exists an \(\ell_1\) code \({\mathscr C}_{\ell_1}\subset {\EuScript S}_{q,N}\) with distance \(d_1({\mathscr C}_{\ell_1})\ge t+1\) such that \[\begin{align} \label{eq:32LowerBound} |{\mathscr C}_{\ell_1}|\geq (K-1)\binom{q+t-1}{q-1} + 1, \end{align}\tag{24}\] then there exists a code \({\EuScript Q}\) with parameters \((N,K,q,t+1)\).
Proof. The proof involves \(\ell_1\) codes, used to construct three different types of \(SU(q)\) codes. Our goal is to show that, for the quantum codes that we are constructing, conditions (C1)–(C4) are satisfied, implying the distance bound. Let us fix an \(\ell_1\) code denoted by \(B\) below in the proof. The way we construct \(SU(q)\) codes will rely on a partition of the code \(B\) into \(K\) subsets. To satisfy conditions (C1), (C3), any partition will suffice, while conditions (C2), (C4) will rely on a Tverberg partition. Therefore, we will fix a Tverberg partition from the outset, but first we need to match the parameters in the statement to 9.
Let \(\{1,2,\dots,B\}\) be the set of indices of the variables \(x_i\) and let \({\EuScript S}_{q,t}\) play the role of \(E\) above. Consider the set of points \[\Big\{a_{{\underline h}}=(a_{{\underline e},{\underline h}})\in {\mathbb{R}}^{|{\EuScript S}_{q,t}|}, {\underline h}\in B\Big\}\] with coordinates \[\label{eq:32coefficients} a_{{\underline e},{\underline h}}={\binom{N-t}{{\underline h}-{\underline e}}}\Big/{\binom{N}{{\underline h}}}, \quad\tag{25}\] and let \({\mathscr I}_{|B|,K}\) be a corresponding Tverberg partition. Note that the points are indexed by tuples (codewords) in \(B\), so we will denote blocks of this partition by \(B_i, i=0,1,\dots, K-1\).
The following argument, phrased for PI codes, applies equally to Fock state and spin codes by 3 and 5. Consider a code \({\EuScript Q}_{PI}\) defined by the basis \[\begin{align} \ket{{\boldsymbol{c}}_i}=\sum_{{\underline n}\in{\EuScript S}_{q,N}}\alpha^{(i)}_{\underline n}\ket{D_{\underline n}},\quad i=0,1,\dots,K-1, \end{align}\] where \[\begin{align} \alpha_{\underline n}^{(i)} :=\sum_{{\underline h}\in B_i}\mu_{\underline h}\delta_{{\underline n},{\underline h}},\quad i\in\{0,1,\ldots,K-1\}. \end{align}\]
The parameters \(\mu_{\underline h}\) on the right are as yet undefined; below they will be related to the unknowns \(x_{\underline h}\) in ?? . We will show that it is possible to choose the set \((\mu_{\underline h})_{\underline h}\) to satisfy the error correction conditions. For the moment, we will argue that no matter what \(\mu_{\underline h}\) are, Conditions (C1), (C3) are satisfied with our definition of \(\alpha_{{\underline n}}^{(i)}\).
First, let us verify (C1). It is trivially satisfied since \[(\alpha_{\underline n}^{(i)})^*\alpha_{\underline n}^{(j)}=\sum_{{\underline h}\in B_i}\sum_{{\underline h}'\in B_j} \mu_{\underline h}^* \mu_{{\underline h}'}\delta_{{\underline n},{\underline h}}\delta_{{\underline h},{\underline h}'}=0,\] where we used the fact \(\delta_{{\underline n},{\underline h}}\delta_{{\underline n},{\underline h}^\prime}=\delta_{{\underline n},{\underline h}}\delta_{{\underline h},{\underline h}^\prime}\) and \(\delta_{{\underline h},{\underline h}^\prime}=0\). Let us address (C3). Let \({\underline e},{\underline f}\in {\EuScript S}_{q,t}\) and observe that for any two distinct tuples \({\underline h},{\underline h}'\in B\), \(h\ne h'+e-f\) by the assumption \(d_1(B)\ge t+1\). Then note that \[\delta_{{\underline n},{\underline h}}\delta_{{\underline n}-{\underline e}+{\underline f},{\underline h}^\prime}=\delta_{{\underline n},{\underline h}}\delta_{{\underline h},{\underline h}^\prime+{\underline e}-{\underline f}}=0\] and \[\begin{align} (\alpha^{(i)}_{{\underline n}})^*\alpha^{(j)}_{{\underline n}-{\underline e}+{\underline f}}=\sum_{{\underline h}\in B_i}\sum_{{\underline h}^\prime\in B_j}\mu_{\underline h}^*\mu_{{\underline h}^\prime}\delta_{{\underline n},{\underline h}}\delta_{{\underline h},{\underline h}^\prime+{\underline e}-{\underline f}}=0 \end{align}\] yielding (C3).
Now we will show that there is a choice of the coefficients \(\mu_{\underline h}\) that makes Conditions (C2), (C4) turn into equalities. Let us start with rewriting (C4). First, observe that with \({\underline e},{\underline f},{\underline h},{\underline h}'\) as above, \(\delta_{{\underline h},{\underline h}^\prime+{\underline e}-{\underline f}}\ne0\) only if \({\underline e}={\underline f}\) and \({\underline h}={\underline h}^\prime\). Therefore, \[\begin{align} (\alpha^{(i)}_{{\underline n}})^*\alpha^{(i)}_{{\underline n}-{\underline e}+{\underline f}}&=\sum_{{\underline h}\in B_i}\sum_{{\underline h}^\prime\in B_i}\mu_{\underline h}^*\mu_{{\underline h}^\prime}\delta_{{\underline n},{\underline h}} \delta_{{\underline h},{\underline h}^\prime+{\underline e}-{\underline f}}\\ &=\sum_{{\underline h}\in B_i}|\mu_{\underline h}|^2\delta_{{\underline n},{\underline h}} \end{align}\] Now put \(x_{\underline h}:=|\mu_{\underline h}|^2\ge0\). Then, condition (C4) turns into the set of relations \[\begin{align} \label{eq:conditionC4simplified1} \sum_{{\underline h}\in B_0}x_{\underline h}\frac{\binom{N-t}{{\underline h}-{\underline e}}}{\binom{N}{{\underline h}}}=\ldots=\sum_{{\underline h}\in B_{K-1}}x_{\underline h}\frac{\binom{N-t}{{\underline h}-{\underline e}}}{\binom{N}{{\underline h}}}\forall{\underline e}\in{\EuScript S}_{q,t}. \end{align}\tag{26}\]
Let us address the last remaining condition, (C2). First, we rewrite it for our set of coefficients. Following the same steps as above, we find \[\begin{align} |\alpha_{{\underline n}}^{(i)}|^2=\sum_{{\underline h}\in B_i}|\mu_{\underline h}|^2\delta_{{\underline n},{\underline h}},\quad i\in\{0,1,\ldots,K-1\} \end{align}\] and thus, Condition (C2) turns into \[\begin{align} \label{eq:conditionC2simplified} \sum_{{\underline h}\in B_0}x_{\underline h}=\sum_{{\underline h}\in B_1}x_{\underline h}=\ldots=\sum_{{\underline h}\in B_{K-1}}x_{\underline h}. \end{align}\tag{27}\] Having written our error correction conditions 26 , 27 in the form of ?? , we deduce from Tverberg’s theorem that this system has a nonnegative solution if \(|B|\geq (|{\EuScript S}_{q,t}|+1)(K-1)+1\) (at this point, the reader may recall our 2).
Our assumption in 24 is weaker than this inequality. This relaxation is possible because our specific point set \((a_{\underline h})_{\underline h}\), 25 , in fact lives in a lower-dimensional subspace. Indeed, let \(l=(l_{\underline e})_{{\underline e}\in {\EuScript S}_{q,t}},\) where \(l_{{\underline e}}=\binom t {\underline e}\) for all \({\underline e}\). Then \(l^\intercal\cdot a_{\underline h}=1\) for all \({\underline h}\in B\) by 7. Thus, this point set is contained in an \((|{\EuScript S}_{q,t}|-1)\)-dimensional affine hyperplane, and Tverberg’s theorem implies that \((K-1)|{\EuScript S}_{q,t}|+1\) points suffice for a nonnegative solution to the error-correction conditions 26 , 27 . This is precisely our claimed bound 24 .
Even though this is not formally needed, it is easy to derive 27 explicitly. Indeed, from 26 , for any \(i,j\in\{0,1,\ldots,K-1\}\), \[\sum_{{\underline h}\in B_i} a_{\underline h}x_{\underline h}=\sum_{{\underline h}\in B_j} a_{{\underline h}}x_{\underline h}.\] Multiplying by \(l\) on both sides and taking \(l\) inside the sums by linearity, we obtain an equality in 27 .
Let \((x_i, i=1,\dots,|B|)\) be a nonnegative solution of 26 . We have shown that the PI code with the basis \[\label{eq:32PI32Tverberg} \ket{{\boldsymbol{c}}_i}=\sum_{{\underline h}\in B_i}\sqrt{x_{{\underline h}}}\ket{D_{\underline h}}, \quad i=0,1,\dots,K-1\tag{28}\] has the parameters as in the statement of the theorem. By 1, this shows our claim for PI codes, and 2 4 imply it for the two remaining code families. ◻
Remark 4. Elements of the idea of constructing codes employed in this section have earlier appeared in [32]. To explain their result, recall that the version of Tverberg’s theorem for \(K=2\) is known as Radon’s lemma [63], which says that \(m+2\) or more points in \({\mathbb{R}}^m\) can be partitioned into two subsets whose convex hulls have a nonempty intersection. In other words, given a set \(A=\{A_1,A_2,\dots,A_{m+2}\}\subset{\mathbb{R}}^m\), the system \[\begin{align} \sum_{i\in A^{(1)}} x_i a_{j,i}+\sum_{i\in A^{(2)}} x_i a_{j,i}&=0, \quad j=1,\dots,m \\ \sum_{i\in A^{(1)}} x_i+\sum_{i\in A^{(2)}}x_i&=0 \end{align}\] has a solution satisfying \(A^{(1)}\sqcup A^{(2)}=A\) and \(x_i\ge 0, i\in A^{(1)};x_i<0, i\in A^{(2)}\). This system is clearly equivalent to ?? 4. The authors of [32] essentially rediscovered Radon’s lemma, designing their code construction algorithm based on it. Our enhanced formalism involving PI codes enabled us to design much more general constructions with better parameter estimates.
In a related work, [31], the authors proved the existence of Fock state codes of dimension \(K=2\) under the assumption for \(\ell_1\) codes of the form \[|{\mathscr C}_{\ell_1}|\geq \sum_{i=0}^t\binom{q+i-1}{q-1} - \binom{t}{2}.\] Our result relies on a less stringent requirement, 24 , representing an improvement over [31].
Remark 5. As previously mentioned, a lower bound for the size of \(K\)-dimensional Fock state codes appears in an early work, [47]. Their bound is weaker than the bound in 24 in the sense that it relies on larger-size \(\ell_1\) codes, which yield Fock-state codes whose codewords are more difficult to realize. In addition, the argument in that work does not account for the requirement of a positive solution to the equations for the error-correcting conditions, and therefore appears incomplete.
In this section, we analyze sequences of \(SU(q)\) codes obtained from the proposed construction. Using the connection between these codes and \(\ell_1\) codes established above, we begin by finding a sufficiently large-size \(\ell_1\) code with large distance. This will follow by 7 once we bring in the following classic result.
Theorem 11 (Bose–Chowla, [65]). Let \(p\) be a prime, \(q=p^r\), and \(m=(q^{t+1}-1)/(q-1)\). Then, there exist \(q+1\) integers, all less than \(m\), \[\begin{align} d_0=0, d_1=1, d_2,\ldots, d_q \end{align}\] such that the sums \[\begin{align} d_{i_1}+d_{i_2}+\ldots+d_{i_t} \end{align}\] with \(0\leq {i_1}\leq {i_2}\leq \ldots\leq {i_t}\leq q\) are all distinct modulo \(m\).
Using this theorem, we obtain sequences of \(\ell_1\) codes with the parameters as given next.
Proposition 12. Consider \(\ell_1\) codes in \({\EuScript S}_{N,N}\). As long as \[\label{eq:32ll} t(1+\log N)+\log K-1\le N,\qquad{(3)}\] there exists an \(\ell_1\) code \(|{\mathscr C}_{\ell_1}|\subset{\EuScript S}_{N,N}\) with distance \(d_1({\mathscr C}_{\ell_1})\ge t+1\) and size that satisfies the bound 24 . In particular, if \(N\to\infty\) and \(t\log N+\log K = o(N)\), there exists a sequence of \(\ell_1\) codes that support the conclusion of 10.
Proof. 11 says that the group \({\mathbb{Z}}_m\) contains Sidon sets of size \(q\). By 7 with \(G={\mathbb{Z}}_m\), there is an \(\ell_1\) code \({\mathscr C}_{\ell_1}\) with \(d_1({\mathscr C}_{\ell_1})\ge t+1\) and size \[\begin{align} |{\mathscr C}_{\ell_1}| \geq \frac{|{\EuScript S}_{q,N}|}{m}. \end{align}\] As remarked above (and also implied by the statement), we assume that \(q=N\). We will determine for which \(K,N,t\) the right-hand side exceeds the number of points needed for a Tverberg partition to exist; cf. 24 . We have \[\frac{|{\EuScript S}_{N,N}|}{m}=\frac{\binom{2N-1}{N-1}}{m}\ge\frac{\binom {2N}{N}}{2(N^t-(1/N))}\ge\frac{4^{N-1}}{N^{t+1}}\] (using \(\binom {2N}{N}\ge 4^N/(2\sqrt N)\)). At the same time, \[(K-1)\binom{N+t-1}{N-1}\le K 2^{N+t}.\] The quotient of these two estimates is \[\begin{align} \frac{4^{N-1}}{K N^t 2^{N+t}}=2^{N-t(1+\log N)-\log K-1}. \end{align}\] If the exponent in this expression satisfies ?? , there exists a code \({\mathscr C}_{\ell_1}\) with the stated properties. This proves the first part of our claim. Taking \(N\to\infty,\) we conclude that, as long as \[\limsup \frac{t\log N+\log K}{N}<1,\] there exists a sequence of \(\ell_1\) codes as stated in the proposition (where the above condition is slightly weakened for better readability). ◻
Turning to asymptotics, we note that this proposition gives rise to several possible choices of the scaling of \(t\) and \(K\) that can be used to construct PI codes, Fock state, and spin codes. For instance, the following result is immediately true.
Theorem 13. Let \({\EuScript Q}\) be one of {PI code, spin code, Fock state code}. For \(N\to\infty\) and any \(K, d\) that satisfy \[K =o(2^N) \text{ and } d =o\left(\frac{N}{\log N}\right),\] there exists a sequence of \({\EuScript Q}(N,K,q=N,d)\) codes, where \(d\) is \(d_s,d_b,\) or the quantum PI code distance as appropriate.
Constructions of Fock state codes for AD errors were previously studied in [47], [54], [31], [32]. An early work by Chuang et al. [47] presented several examples of codes and claimed the existence of a code family with distance \(d_b\propto N^{1/3}\) with an incomplete proof. The work of Bergmann and van Loock [54] constructed Fock state codes with distance \(d_b\propto \sqrt N\). Finally, Ouyang [30] gave a construction of qudit PI codes with \(d\propto \sqrt{N}\).
We define several explicit codes as special cases of our general constructions, yielding new code families and encapsulating codes previously defined in the literature. In doing so, we will implement the transitions shown in the diagram in 2.
Starting from 3, we can construct numerous new two-mode Fock state codes by leveraging existing families of PI codes. Certain families of two-dimensional PI qubit codes have received considerable attention in the literature. In particular, Ruskai and Pollatsek [2], [3] introduced a family of PI codes that can correct a single error. Ouyang [24] later constructed a family of qubit PI codes that can correct an arbitrary number of errors. The codes he introduced are defined by integer parameters \(g,n\), and \(u\), and hence are called \(gnu\) codes. Reducing the number of physical qubits (the code length) improves the efficiency of the codes, and the shortest \(t\)-error-correcting codes from this family have length \((2t+1)^2\). Generalizing this approach, in [25], we introduced another family of combinatorial PI codes correcting \(t\) errors, which yields shorter PI codes. In particular, a subclass of codes from that family, [25], requires \((2t+1)^2-2t\) physical qubits to correct \(t\) errors. Combining this construction with 3 yields the following family of two-dimensional, two-mode Fock state codes.
Construction 1. Let \(g,m,\delta\) be nonnegative integers and let \(\epsilon\in\{-1,+1\}\). Define a two-mode Fock state code \({\EuScript Q}^{(b)}_{g,m,\delta,\epsilon}\) via its logical computational basis \[\begin{align} &\ket{{\boldsymbol{c}}_0} =\sum_{\substack{\text{l {\rm even}}\\0\leq l \leq m}} \gamma b_l\ket{gl,n-gl}_b + \sum_{\substack{\text{l {\rm odd}}\\0\leq l \leq m}} \gamma b_l\ket{n-gl,gl}_b,\\ &\ket{{\boldsymbol{c}}_1} = \sum_{\substack{\text{l {\rm odd}}\\0\leq l \leq m}} \gamma b_l\ket{gl,n-gl}_b +\epsilon \sum_{\substack{\text{l {\rm even}}\\0\leq l \leq m}} \gamma b_l\ket{n-gl,gl}_b, \end{align}\] where \(n=2gm+\delta+1,\) \(b_l=\sqrt{{\binom{m}{l}}/{\binom{n/g-l}{m+1} }},\) and \(\gamma = \sqrt{\binom{n/(2g)}{m} \frac{n-2gm}{g(m+1)} }\) is the normalizing factor.
Theorem 14. Let \(t\) be a nonnegative integer and let \(m\geq \left\lceil\frac{t}{2}\right\rceil\) and \(\delta\geq t\). If \[( g\ge t, \epsilon=-1) \text{ or }(g\ge t+1,\epsilon=+1),\] then the code \({\EuScript Q}^{(b)}_{m,l,\delta,\epsilon}\) has bosonic distance \(d_b=t+1\) and total excitation \(N=2gm+\delta+1\).
Let us compare this construction with existing results, in particular, those of Bergman–Van Loock [54]. The codes they construct have total excitation \(N=(t+1)^2\), which we improve to \(N=(t+1)^2-t\) for any odd number of errors. For even \(t\), the parameters of the two proposals coincide.
We conclude this section with a few examples obtained using Construction 1.
Example 1. Suppose \(g=\delta=2\), \(m=1\), and \(\epsilon=-1\). Then the code \({\EuScript Q}^{(b)}_{g,m,\delta,\epsilon}\) with the basis states \[\begin{align} &\ket{{\boldsymbol{c}}_0} = \sqrt{\frac{3}{10}}\ket{0,7}_b + \sqrt{\frac{7}{10}}\ket{5,2}_b\\ &\ket{{\boldsymbol{c}}_1} = \sqrt{\frac{7}{10}}\ket{2,5}_b-\sqrt{\frac{3}{10}}\ket{7,0}_b \end{align}\] with total excitation \(N=7\) has bosonic distance \(d_b=3\).
Example 2. Suppose \(g=\delta=4\), \(m=2\), and \(\epsilon=-1\). Then the code \({\EuScript Q}^{(b)}_{g,m,\delta,\epsilon}\) with the basis states \[\begin{align} &\ket{{\boldsymbol{c}}_0} = \sqrt{\frac{5}{68}}\ket{0,21}_b + \sqrt{\frac{7}{12}}\ket{8,13}_b+\sqrt{\frac{35}{102}}\ket{17,4}_b\\ &\ket{{\boldsymbol{c}}_1} = \sqrt{\frac{35}{102}}\ket{4,17}_b-\sqrt{\frac{7}{12}}\ket{13,8}_b-\sqrt{\frac{5}{68}}\ket{21,0}_b \end{align}\] with total excitation \(N=21\) has bosonic distance \(d_b=5\).
Taking \(\epsilon=+1, g=t+1\) and \(m=t\), we obtain Fock state codes from \(gnu\) codes relying on 3. Consider the following example, which reproduces Example 7 from [47].
Example 3. Suppose \(g=3\), \(m=1\), \(\delta=2\) and \(\epsilon=+1\). Then the code \({\EuScript Q}^{(b)}_{g,m,\delta,\epsilon}\) with the basis states \[\begin{align} \ket{{\boldsymbol{c}}_0}=\frac{1}{2}\ket{9,0}_b+\frac{\sqrt{3}}{2}\ket{3,6}_b\\ \ket{{\boldsymbol{c}}_1}=\frac{\sqrt{3}}{2}\ket{6,3}_b+\frac{1}{2}\ket{0,9}_b \end{align}\] has total excitation \(N=9\) and can correct \(2\)-AD errors. This is the two-mode Fock-state version of the \(((9,2,3))\) Ruskai code [2].
For another example, an explicit construction of \(K\)-dimensional qudit PI codes with alphabet size \(q\) is introduced in [30]. In this construction, the authors present distance \(d=t+1\) codes of length \(N\geq(K-1)(t+1)^2\). Using this code construction, we can obtain explicit \(K\)-dimensional \(q\)-mode Fock state codes with a total excitation of at least \(N=(K-1)(t+1)^2\) by 3.
Example 4. We construct a \(3\)-dimensional Fock state code using the mapping \(f\) in 13 and the code in [48]. This \(2\)-mode Fock state code, with the basis states \[\begin{align} &\ket{{\boldsymbol{c}}_0} = \frac{1}{3}\ket{18,0}_b+\frac{\sqrt{7}}{3}\ket{9,9}_b+\frac{1}{3}\ket{0,18}_b\\ &\ket{{\boldsymbol{c}}_1}=\frac{\sqrt{3}}{3}\ket{15,3}_b+\frac{\sqrt{6}}{3}\ket{6,12}_b\\ &\ket{{\boldsymbol{c}}_2}=\frac{\sqrt{6}}{3}\ket{12,6}_b+\frac{\sqrt{3}}{3}\ket{3,15}_b~, \end{align}\] has distance \(d_b=3\) and total excitation \(N=18\).
Considerations of the previous section apply to spin codes as well. In particular, 14 gives a family of \((N,2,2,t+1)\) spin codes. Importantly, we can also construct \(K\)-dimensional spin codes hosted by irreps of \(SU(q)\) for \(K,q>2\), which yields a new way to encode quantum information in such few-level systems that does not rely on \(SU(2)\). For instance, the qudit PI codes constructed in [30] produce a family of spin codes for arbitrary \(K\) and \(q\). All the examples presented in the previous section can also be cast as spin codes on discrete simplices via the mapping \(|\overline{n}\rangle_b \to |\overline{n}\rangle_s\).
Identification of all three systems — pure “spin” systems, Dicke-state spaces, and constant-excitation Fock-state spaces — with a discrete simplex \({\EuScript S}_{q,N}\) allows us to inter-convert states and codes between any pair. Furthermore, this correspondence also allows inter-conversion of certain logical operations.
Basis states labeled by simplex points are in one-to-one correspondence with monomials in \(q\) variables of degree \(N\), i.e., the space Sym\(^N(\mathbb{C}^q)\). As introduced in Sec. 6.1, each such space admits an irrep of \(SU(q)\). This irrep can be used to construct gates for its corresponding codes.
In the case of Fock state codes, group transformations are done by passive linear-optical transformations, whose Lie algebra is expressed by quadratic bosonic operators via the JS map 14 .
If we instead switch to the labeling of Dicke states of \(N\) qudits of dimension \(q\), then we know that \(SU(q)\) transformations on this subspace are generated by the “global” qudit Lie algebra. Letting \(J\) be some element of the Lie algebra in the fundamental irrep, its global representation is a sum of the \(N\) local terms, i.e., \(\sum_{i=1}^N \hat{J}^{(i)}\), where each qudit is acted on by its local generator \[\hat{J}^{(i)} = \underbrace{I\otimes\dots\otimes I}_{i-1}\otimes~ J \otimes \underbrace{I\otimes\dots\otimes I}_{N-i}~.\]
Since both the Fock and Dicke labels are labeling the same irrep, we have the correspondence \[\label{eq:equivalence-lie} \left.\frac{1}{\sqrt{N}}\sum_{i=1}^{N}\hat{J}^{(i)}\right|_{\text{Sym}^{N}(\mathbb{C}^{q})}\cong\left.\sum_{j,k=1}^{q}{\hat{a}}_{j}^{\dagger}J_{jk}{\hat{a}}_{k}\right|_{\text{Sym}^{N}(\mathbb{C}^{q})}\tag{29}\] when both representations are restricted to the same \(\text{Sym}^{N}(\mathbb{C}^{q})\) irrep of \(\mathfrak{u}(q)\). This allows us to take any set of transversal (i.e., tensor-product) gates on a PI code and convert them to act as passive linear-optical transformations on its corresponding Fock state code, and visa versa.
Let \(G\) be a subgroup of \(SU(q)\), and let \(\lambda\) be an irreducible representation of \(G\). We define group elements \(g \in G\) as \(q\)-dimensional matrices represented by the fundamental irrep of \(SU(q)\). We say that a PI code is \(G\)-covariant if the global (tensor-product or transversal) \(SU(q)\) representation, \(g^{\otimes N}\), implements logical \(\lambda(g)\) on the code for each \(g\in G\). In other words, the action of \(g^{\otimes N}\) preserves the code space of a \(G\)-covariant PI code for each \(g\in G\), and the code space transforms as the \(\lambda\) irrep.
We can define a \(G\)-covariant Fock state code in a similar manner. For these codes, we use the passive linear optical representation of a group element \(g\), \[D(g)=\exp\left(i\sum_{j,k=1}^{q}a_{j}^{\dagger} M_{jk}(g)a_{k}\right)~,\] where \(M(g)\) is the Lie algebra element satisfying \(g = e^{iM}\). A Fock state code is covariant if the physical transformation \(D(g)\) realizes the logical transformation \(\lambda(g)\) on the codespace.
We summarize the discussion so far as follows.
Proposition 15. Let \(G\) be a subgroup of \(SU(q)\). The mapping \(f\) defined in 13 sends a \(G\)-covariant \((N,K,q,t+1)\) PI code to a \(G\)-covariant \((N,K,q,t+1)\) Fock state code.
In [38], the authors constructed PI codes that are \(BD_{2b}\)-covariant. Using their construction, we obtain the Fock state code in the following example.
Example 5. The two-mode Fock state code defined by the basis states \[\begin{align} &\ket{{\boldsymbol{c}}_0}=\frac{\sqrt{5}}{4}\ket{0,11}_b+\frac{\sqrt{11}}{4}\ket{8,3}_b\\ &\ket{{\boldsymbol{c}}_1}=\frac{\sqrt{11}}{4}\ket{3,8}_b+\frac{\sqrt{5}}{4}\ket{11,0}_b \end{align}\] can correct \(2\) AD errors and implements all gates from the group \(BD_8=\langle X,T\rangle\) using passive linear optics.
The \(\lambda\)-twisted \(t\)-group PI codes of Refs. [49], [66] are \(\lambda\)-covariant. Moreover, these codes have automatic error protection due to the nature of their particular irreps. Any \(\lambda\)-twisted unitary \(t\)-group \(G \subset SU(q)\) admits PI codes of distance \(t+1\) inside its \(\lambda\)-irreps [49]. The distance defined in said papers is the same as the PI distance defined in our work, and the distance of the output Fock state code is the same as that per Prop. 3.
The works [49], [66] subsume the earlier work [21] on covariant PI codes for \(G = 2I\), the binary icosahedral group. The 7-qubit binary icosahedral PI code converts to the \(N=7\) two-mode Fock state code from Example 1. Our \(q>2\) extension yields new covariant codes defined on three or more modes.
Example 6. The group \(\Sigma(360\phi) \subset U(3)\) is a \(\chi_4\)-twisted 1-group, meaning that subspaces defined by its irrep \(\chi_4\) are automatically \(\chi_4\)-covariant PI codes with distance two [49]. Our results can convert these to distance-two Fock state codes that are \(\chi_4\)-covariant with respect to the passive linear-optical representation of \(\Sigma(360\phi)\). The smallest such PI code is a \((5,3,3,2)\) code, i.e., a five-qutrit code encoding a single logical qutrit (a \(((5,3,2))_3\) PI code in standard notation). This converts to a \((q=3)\)-mode 3D Fock state code in the space of Fock states of total excitation \(N=5\).
Along similar lines, the PI codes of Ref. [67] can be mapped into Fock state codes.
Our mapping allows us to map codewords and logical operations between any pair of spaces by simply relabeling them, but we can preserve code distances only when going from PI to Fock codes or spin codes. The reverse spin-to-Fock map is not guaranteed to preserve the code distance for general \(q\). However, it has been shown for the \(SU(2)\) case by using Dicke states as intermediaries.
Starting with a basis state of a spin-\(J\) system, construct a 2-mode Fock state using the mapping \[\begin{align} \label{eq:mappingSpintoFock} \ket{J,m}\overset{\sigma^{-1}}\mapsto \ket{D_{(J+m,J-m)}}\overset{f}\mapsto \ket{J+m,J-m}_b, \end{align}\tag{30}\] where the two component mappings, \(\sigma^{-1}\) and \(f\), are defined in 21 and 13 , respectively.
Proposition 16. Let \(G\) be a subgroup of \(SU(2)\). The composite mapping \(\sigma^{-1}\circ f\) defined in 30 sends a \(G\)-covariant \((N,K,2,t+1)\) spin code to a \(G\)-covariant \((N,K,2,t+1)\) Fock state code.
Proof. Jordan-Schwinger map sends \(G\)-covariant spin codes to \(G\)-covariant Fock state codes. Furthermore, 5 and 3 used in succession establish the isometry claim in the statement. ◻
The authors of [10], [28] constructed spin codes that are \(G\)-covariant for \(G=2O\) (the binary octahedral, or Clifford, group), 2T (the binary tetrahedral group), and \(2I\) (the binary icosahedral group). Using 16, we can obtain two-mode Fock state codes for which logical unitaries from these subgroups of \(SU(2)\) can be implemented using only beam splitters.
For example, in [10], Gross constructed a \(2O\)-covariant spin \(J=13/2\) code with spin distance \(d_s=3\). Transforming this code into a Fock state code using the mapping in 30 , we obtain a two-mode Fock state code capable of correcting \(2\) AD errors. All logical gates from the Clifford group for this code can be implemented using beam splitters. The same paper introduced another \(d_s=3\) spin code that is \(2I\)-covariant. By mapping this code to a Fock state code using 30 , we obtain the code in Example 1. Equivalently, this code can be mapped to the PI space to yield the \(2I\)-covariant PI code on 7 qubits from Ref. [21].
In this section, we list a few examples of quantum codes constructed using partitions of classical \(\ell_1\) codes. We note that each of these examples is common to the three classes of quantum codes, which is supported by relating all the three systems to a discrete simplex \({\EuScript S}_{q,N}\). The specific transformations between the basis elements are given in 13 18 21 , and the coefficients \(\alpha_{\underline n}\) are shared between the three expansions of the code states. We will limit our discussion to PI and Fock state codes.
Fock state codes in higher modes have previously been studied in [31], [47], [54]. In [47], the authors constructed Fock state codes for small distances using a search algorithm. In the same paper, they introduced several examples of \(K\)-dimensional \(q\)-mode Fock state codes. The authors of [31] studied two-dimensional Fock state codes encoded to more than two modes of Fock states. They especially constructed examples of Fock state codes with small distances that are PI. In [54], an explicit family of the \(K\)-dimensional Fock state code with bosonic distance \(d_b>t\) is given. Although this construction is efficient in terms of total excitation, it does not include a large number of codes due to the restrictive structure of its construction. Note that for a \(K\)-dimensional \(d_b=t+1\) Fock state code in [54], the number of modes is fixed to \(q=K(t+1)\). However, starting with an \(\ell_1\) code and using the recipe described in Section 7.2, it is possible to construct a large number of Fock state codes for any number of modes. Similar Fock state code construction methods are introduced in references [31], [47]. However, our improved existence bound 24 suggests searching for an \(\ell_1\) code with a smaller cardinality, which potentially yields more efficient Fock state codes.
To find an explicit code, we need to find a Tverberg partition and solve the linear system in 26 . This task is easy when \(K=2\) and studied in [31]. As above, start with an \(\ell_1\) code \(B\) of total norm \(N\) with \(d_1(B)\ge t+1\) and consider the system of equations \[\begin{align} \sum_{{\underline h}\in{\mathscr C}} \frac{\binom{N-t}{{\underline h}-{\underline e}}}{\binom{N}{{\underline h}}}y_{\underline h}=0\quad \text{for all {\underline e}\in{\EuScript S}_{q,t}}. \end{align}\] Solving it for \((y_{\underline h})\), we define \[\label{eq:conditionC4K2} x_{\underline h}= \begin{cases} y_{\underline h},\quad \text{if y_{\underline h}>0}\\ -y_{\underline h},\quad \text{if y_{\underline h}<0}. \end{cases}\tag{31}\] Using 10, we can construct Fock state codes as shown in the following examples.
Example 7. Let us take \(N=q=3\) and \(t=1\). Consider an \(\ell_1\) code given by \[\begin{align} B=\{ (3,0,0),(0,3,0),(0,0,3),(1,1,1)\} \end{align}\] Observe that \(|B|=4\) and \(d_1(B)=2\), which matches the lower bound 24 and implies that there exists a bosonic code with total excitation \(N=3\) and distance \(d_b=2\). Let us construct it explicitly. The matrix of coefficients of the system for \((y_{\underline h})\) \[\begin{align} \begin{bmatrix} 1&0&0&\frac{1}{3}\\ 0&1&0&\frac{1}{3}\\ 0&0&1&\frac{1}{3} \end{bmatrix} \end{align}\] yields a solution \((1/3,1/3,1/3,-1)\). This in turn produces a Fock state code with the basis \[\begin{align} &\ket{{\boldsymbol{c}}_0} = \sqrt{\frac{1}{3}}(\ket{3,0,0}_b + \ket{0,3,0}_b + \ket{0,0,3}_b) \\ &\ket{{\boldsymbol{c}}_1}=\ket{1,1,1}_b \end{align}\] that has bosonic distance \(d_b=2\) and corrects a single AD error. Observe that this example recovers the Wasilewski-Banaczek code [68].
Example 8.
Let us consider a more complicated case of larger \(K\). In this example we construct an \((N=4,K=3,q=4,d_b=2)\) Fock state code. According to our recipe above, we begin with an \(\ell_1\) code \(B\) of size 11 and distance 2, shown in 5 as a colored subset of \({\EuScript S}_{q,N}\). Note that \(|B|=11\), hence obeying the lower bound in 24 . Consider the following partition of the code \(B\): \[\begin{align} B_0&=\{4000,0400,0040,0004\}\\ B_1&=\{2200,2020,2002,0220,0202,0022\}\\ B_3&=\{1111\}. \end{align}\] The code corrects any single \(\ell_1\) error, i.e., any vector from the set \(1000,0100,0010,0001\). To find the coefficients of the code basis, we solve the equations \[\sum_{{\underline c}\in C_0}\frac{\binom{N-t}{{\underline c}-{\underline e}}}{\binom N{\underline c}}x_{{\underline c}}=\sum_{{\underline c}\in C_1} \frac{\binom{N-t}{{\underline c}-{\underline e}}}{\binom N{\underline c}}x_{{\underline c}}= \sum_{{\underline c}\in C_2} \frac{\binom{N-t}{{\underline c}-{\underline e}}}{\binom N{\underline c}}x_{{\underline c}}\] for all \({\underline e}\in {\EuScript S}_{4,1}\). This yields \[x_{{\underline c}}=\begin{cases} 1/4&\text{if }{\underline c}\in B_0\\ 1/6&\text{if }{\underline c}\in B_1\\ 1&\text{if }{\underline c}\in B_2. \end{cases}\]
The basis vectors of the target Fock state code take the form \[\begin{align} \ket{{\boldsymbol{c}}_0}&=\frac{1}{2}(\ket{4,0,0,0}_b+\ket{0,4,0,0}_b+\ket{0,0,4,0}_b+\ket{0,0,0,4}_b\\ \ket{{\boldsymbol{c}}_1}&=\frac{1}{\sqrt 6}(\ket{2,2,0,0}_b+\ket{2,0,2,0}_b+\ket{2,0,0,2}_b+\ket{0,2,2,0}_b\\ &+\ket{0,2,0,2}_b+\ket{0,0,2,2}_b)\\ \ket{{\boldsymbol{c}}_2}&=\ket{1,1,1,1}_b. \end{align}\] Generally speaking, finding a Tverberg partition for a given set of points has polynomial complexity if the dimension \(m\) is fixed and is difficult otherwise [64]. However, in small examples such as this one, it can be found with few complications.
We can also construct new qudit PI codes using Tverberg partitions of \(\ell_1\) codes as in the previous section that dealt with Fock state codes. The following example is constructed using the same Tverberg partition as in 7.
Example 9. The PI code defined by the basis \[\begin{align} &\ket{{\boldsymbol{c}}_0} = \sqrt{\frac{1}{3}}\left(\ket{000}+\ket{111}+\ket{222}\right)\\ &\ket{{\boldsymbol{c}}_1}=\sqrt{\frac{1}{6}}\left(\ket{012}+\ket{021}+\ket{102}+\ket{120}+\ket{201}+\ket{210}\right) \end{align}\] has alphabet size \(q=3\), length \(N=3\), and distance \(d=2\). Note that it is shorter than all previously known PI codes with distance \(d=2\). Observe that this code is the \([[3,1,2]]_3\) three-qutrit stabilizer code [69] projected into the permutation-invariant subspace of three qutrits, i.e., the trivial irrep of \(S_3\) acting by permutations on three factors of \(\mathbb{C}^3\).
Example 10. Let us take \(N=q=6\) and \(t=2\). Let \(B_1=(1^6), B_2=\pi{(3^20^4)}, B_3=\pi(60^5)\), where \(\pi(\cdot)\) denotes the set of tuples formed of all permutations of the argument. Consider an \(\ell_1\) code \(B=\bigcup_{i=1}^3 B_i.\) The code \(B\) has size \(22\), which meets the bound 24 for \(K=2\) with equality. Therefore, there must be a qudit PI code with distance \(d=3\). Following the same steps as in 7, we obtain the PI code defined by the basis \[\begin{align} &\ket{{\boldsymbol{c}}_0}=\sqrt{\frac{1}{15}}\sum_{{\underline n}\in B_3}\ket{D_{\underline n}} + \sqrt{\frac{3}{5}}\ket{D_{(111111)}},\\ &\ket{{\boldsymbol{c}}_1}=\sqrt{\frac{1}{15}}\sum_{{\underline n}\in B_2}\ket{D_{\underline n}}. \end{align}\]
Previously, the shortest PI code that can correct a single error has alphabet size \(q=2\) and length \(N=7\). Observe that the code over the alphabet of size \(q=6\) in the example above has length \(N=6\), which is less than the best known PI code with similar error correction properties. Furthermore, mapping the PI code in Example 10 to a Fock state code using 13 , we recover the Fock state code in Example 2 in [31].
We conclude this section by formulating general existence conditions for the three types of codes. In addition to yielding more flexibility, codes obtained by way of \(\ell_1\) codes may also produce more efficient codes in terms of the length (PI codes), total excitation (Fock state code), or total spin (spin codes).
Theorem 17. Let \({\EuScript Q}(N,K,N,d)\) be one of {PI code, spin code, Fock state code}. Let \(K,t\geq 2\) be integers. Then there exists an explicitly constructible \(K\)-dimensional Fock state code \({\EuScript Q}\) with \(\{\)length, total excitation, total spin\(\}\) \(N=(K-1)t(t+1)\), and distance \(d=t+1\).
Note that when \(K=2\), 17 states that there exists Fock state codes with distance \(d_b=t+1\) and total excitation \(N= t(t+1)\). The best previously known codes [54] have total excitation \(N=(t+1)^2\). Hence, our lower bound for the total excitation is \(t+1\) less than the previously best known bound for a code with distance \(d_b=t+1\).
In [31], the authors constructed explicit \(2\)-dimensional codes which saturates the bound in 17 for \(t=2,3,4,5\). Here we show that there exists a two-dimensional code with \(N=t(t+1)\) for any \(t\geq 2\). Furthermore, we extend the result from \(2\)-dimensional codes to \(K\)-dimensional codes in general.
Previously best known lower bound for the length of a qudit \(K\)-dimensional PI code with distance \(d=t+1\) is \(N\geq (K-1)(t+1)^2\) [31]. Therefore, the result of 17 improves the best previously known result for the parameters of qudit PI codes.
We unify and extend a broad class of codes compatible with nuclear manifolds of atomic and molecular systems, the permutation-invariant (PI) space of multiple qudits, and the constant-excitation Fock subspace of multiple bosonic modes. This unification is possible because basis states for all three state spaces are in one-to-one correspondence with points in the discrete simplex, and noise models on all three state spaces are related by the fact that all three spaces house irreps of the Lie group \(SU(q)\) for some \(q\). This unification extends previous results for \(q=2\), and we construct new codes that are simultaneously applicable to all three state spaces using classical codes on the discrete simplex and partitioning results from convex geometry. In particular, this yields examples of code sequences with improved asymptotics of the number of correctable errors in all the three spaces.
We conclude by discussing further extensions.
Approximate codes: Recall our use of Tverberg partitions for proving the error correction conditions for Fock state codes and PI codes in 10 (also 2), where the common point in the convex hulls of the point subsets yielded a set of basis coefficients that satisfy the error correction requirements in (C3), (C4). For such a point to exist, we need to limit the dimension \(m\) of the real space that hosts the Tverberg points, and this constrains the scaling of the code parameters (rephrasing, given \(m\) and \(K\), we need to have sufficiently many points). Since the inequality in the Tverberg theorem is known to be tight, removing the assumption on \(m\) is not possible without changing the statement. It turns out that if, instead of seeking that the convex hulls have a common point, we require only that they all intersect a fixed ball of small radius, then the dimension can be dropped from the statement of the theorem [70]. For the coding problem at hand, this would result in some version of approximate error correction, addressing the number of errors larger than we are able to guarantee with exact recovery. There are further conditions to be met to implement this plan, and we leave this as an interesting future direction. The general idea of approximate error correction has been discussed in earlier works [71]–[73] as well as in [32], however, the approach presented here suggests a concrete direction for potentially constructing such codes.
Code symmetrization: Conventional multi-qudit block codes are generally not PI, but it was noticed early on that a well-known 9-qubit PI code [2] can be obtained from the Shor 9-qubit code by projecting the latter into the PI subspace of 9 qubits (see 3). Similarly, we identify a PI/Fock/spin code that is a projection of the \([[3,1,2]]_3\) three-qutrit stabilizer code onto the PI subspace (see. 9). Projecting other established non-PI stabilizer codes will likely yield interesting and unique PI codes, which in turn may be convertible into spin or Fock state codes via our mapping. It would be interesting to determine when such projections and mappings preserve the distances of the original stabilizer codes.
V.V.A. acknowledges Andrea Morello for stimulating discussions. The research of A.A. and A.B. was partially supported by NSF grant CCF-2330909. V.V.A. acknowledges NSF grant OMA2120757 (QLCI).
A multi-dimensional version of the Vandermonde convolution, 7, is slightly less known than its one-dimensional analog. Since we need it in the main text, in this appendix, we present it together with a short proof. We start with the following
Lemma 6. For integer \(N\geq t\geq 0\), let \({\underline n},{\underline e}\) be \(q\)-tuples with \(\sum_{i=0}^{q-1} n_i=N,\sum_{i=0}^{q-1} e_i=t\) Then \[\begin{align} \label{eq:32md} \displaystyle \frac{\binom{n_0}{e_0}\binom{n_1}{e_1}\ldots\binom{n_{q-1}}{e_{q-1}}}{\binom{N}{t}}=\frac{\binom{t}{{\underline e}}\binom{N-t}{{\underline n}-{\underline e}}}{\binom{N}{{\underline n}}}. \end{align}\tag{32}\]
Proof. By a direct calculation, \[\begin{align} \frac{\binom{N-t}{{\underline n}-{\underline e}}}{\binom{N}{{\underline n}}} &=\frac{(N-t)!}{\prod_{i=0}^{q-1}(n_i-e_i)!}\frac{\prod_{i=0}^{q-1}n_i!}{N!}=\frac{e_0!\ldots e_{q-1}!}{t!}\frac{t!(N-t)!}{N!}\prod_{i=0}^{q-1}\frac{n_i!}{(n_i-e_i)!e_i!}\\ &=\frac{1}{\binom{t}{{\underline e}}\binom{N}{t}}\prod_{i=0}^{q-1}\binom{n_i}{e_i}. \qedhere \end{align}\] ◻
Lemma 7. Let \(N\), \(t\) be nonnegative integers with \(N\geq t\), and \({\underline n}\in {\EuScript S}_{q,N}\). Then \[\begin{align} \sum_{{\underline e}\in {\EuScript S}_{q,t}}\binom{t}{{\underline e}}\binom{N-t}{{\underline n}-{\underline e}} = \binom{N}{{\underline n}}. \end{align}\]
Proof. The standard (one-dimensional) Vandermonde convolution has the form \[\sum_{e=0}^t \binom {n_0}e\binom{n_1}{t-e}=\binom{n_0+n_1}{t}.\] By induction, we quickly conclude that \[\sum_{{\underline e}\in {\EuScript S}_{q,t}}\prod_{i=0}^{q-1}\binom {n_i}{e_i}=\binom Nt,\] so the left-hand side of 32 is 1 when summed on \({\underline e}\in{\EuScript S}_{q,t}\). Then so is the right-hand side, which is the claim of the lemma. ◻
In information theory, one often considers the probability distribution \(\frac{1}{N} \mathop{\mathrm{{\sf C}}}({\boldsymbol{x}})\), calling it the type of \({\boldsymbol{x}}\) [39].↩︎
A subclass of these codes where not only the \(\ell_1\) norm, but also the composition \(\mathop{\mathrm{{\sf C}}}({\boldsymbol{x}})\) of every codeword is fixed, plays a major role in information theory [59].↩︎
This follows because \(\sum_{i=0}^{q-1}(x_i-y_i)=0\), and so \(\sum_{i:x_i>y_i}(x_i-y_i)=\sum_{i:x_i<y_i}(y_i-x_i)\).↩︎
To prove the lemma, observe that there are more \(x_i\)’s than equations, so this system has a nonzero solution, and the partition is naturally formed by the indices of the positive and negative \(x_i\). The proof of Tverberg’s theorem is much more involved.↩︎