Overview
Gottesman, Kitaev and Preskill proposed in 2001 to encode a qubit in a harmonic oscillator using states that are periodic in phase space. The ideal codewords are evenly spaced combs of position eigenstates, offset from each other by half a period, and the code is the joint eigenspace of two commuting translations, one in position and one in momentum. Any small shift of the oscillator in phase space moves the state off the grid in a way that a measurement of the two translations reveals, modulo the grid spacing, without disturbing the encoded information. Shifting back corrects it.
The GKP code is the main translation-symmetric bosonic code, in contrast to the rotation-symmetric cat and binomial codes. Its appeal has several parts. Displacements are a basis for all operators, so small displacements describe a wide range of weak noise. Photon loss, the dominant noise of microwave and optical modes, becomes Gaussian random displacements after amplification. The logical Clifford gates are Gaussian operations. And the syndrome is an analogue number, which tells an outer decoder how reliable each GKP qubit is. The cost is that ideal GKP states have infinite energy: real states are approximations, and their quality, quoted as a squeezing, sets the error rate.
Intuition
Picture the position wavefunction of as spikes at even multiples of , and of as spikes at odd multiples. A small push moves all spikes by . Measuring "position modulo " finds (if is less than half the spacing) but cannot tell whether the spikes were at even or odd multiples, so the encoded amplitudes are untouched. The same holds in momentum, where are the combs. A push of more than half the spacing is mistaken for a push the other way, and the correction completes a logical flip.
Real states cannot be perfect spikes. Each spike is a squeezed Gaussian of width about , and the comb is cut off by an envelope of width about . The spike width already looks like a small random displacement, so the finite-energy code behaves like the ideal code with some built-in noise.
Prerequisites
Quadrature operators and displacement operators of an oscillator; the pure-loss channel; the stabilizer formalism for qubits, which the GKP code mirrors with continuous translations; and the overview of bosonic codes.
Mathematical Definitions
Conventions. One oscillator with quadratures and , so and the vacuum has variance in each quadrature. The operator translates position by , , and translates momentum by . For real ,
Square-lattice qubit code. The code space is the joint eigenspace of the stabilizers
They commute because the phase is . The logical operators are
which commute with both stabilizers (phase ) and anticommute with each other (phase ); their squares are the stabilizers. The ideal codewords, for , are
so and shifts to and back. In momentum the roles are exchanged: are combs of momentum eigenstates with spacing , offset by or .
Qudits and lattices. For a -level logical system replace by in the stabilizers and by in the logical operators. More generally an -mode GKP code is given by a lattice of commuting translations in the -dimensional phase space; the logical operators are the translations by vectors of its symplectic dual lattice (Gottesman, Kitaev and Preskill). The hexagonal single-mode lattice and multimode lattices are surveyed by Grimsmo and Puri.
The ideal codewords are not normalisable and have infinite energy; physical approximations are the finite-energy GKP states. Some authors write the stabilizers with a general lattice constant , so that the square code has (Royer, Singh and Girvin).
Let be the ideal square-lattice GKP codewords and . The finite-energy GKP states are
with and a normalisation constant. For small the wavefunction in is a sum of Gaussian peaks at , each of width of order , weighted by a Gaussian envelope of width of order , and similarly in . The two states are not exactly orthogonal for .
Defining , the operators and are commuting, non-unitary finite-energy stabilizers of which are exact eigenstates; this is the starting point of the stabilization schemes of Royer, Singh and Girvin. Other common approximations (Gaussian-broadened peaks with a separate Gaussian envelope, or ideal codewords smeared by random Gaussian displacements) agree with this one as (Albert et al.; Matsuura, Yamasaki and Koashi).
The quality of a GKP state is often quoted as a squeezing in decibels. With peaks of quadrature variance measured against the vacuum variance , the figure is dB; for this is dB. Omitting the vacuum reference, , gives a number 3 dB larger for the same state, so a value in dB should always be accompanied by its definition, or converted to before comparison.
Theorems
Let lie in the ideal square-lattice GKP code and let shift position by and momentum by . Then is an eigenvector of with eigenvalue and of with eigenvalue , so the stabilizer measurement determines and modulo . Write and with integers and . Applying returns the state
up to a global phase. In particular every displacement with and is corrected exactly, and the recovery fails, by a logical , or both, exactly when the integer nearest to or to is odd. This is the error-correction property that Gottesman, Kitaev and Preskill designed the code for; small displacements form a basis for all operators on the oscillator, so the code protects against any noise whose Kraus operators are dominated by small shifts.
- Ideal (infinite-energy) square-lattice GKP code with the conventions of the code record.
- The error is a single displacement with real , and the stabilizer eigenphases are measured without error.
Proof · Proof that the GKP code corrects small displacements
Use the relation , which holds because is a multiple of the identity.
Syndrome. commutes with , and with , the relation gives . Hence . Similarly commutes with , and with , one gets , that is , so has -eigenvalue . The eigenvalues determine and modulo , i.e. and modulo , and therefore and .
Correction. Translations in the same quadrature add, and translations in different quadratures commute up to a phase, so for some . The two factors are and , and their order only changes the global phase. Because and act as the identity on the code, only the parities of and matter.
Correctable region. If then itself lies in , so ; likewise for . In general is the integer nearest to (with a half-integer tie broken upwards, since ), and the residual logical error is exactly when is odd and exactly when is odd. This is the argument of Gottesman, Kitaev and Preskill.
By the correctable-displacement theorem the recovery applies exactly when the integer nearest to is odd, which is the union of intervals in the formula. Keeping the two intervals closest to the origin gives , and gives the scaling .
| 0.5 | 0.4 | 0.3 | 0.25 | 0.2 | |
|---|---|---|---|---|---|
| dB | 3.0 | 4.9 | 7.4 | 9.0 | 11.0 |
The values were computed from the exact sum; the approximation agrees to the digits shown. The Gaussian displacement model and this style of error analysis go back to Gottesman, Kitaev and Preskill and Glancy and Knill. Real finite-energy states and noisy syndrome measurements add further errors, so the table is a lower bound on what an experiment with that would see.
- Ideal square-lattice GKP codewords and perfect stabilizer measurement.
- The shift in position is Gaussian with mean 0 and variance ; the momentum shift is independent with the same law and gives by the same formula.
- The approximation keeps only and , i.e. ; it is accurate to many digits for .
Let be the Gaussian unitary with and (a rotation of phase space by a quarter turn), let , and for two modes let . On the square GKP code:
- maps the code to itself and acts as the logical Hadamard: , .
- maps the code to itself and acts as the logical phase gate: , .
- maps the two-mode code to itself and acts as the logical controlled-NOT with mode 1 as control: .
Hence the whole logical Clifford group is generated by Gaussian unitaries, as observed by Gottesman, Kitaev and Preskill. A non-Clifford gate needs a non-Gaussian ingredient. GKP proposed, among other options, a cubic phase gate. Baragiola et al. showed that, given a supply of GKP-encoded Pauli eigenstates, Gaussian operations suffice for universality: GKP error correction applied to a Gaussian input such as the vacuum yields distillable magic states, so the only non-Gaussian resource is the GKP Pauli eigenstates themselves.
- Ideal square-lattice GKP code; equalities between logical operators hold on the code space, where and act as the identity.
Proof · Proof that GKP Clifford gates are Gaussian
A unitary that maps every stabilizer to a product of stabilizers (up to a phase that is 1 on the code) maps the code space to itself, and its logical action is fixed by where it sends and . For operators whose commutator is a multiple of the identity, .
Hadamard. and , so the stabilizer group is preserved. and , which equals on the code.
Phase. Since , and . So and . With , , , so . With , , , so . This is the conjugation table of the phase gate .
Controlled-NOT. translates the position of mode 2 by the position of mode 1: on position eigenstates, . For codewords, and give , and has the parity of . Summing over and , .
The Hadamard, phase and controlled-NOT gates generate the Clifford group, which proves the claim. The constructions are those of Gottesman, Kitaev and Preskill.
Relation to photon loss
The identity is used by Albert et al. to bound the performance of GKP codes against pure loss: amplify first, then run the standard GKP recovery. It can be checked on second moments: loss maps a quadrature variance to , the amplifier maps to , and with the composition gives ; the means are multiplied by and then by , so they are unchanged. A Gaussian channel that leaves means fixed and adds isotropic noise is the Gaussian displacement channel. Separately, Noh, Albert and Jiang show that, without an energy constraint, GKP codes achieve the quantum capacity of Gaussian loss channels up to at most a constant gap.
- is the single-mode pure-loss channel with loss probability .
- is the quantum-limited phase-insensitive amplifier of gain , with an ancilla mode in vacuum.
- ; with the shifts of and are independent with variance each.
Combining the last two records: an ideal GKP qubit exposed to loss probability and corrected by amplification followed by the standard recovery fails in each quadrature with the probability of the Gaussian-displacement formula at . This is a simple recovery, not the optimal one; with optimal recoveries Albert et al. found GKP codes ahead of cat and binomial codes against pure loss over most of the range of loss rates they studied, and Noh, Albert and Jiang showed that, without an energy constraint, GKP codes come within a constant gap of the quantum capacity of Gaussian loss channels. Harrington and Preskill had earlier used multimode GKP codes to obtain achievable rates for the Gaussian displacement channel itself.
Worked Examples
Reading a syndrome
Take , so the correctable half-width is . A position shift is measured as , inside , and undone exactly. A shift is measured as ; the recovery shifts by , and the total translation is , which is . The code space is restored but the logical state is flipped. A shift gives , the residual translation is , which is the stabilizer , and the state is recovered: only the parity of the nearest multiple matters.
How much loss an ideal GKP qubit tolerates
With amplification, loss gives and . Then , and the same for , so the probability of some logical error is about . For , and , a total of about . An unencoded qubit stored in the Fock states would decay with probability itself, 5% or 10%. These numbers assume ideal codewords and perfect syndrome measurement; with finite-energy states the intrinsic peak width adds to .
Translating squeezing into error rates
A GKP state with peak variance () is reported as dB of squeezing relative to vacuum. Treating the peak width as a Gaussian displacement gives . The same state quoted without the vacuum reference would be called 10.5 dB, which is why thresholds in dB from different papers can only be compared after converting to .
Applications
Concatenation with qubit codes. A single GKP qubit has an error floor set by , so it is used as the physical qubit of a stabilizer code. Two features help the outer code. The GKP syndrome is analogue: a measured shift close to marks an unreliable qubit, and feeding this likelihood into the outer decoder raises its threshold. And GKP Clifford gates are Gaussian, so the syndrome-extraction circuits of the outer code are built from beam splitters, squeezers and homodyne detection plus GKP ancillas (Terhal, Conrad and Vuillot).
For the toric code with GKP qubits, Vuillot et al. report that using the GKP information raises the code-capacity threshold from 10% to 14%, and find a threshold at shift standard deviation when data, toric-code measurements and GKP ancillas are all noisy. For the surface-GKP code with full circuit-level noise from photon loss, Noh and Chamberland find a squeezing threshold of 11.2 dB when only the GKP states are noisy, rising to 18.6 dB when circuit elements are comparably noisy; each paper uses its own squeezing convention.
Universality. With GKP Pauli eigenstates available, Gaussian operations and GKP error correction suffice for universal computation (Baragiola et al.), which makes the code a natural fit for optical platforms where Gaussian operations are cheap.
Limitations and Common Pitfalls
- Ideal codewords do not exist. Every physical GKP state has finite energy, and the error analysis must include the peak width. Results for ideal states are bounds.
- Squeezing conventions. Decibel figures depend on whether variances are measured against the vacuum; convert to or before comparing.
- Error correction injects energy. Repeatedly measuring the ideal stabilizers and shifting back tends to increase the spread of the state; stabilization schemes built on the finite-energy stabilizers address this (Royer, Singh and Girvin).
- Measurement is the hard part. The syndrome is obtained by coupling to an ancilla (a qubit or another GKP mode), whose errors propagate into the oscillator as shifts.
- Not every noise is a small displacement. Oscillator dephasing rotates phase space, and a rotation by a small angle moves a point at distance from the origin by about . Grid points far out are therefore shifted by more than the correctable half-width even for small , and only the finite envelope keeps their weight small.
State of the Art
As of 2026-11, GKP states have been prepared and corrected on three kinds of hardware. In the motion of a trapped ion, Flühmann et al. (2019) encoded a GKP qubit and reported logical state preparation and readout with average squared fidelity , and de Neeve et al. (2022) corrected it by dissipative pumping, extending the logical lifetime by a factor of three. In a superconducting microwave cavity, Campagne-Ibarcq et al. (2020) performed repeated error correction of grid states, Sivak et al. (2023) went beyond break-even with a coherence gain of , Lachance-Quirion et al. (2024) demonstrated autonomous correction, and Brock et al. (2025) corrected GKP qutrits and ququarts beyond break-even with gains of and . In propagating light at telecommunication wavelength, Konno et al. (2024) generated GKP states and measured them by homodyne detection without loss correction. These statements summarise the cited papers and are not a survey.
Related Research
The review of Grimsmo and Puri covers lattices, gates, measurement circuits and decoders in detail. The equivalence of the common finite-energy approximations is shown by Matsuura, Yamasaki and Koashi, and an early error analysis with realistic states is that of Glancy and Knill.