Bosonic code


Also called an oscillator or a continuous-variable (CV) code. Encodes logical Hilbert space, finite- or infinite-dimensional, into a physical Hilbert space that contains at least one oscillator (a.k.a. bosonic mode or qumode). States of a single oscillator are elements of the Hilbert space of \(\ell^2\)-normalizable functions on \(\mathbb{R}\)). Ideal codewords may not be normalizable because the space is infinite-dimensional, so approximate versions have to be constructed in practice.


An error set relevant to bosonic stabilizer codes is the set of displacement operators, a bosonic analogue of the Pauli string basis for qubit codes. For a single mode, its elements are products of exponentials of the mode's position and momentum operators, acting on the mode's position states \(|y\rangle\) for \(y\in\mathbb{R}\) as \begin{align} e^{-iq\hat{p}}\left|y\right\rangle =\left|y+q\right\rangle \,\,\text{ and }\,\,e^{iq\hat{x}}\left|y\right\rangle =e^{iq y}\left|y\right\rangle ~, \end{align} where \(q\in\mathbb{R}\). For multiple modes, error set elements are tensor products of elements of the single-qudit error set, characterized by the vector of coefficients \(\xi\in\mathbb{R}^{2n}\).

The displacement error set is a unitary basis for trace-class linear operators on the \(n\)-mode Hilbert space that is Dirac-orthonormal under the Hilbert-Schmidt inner product [1]. There are two definitions of code distance associated with displacements. The definition inherited from qubit codes is the minimum weight of a displacement operator (i.e., number of nonzero entries in \(\xi\)) that implements a nontrivial logical operation in the code. The second definition is the minimum Euclidean distance (i.e., \(\ell^2\)-norm of \(\xi\)) such that the corresponding displacement implements a nontrivial logical operation in the code.

An error set relevant to Fock-state bosonic codes is the set of loss operators associated with the amplitude damping (a.k.a. photon loss or attenuation) noise channel, a common form of physical noise in bosonic systems. For a single mode, loss operators are proportional to powers of the mode's annihilation operator \(a=(\hat{x}+i\hat{p})/\sqrt{2}\), where \(\hat x\) (\(\hat p\)) is the mode's position (momentum) operator, and with the power signifying the number of particles lost during the error. For multiple modes, error set elements are tensor products of elements of the single-mode error set. A definition of distance associated with this error set is the minimum weight of a loss error that implements a nontrivial logical operation in the code.

An related error set is the set of powers of the Susskind–Glogower phase operator \(\frac{1}{\sqrt{a a^\dagger}} a\) [2] and its adjoint (a.k.a. phasors [3]) along with Fock-space rotations generated by the occupation number operator \(a^\dagger a\). These also allow one to expand trace-class operators, but do not form an orthonormal set [4]. These operators are correspong to a polar-like decomposition of a single mode, complementing the cartesian-like decomposition in terms of position and momentum displacements.


Reviews on bosonic codes can be found in Refs. [5][6][7][8][9][4].For an introduction to continuous-variable quantum systems, see the books [10][11].




  • Fermionic code — Bosonic (fermionic) codes are associated with bosonic (fermionic) degrees of freedom.
  • Group-based quantum code — Group quantum codes whose physical spaces are constructed using the group of the reals \(\mathbb{R}\) under addition are bosonic codes.


K. E. Cahill and R. J. Glauber, “Ordered Expansions in Boson Amplitude Operators”, Physical Review 177, 1857 (1969). DOI
L. Susskind and J. Glogower, “Quantum mechanical phase and time operator”, Physics Physique физика 1, 49 (1964). DOI
J. Bergou and B.-G. Englert, “Operators of the phase. Fundamentals”, Annals of Physics 209, 479 (1991). DOI
Victor V. Albert, “Bosonic coding: introduction and use cases”. 2211.05714
B. M. Terhal, J. Conrad, and C. Vuillot, “Towards scalable bosonic quantum error correction”, Quantum Science and Technology 5, 043001 (2020). DOI; 2002.11008
A. Joshi, K. Noh, and Y. Y. Gao, “Quantum information processing with bosonic qubits in circuit QED”, Quantum Science and Technology 6, 033001 (2021). DOI; 2008.13471
W. Cai et al., “Bosonic quantum error correction codes in superconducting quantum circuits”, Fundamental Research 1, 50 (2021). DOI; 2010.08699
Kyungjoo Noh, “Quantum Computation and Communication in Bosonic Systems”. 2103.09445
Steven M. Girvin, “Introduction to Quantum Error Correction and Fault Tolerance”. 2111.08894
N. J. Cerf, G. Leuchs, and E. S. Polzik, Quantum Information with Continuous Variables of Atoms and Light (PUBLISHED BY IMPERIAL COLLEGE PRESS AND DISTRIBUTED BY WORLD SCIENTIFIC PUBLISHING CO., 2007). DOI
A. Serafini, “Quantum Continuous Variables”, [] (2017). DOI
Page edit log

Zoo code information

Internal code ID: oscillators

Your contribution is welcome!

on (edit & pull request)

edit on this site

Zoo Code ID: oscillators

Cite as:
“Bosonic code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2022.
@incollection{eczoo_oscillators, title={Bosonic code}, booktitle={The Error Correction Zoo}, year={2022}, editor={Albert, Victor V. and Faist, Philippe}, url={} }
Share via:
Twitter |  | E-mail
Permanent link:

Cite as:

“Bosonic code”, The Error Correction Zoo (V. V. Albert & P. Faist, eds.), 2022.