# Bosonic rotation code[1]

## Description

A single-mode Fock-state bosonic code whose codespace is preserved by a phase-space rotation by a multiple of \(2\pi/N\) for some \(N\). The rotation symmetry ensures that encoded states have support only on every \(N^{\textrm{th}}\) Fock state. For example, single-mode Fock-state codes for \(N=2\) encoding a qubit admit basis states that are, respectively, supported on Fock state sets \(\{|0\rangle,|4\rangle,|8\rangle,\cdots\}\) and \(\{|2\rangle,|6\rangle,|10\rangle,\cdots\}\).

Encoding of a \(q\)-dimensional logical qudit admit a basis whose elements are eigenstates of the rotation operator \(\exp\left(\mathrm{i} 2\pi \hat{n}/qN \right)\), where \(\hat{n}\) is the number operator diagonal in the Fock basis. Basis elements are of the form \(\sum_{j=0}^\infty c_j |(kq+j)N \rangle\) for some coefficients \(c_j\) and \(k\). This is because the rotation acting on a general Fock-state superposition \(\sum_n a_n |n\rangle\) yields \(\sum_n a_n \exp\left(\mathrm{i} 2\pi n / qN \right) |n\rangle\). In order for a codeword to be an eigenvector of this operation, \(a_n\) must be zero whenever \(n \neq (kq+j)N\) for some \(k\).

Codewords can be uniquely specified by choosing a primitive state \(|\Theta\rangle\). To ensure valid (orthogonal and nonzero) codewords, \(|\Theta\rangle\) must satisfy the following requirement: for each \(j \in \mathbb{Z}_q\), \(|\Theta\rangle\) must have support on the Fock state \(|(k_j q+j)N\rangle\) for at least one \(k_j \in \mathbb{N}_0\). From such a primitive, the codewords \(\{|\overline{j}\rangle \mid j \in \mathbb{Z}_q\}\) are constructed as \begin{align} |\overline{j}\rangle \propto \sum_{m=0}^{2N-1} \mathrm{e}^{2\pi \mathrm{i} m (\hat n / N + j) / q} |\Theta\rangle~. \end{align}

## Protection

## Encoding

## Gates

## Decoding

## Parent

- Fock-state bosonic code — Single-mode Fock-state codes are typically rotationally invariant.

## Children

- Binomial code — One can verify by direct calculation that the logical states are eigenstates of the discrete rotation operator. One has freedom in the exact form of the primitive state to choose; see Appendix B.2 of Ref. [1].
- Cat code — The cat code is a bosonic rotation code whose primitive state is the coherent state \(|\alpha\rangle\) [1].
- Number-phase code — Number-phase codes are bosonic rotation codes with the primitive state is a Pegg-Barnett phase state [3].

## Cousin

- Gottesman-Kitaev-Preskill (GKP) code — GKP codes utilize the translational symmetry in phase space, while rotation codes utilize rotational symmetry.

## Zoo code information

## References

- [1]
- A. L. Grimsmo, J. Combes, and B. Q. Baragiola, “Quantum Computing with Rotation-Symmetric Bosonic Codes”, Physical Review X 10, (2020). DOI; 1901.08071
- [2]
- Sangil Kwon, Shohei Watabe, and Jaw-Shen Tsai, “Autonomous Quantum Error Correction in a Four-Photon Kerr Parametric Oscillator”. 2203.09234
- [3]
- S. M. Barnett and D. T. Pegg, “Phase in quantum optics”, Journal of Physics A: Mathematical and General 19, 3849 (1986). DOI

## Cite as:

“Bosonic rotation code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2022. https://errorcorrectionzoo.org/c/bosonic_rotation