Bosonic code

On this page 6

A bosonic code is a quantum error-correcting code that encodes a logical qubit in the infinite-dimensional Hilbert space of a harmonic oscillator, such as a microwave cavity mode or a motional mode of a trapped ion, instead of in many separate two-level qubits. In quantum error correction, bosonic codes exploit the redundancy of many photon-number levels within one physical mode, which can reduce the hardware overhead needed to protect quantum information.

The main families are cat codes, binomial codes and Gottesman–Kitaev–Preskill (GKP) codes. Experiments in circuit quantum electrodynamics have shown bosonic logical qubits that reach or exceed the break-even point, where the encoded qubit lives longer than the best unencoded component in the same system.

How a bosonic code protects information in an oscillator

An oscillator mode has energy levels labeled by the photon number n = 0, 1, 2 and higher. A bosonic code chooses two carefully structured superpositions of these levels as the logical states |0_L⟩ and |1_L⟩. The structure is selected so that the dominant physical errors map the code states to distinguishable, correctable error states.

In superconducting cavities, the leading error is single-photon loss, described by the annihilation operator a. Other relevant errors are photon gain, dephasing of the oscillator frequency and small displacements in phase space. Because these errors act on a single mode with known structure, a code can be tailored to them far more precisely than a generic multi-qubit code.

The table below lists the principal error channels and how they appear in an oscillator.

Error channelOperatorPhysical originTypical importance
Photon lossaEnergy leakage to the environmentDominant in cavities
Photon gaina†Thermal excitationSmall at millikelvin temperatures
Dephasinga†aFrequency fluctuationsModerate
DisplacementShift in position or momentumImperfect control and noiseCentral for GKP codes
Self-Kerr distortionNonlinear phase termCoupling to the transmon ancillaGrows with photon number
Error channels in a bosonic mode

Main families of bosonic codes

Each family uses a different symmetry of the oscillator. Rotation-symmetric codes, such as cat and binomial codes, use photon-number parity or more general number modulo structure to detect loss. Translation-symmetric codes, mainly the GKP code, use a grid in phase space to detect small shifts of position and momentum.

Code familyLogical states built fromPrimary error detectedKey strength
Four-component cat codeSuperpositions of four coherent statesSingle-photon loss via paritySimple preparation and parity checks
Two-component cat codeTwo coherent states of opposite phasePhase flips suppressed by sizeStrongly biased noise
Binomial codeFock states with binomial weightsLoss, gain and dephasing up to an orderExact protection with few photons
GKP codeGrids of squeezed statesSmall shifts in phase spaceCorrects all small displacements
Rotation-symmetric codeStates with discrete rotation symmetryNumber-shift errorsGeneral framework for cat and binomial codes
Comparison of bosonic code families

Two-component cat qubits stabilized by engineered two-photon dissipation deserve special mention. Their bit-flip rate falls exponentially with the mean photon number, while the phase-flip rate grows only linearly, which produces a highly biased noise channel that an outer repetition code can correct with few qubits.

Syndrome extraction and recovery operations

Bosonic codes need an ancilla to measure error syndromes, typically a transmon qubit dispersively coupled to the cavity. For cat and binomial codes, the ancilla measures photon-number parity without revealing the logical information, and a change of parity flags a lost photon. For GKP codes, the syndrome is the displacement modulo the grid spacing, extracted with controlled displacement operations.

Recovery is either a feedback operation that undoes the detected error or an autonomous stabilization scheme in which engineered dissipation continuously pumps the state back into the code space. Autonomous schemes avoid measurement latency, but they require precisely tuned nonlinear couplings.

A subtle design requirement is fault-tolerant syndrome extraction. If the transmon ancilla decays during a parity measurement, its error can feed back into the cavity as an uncorrectable phase or number shift. Techniques such as error-transparent gates, ancillas with higher energy levels and repeated measurements with majority voting reduce this risk, but they add calibration effort and lengthen each correction cycle.

MethodHow it worksMain limitation
Measurement and feedbackParity or shift is measured, then correctedAncilla errors and latency
Autonomous stabilizationEngineered dissipation restores the codeComplex hardware tuning
Optimal control recoveryNumerically designed pulses reverse errorsCalibration effort
Concatenation with outer codeBosonic qubits feed a surface or repetition codeExtra qubits and connectivity
Ways to correct errors in bosonic codes

Strengths, limitations and role in fault tolerance

The strongest argument for bosonic codes is hardware efficiency: one high-quality cavity can replace several physical qubits at the first level of protection. Superconducting cavities also offer coherence times of milliseconds or longer, considerably beyond typical transmons. However, a single oscillator cannot reach arbitrarily low logical error rates, so practical architectures concatenate bosonic qubits with an outer code such as the surface code or a repetition code.

  • Ancilla-induced errors propagate into the cavity unless syndrome extraction is made fault-tolerant.
  • Finite energy limits GKP grids, because ideal GKP states require infinite squeezing.
  • Higher photon numbers improve protection but increase loss rates and nonlinear distortion.
  • Logical gates between bosonic qubits are harder to implement than gates between transmons.

Stripped to the essentials

Most quantum computers protect data by spreading it across many small qubits. A bosonic code takes another route. It stores the data in one container with many levels, such as a tiny box of microwave light.

The data is written in a pattern that makes mistakes easy to spot. When one particle of light leaks out, the pattern changes in a recognizable way. The system can then detect and repair the damage without reading the data itself. The benefit is simple: fewer parts are needed to keep information safe.

Where it is applied

A laboratory working with superconducting circuits builds a logical qubit inside a three-dimensional aluminum cavity coupled to a transmon ancilla. The cavity alone has a photon lifetime of about one millisecond, while the transmon decoheres after about 100 microseconds.

The team encodes a GKP state and runs syndrome extraction cycles every few microseconds, applying corrective displacements after each round. Over thousands of repetitions, the corrected logical qubit survives longer than the cavity’s best unencoded state, which demonstrates break-even. The group then plans to link several such cavities into an outer error-correcting code, using each cavity as a lower-noise building block.