Skip to main content
KetQat

Appearance

Topic · advanced

GKP Codes

The Gottesman–Kitaev–Preskill code stores a qubit in an oscillator as a grid in phase space. Small displacements are measured modulo the grid spacing and undone; photon loss becomes such displacements after amplification; Clifford gates are Gaussian; and the analogue syndrome helps an outer qubit code.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

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 ∣0ˉ⟩\ket{\bar 0} as spikes at even multiples of π\sqrt\pi, and of ∣1ˉ⟩\ket{\bar 1} as spikes at odd multiples. A small push uu moves all spikes by uu. Measuring "position modulo π\sqrt\pi" finds uu (if ∣u∣\abs u 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 ∣±ˉ⟩\ket{\bar\pm} 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 Δ\Delta, and the comb is cut off by an envelope of width about 1/Δ1/\Delta. 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

Quantum codeGottesman–Kitaev–Preskill (GKP) codeEstablished definition

Conventions. One oscillator with quadratures q^=(a^+a^†)/2\hat q = (\hat a + \hat a\dagg)/\sqrt2 and p^=−i(a^−a^†)/2\hat p = -i(\hat a - \hat a\dagg)/\sqrt2, so [q^,p^]=i[\hat q, \hat p] = i and the vacuum has variance 1/21/2 in each quadrature. The operator e−iup^e^{-iu\hat p} translates position by uu, e−iup^∣q⟩=∣q+u⟩e^{-iu\hat p}\ket{q} = \ket{q + u}, and eivq^e^{iv\hat q} translates momentum by vv. For real a,ba, b,

eiaq^ eibp^=e−iab eibp^ eiaq^.e^{ia\hat q}\, e^{ib\hat p} = e^{-iab}\, e^{ib\hat p}\, e^{ia\hat q} .

Square-lattice qubit code. The code space is the joint +1+1 eigenspace of the stabilizers

Sq=ei2π q^,Sp=e−i2π p^.S_q = e^{i 2\sqrt\pi\, \hat q}, \qquad S_p = e^{-i 2\sqrt\pi\, \hat p} .

They commute because the phase is ei4π=1e^{i 4\pi} = 1. The logical operators are

Zˉ=eiπ q^,Xˉ=e−iπ p^,\bar Z = e^{i\sqrt\pi\, \hat q}, \qquad \bar X = e^{-i\sqrt\pi\, \hat p} ,

which commute with both stabilizers (phase e±i2π=1e^{\pm i2\pi} = 1) and anticommute with each other (phase eiπ=−1e^{i\pi} = -1); their squares are the stabilizers. The ideal codewords, for μ∈{0,1}\mu \in \{0, 1\}, are

∣μˉ⟩∝∑s∈Z∣q=(2s+μ)π⟩,\ket{\bar\mu} \propto \sum_{s \in \Z} \ket{q = (2s + \mu)\sqrt\pi} ,

so Zˉ∣μˉ⟩=(−1)μ∣μˉ⟩\bar Z \ket{\bar\mu} = (-1)^\mu \ket{\bar\mu} and Xˉ\bar X shifts ∣0ˉ⟩\ket{\bar 0} to ∣1ˉ⟩\ket{\bar 1} and back. In momentum the roles are exchanged: ∣±ˉ⟩\ket{\bar\pm} are combs of momentum eigenstates with spacing 2π2\sqrt\pi, offset by 00 or π\sqrt\pi.

Qudits and lattices. For a dd-level logical system replace 2π2\sqrt\pi by 2πd\sqrt{2\pi d} in the stabilizers and π\sqrt\pi by 2π/d\sqrt{2\pi/d} in the logical operators. More generally an mm-mode GKP code is given by a lattice of commuting translations in the 2m2m-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 ℓ\ell, so that the square code has ℓ=2π\ell = 2\sqrt\pi (Royer, Singh and Girvin).

DefinitionFinite-energy GKP statesPeer-reviewed result

Let ∣μˉ⟩\ket{\bar\mu} be the ideal square-lattice GKP codewords and Δ>0\Delta > 0. The finite-energy GKP states are

∣μˉΔ⟩=NΔ e−Δ2n^ ∣μˉ⟩,μ∈{0,1},\ket{\bar\mu_\Delta} = N_\Delta\, e^{-\Delta^2 \hat n}\, \ket{\bar\mu}, \qquad \mu \in \{0, 1\},

with n^=a^†a^\hat n = \hat a\dagg \hat a and NΔN_\Delta a normalisation constant. For small Δ\Delta the wavefunction in qq is a sum of Gaussian peaks at (2s+μ)π(2s + \mu)\sqrt\pi, each of width of order Δ\Delta, weighted by a Gaussian envelope of width of order 1/Δ1/\Delta, and similarly in pp. The two states are not exactly orthogonal for Δ>0\Delta > 0.

Defining EΔ=e−Δ2n^E_\Delta = e^{-\Delta^2 \hat n}, the operators EΔSqEΔ−1E_\Delta S_q E_\Delta^{-1} and EΔSpEΔ−1E_\Delta S_p E_\Delta^{-1} are commuting, non-unitary finite-energy stabilizers of which ∣μˉΔ⟩\ket{\bar\mu_\Delta} are exact +1+1 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 Δ→0\Delta \to 0 (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 σ2\sigma^2 measured against the vacuum variance 1/21/2, the figure is −10log⁡10(2σ2)-10 \log_{10}(2\sigma^2) dB; for σ2=Δ2/2\sigma^2 = \Delta^2/2 this is −10log⁡10Δ2-10\log_{10}\Delta^2 dB. Omitting the vacuum reference, −10log⁡10σ2-10\log_{10}\sigma^2, 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 σ\sigma before comparison.

Theorems

TheoremDisplacements corrected by the ideal GKP codeEstablished result

Let ∣ψ⟩\ket{\psi} lie in the ideal square-lattice GKP code and let D(u,v)D(u,v) shift position by uu and momentum by vv. Then D(u,v)∣ψ⟩D(u,v)\ket{\psi} is an eigenvector of SqS_q with eigenvalue ei2π ue^{i2\sqrt\pi\, u} and of SpS_p with eigenvalue e−i2π ve^{-i2\sqrt\pi\, v}, so the stabilizer measurement determines uu and vv modulo π\sqrt\pi. Write u=mπ+u~u = m\sqrt\pi + \tilde u and v=m′π+v~v = m'\sqrt\pi + \tilde v with integers m,m′m, m' and u~,v~∈[−π/2,π/2)\tilde u, \tilde v \in [-\sqrt\pi/2, \sqrt\pi/2). Applying D(u~,v~)−1D(\tilde u, \tilde v)^{-1} returns the state

Xˉ m Zˉ m′∣ψ⟩\bar X^{\,m}\, \bar Z^{\,m'} \ket{\psi}

up to a global phase. In particular every displacement with ∣u∣<π/2\abs{u} < \sqrt\pi/2 and ∣v∣<π/2\abs{v} < \sqrt\pi/2 is corrected exactly, and the recovery fails, by a logical Xˉ\bar X, Zˉ\bar Z or both, exactly when the integer nearest to u/πu/\sqrt\pi or to v/πv/\sqrt\pi 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.

Holds when
  • Ideal (infinite-energy) square-lattice GKP code with the conventions of the code record.
  • The error is a single displacement D(u,v)=eivq^e−iup^D(u, v) = e^{iv\hat q} e^{-iu\hat p} with real u,vu, v, and the stabilizer eigenphases are measured without error.
Proof · Proof that the GKP code corrects small displacements

Use the relation eiaq^eibp^=e−iab eibp^eiaq^e^{ia\hat q} e^{ib\hat p} = e^{-iab}\, e^{ib\hat p} e^{ia\hat q}, which holds because [iaq^,ibp^]=−iab[ia\hat q, ib\hat p] = -iab is a multiple of the identity.

Syndrome. Sq=ei2πq^S_q = e^{i2\sqrt\pi \hat q} commutes with eivq^e^{iv\hat q}, and with a=2πa = 2\sqrt\pi, b=−ub = -u the relation gives Sqe−iup^=ei2πu e−iup^SqS_q e^{-iu\hat p} = e^{i2\sqrt\pi u}\, e^{-iu\hat p} S_q. Hence SqD(u,v)∣ψ⟩=ei2πuD(u,v)Sq∣ψ⟩=ei2πuD(u,v)∣ψ⟩S_q D(u,v) \ket\psi = e^{i2\sqrt\pi u} D(u,v) S_q \ket\psi = e^{i2\sqrt\pi u} D(u,v)\ket\psi. Similarly Sp=e−i2πp^S_p = e^{-i2\sqrt\pi \hat p} commutes with e−iup^e^{-iu\hat p}, and with a=va = v, b=−2πb = -2\sqrt\pi one gets eivq^Sp=ei2πvSpeivq^e^{iv\hat q} S_p = e^{i2\sqrt\pi v} S_p e^{iv\hat q}, that is Speivq^=e−i2πveivq^SpS_p e^{iv\hat q} = e^{-i2\sqrt\pi v} e^{iv\hat q} S_p, so D(u,v)∣ψ⟩D(u,v)\ket\psi has SpS_p-eigenvalue e−i2πve^{-i2\sqrt\pi v}. The eigenvalues determine 2πu2\sqrt\pi u and 2πv2\sqrt\pi v modulo 2π2\pi, i.e. uu and vv modulo π\sqrt\pi, and therefore u~\tilde u and v~\tilde v.

Correction. Translations in the same quadrature add, and translations in different quadratures commute up to a phase, so D(u~,v~)−1D(u,v)=c eim′πq^ e−imπp^D(\tilde u, \tilde v)^{-1} D(u, v) = c\, e^{im'\sqrt\pi \hat q}\, e^{-im\sqrt\pi \hat p} for some ∣c∣=1\abs{c} = 1. The two factors are Zˉm′\bar Z^{m'} and Xˉm\bar X^{m}, and their order only changes the global phase. Because Xˉ2=Sp\bar X^2 = S_p and Zˉ2=Sq\bar Z^2 = S_q act as the identity on the code, only the parities of mm and m′m' matter.

Correctable region. If ∣u∣<π/2\abs{u} < \sqrt\pi/2 then uu itself lies in [−π/2,π/2)[-\sqrt\pi/2, \sqrt\pi/2), so m=0m = 0; likewise for vv. In general mm is the integer nearest to u/πu/\sqrt\pi (with a half-integer tie broken upwards, since u~∈[−π/2,π/2)\tilde u \in [-\sqrt\pi/2, \sqrt\pi/2)), and the residual logical error is Xˉ\bar X exactly when mm is odd and Zˉ\bar Z exactly when m′m' is odd. This is the argument of Gottesman, Kitaev and Preskill.

EquationGKP logical error rate under Gaussian random displacementsEstablished result
pXˉ=∑k∈ZPr⁡[(2k+12)π<u<(2k+32)π]  ≈  erfc⁡ ⁣(π22 σ)p_{\bar X} = \sum_{k \in \Z} \Pr\Big[ \big(2k + \tfrac12\big)\sqrt{\pi} < u < \big(2k + \tfrac32\big)\sqrt{\pi} \Big] \;\approx\; \operatorname{erfc}\!\Big( \frac{\sqrt{\pi}}{2\sqrt{2}\,\sigma} \Big)

By the correctable-displacement theorem the recovery applies Xˉ\bar X exactly when the integer nearest to u/πu/\sqrt\pi is odd, which is the union of intervals in the formula. Keeping the two intervals closest to the origin gives Pr⁡[∣u∣>π/2]=erfc⁡(π/(22 σ))\Pr[\abs u > \sqrt\pi/2] = \operatorname{erfc}(\sqrt\pi / (2\sqrt2\,\sigma)), and erfc⁡(x)≤e−x2\operatorname{erfc}(x) \le e^{-x^2} gives the scaling exp⁡(−π/(8σ2))\exp(-\pi/(8\sigma^2)).

σ\sigma 0.5 0.4 0.3 0.25 0.2
pXˉp_{\bar X} 7.6×10−27.6 \times 10^{-2} 2.7×10−22.7 \times 10^{-2} 3.1×10−33.1 \times 10^{-3} 3.9×10−43.9 \times 10^{-4} 9.4×10−69.4 \times 10^{-6}
−10log⁡10(2σ2)-10\log_{10}(2\sigma^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 σ\sigma would see.

Holds when
  • Ideal square-lattice GKP codewords and perfect stabilizer measurement.
  • The shift uu in position is Gaussian with mean 0 and variance σ2\sigma^2; the momentum shift vv is independent with the same law and gives pZˉp_{\bar Z} by the same formula.
  • The approximation keeps only k=0k = 0 and k=−1k = -1, i.e. Pr⁡[∣u∣>π/2]\Pr[\abs{u} > \sqrt\pi/2]; it is accurate to many digits for σ≲0.5\sigma \lesssim 0.5.
TheoremGKP Clifford gates are Gaussian operationsEstablished result

Let FF be the Gaussian unitary with Fq^F†=−p^F\hat q F\dagg = -\hat p and Fp^F†=q^F\hat p F\dagg = \hat q (a rotation of phase space by a quarter turn), let P=eiq^2/2P = e^{i\hat q^2/2}, and for two modes let C=e−iq^1p^2C = e^{-i\hat q_1 \hat p_2}. On the square GKP code:

  1. FF maps the code to itself and acts as the logical Hadamard: Zˉ↦Xˉ\bar Z \mapsto \bar X, Xˉ↦Zˉ\bar X \mapsto \bar Z.
  2. PP maps the code to itself and acts as the logical phase gate: Zˉ↦Zˉ\bar Z \mapsto \bar Z, Xˉ↦iXˉZˉ=Yˉ\bar X \mapsto i\bar X\bar Z = \bar Y.
  3. CC maps the two-mode code to itself and acts as the logical controlled-NOT with mode 1 as control: C∣μˉ⟩∣νˉ⟩=∣μˉ⟩∣μ⊕ν‾⟩C \ket{\bar\mu}\ket{\bar\nu} = \ket{\bar\mu}\ket{\overline{\mu \oplus \nu}}.

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.

Holds when
  • Ideal square-lattice GKP code; equalities between logical operators hold on the code space, where SqS_q and SpS_p act as the identity.
Proof · Proof that GKP Clifford gates are Gaussian

A unitary UU 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 Xˉ\bar X and Zˉ\bar Z. For operators A,BA, B whose commutator is a multiple of the identity, eA+B=eAeBe−[A,B]/2e^{A+B} = e^{A} e^{B} e^{-[A,B]/2}.

Hadamard. FSqF†=e−i2πp^=SpF S_q F\dagg = e^{-i2\sqrt\pi \hat p} = S_p and FSpF†=e−i2πq^=Sq−1F S_p F\dagg = e^{-i2\sqrt\pi \hat q} = S_q^{-1}, so the stabilizer group is preserved. FZˉF†=e−iπp^=XˉF \bar Z F\dagg = e^{-i\sqrt\pi \hat p} = \bar X and FXˉF†=e−iπq^=Zˉ−1=ZˉSq−1F \bar X F\dagg = e^{-i\sqrt\pi \hat q} = \bar Z^{-1} = \bar Z S_q^{-1}, which equals Zˉ\bar Z on the code.

Phase. Since [q^2,p^]=2iq^[\hat q^2, \hat p] = 2i\hat q, Pp^P†=p^−q^P\hat p P\dagg = \hat p - \hat q and Pq^P†=q^P\hat q P\dagg = \hat q. So PSqP†=SqP S_q P\dagg = S_q and PZˉP†=ZˉP \bar Z P\dagg = \bar Z. With A=−i2πp^A = -i2\sqrt\pi\hat p, B=i2πq^B = i2\sqrt\pi\hat q, [A,B]=4π[p^,q^]=−4πi[A, B] = 4\pi[\hat p, \hat q] = -4\pi i, so PSpP†=eA+B=SpSq e2πi=SpSqP S_p P\dagg = e^{A+B} = S_p S_q\, e^{2\pi i} = S_p S_q. With A=−iπp^A = -i\sqrt\pi \hat p, B=iπq^B = i\sqrt\pi\hat q, [A,B]=−πi[A,B] = -\pi i, so PXˉP†=eA+B=XˉZˉeiπ/2=iXˉZˉP\bar X P\dagg = e^{A+B} = \bar X \bar Z e^{i\pi/2} = i\bar X\bar Z. This is the conjugation table of the phase gate diag⁡(1,i)\operatorname{diag}(1, i).

Controlled-NOT. e−iq^1p^2e^{-i\hat q_1 \hat p_2} translates the position of mode 2 by the position of mode 1: on position eigenstates, C∣q1⟩∣q2⟩=∣q1⟩∣q2+q1⟩C\ket{q_1}\ket{q_2} = \ket{q_1}\ket{q_2 + q_1}. For codewords, q1=(2s+μ)πq_1 = (2s+\mu)\sqrt\pi and q2=(2t+ν)πq_2 = (2t+\nu)\sqrt\pi give q1+q2=(2(s+t)+μ+ν)πq_1 + q_2 = (2(s+t) + \mu + \nu)\sqrt\pi, and μ+ν\mu + \nu has the parity of μ⊕ν\mu \oplus \nu. Summing over ss and tt, C∣μˉ⟩∣νˉ⟩=∣μˉ⟩∣μ⊕ν‾⟩C\ket{\bar\mu}\ket{\bar\nu} = \ket{\bar\mu}\ket{\overline{\mu\oplus\nu}}.

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

EquationPure loss followed by amplification is a Gaussian displacement channelPeer-reviewed result
A1/(1−γ)∘Nγ(ρ)=1πσ2∫Cd2α  e−∣α∣2/σ2 D(α) ρ D(α)†,σ2=γ1−γ\mathcal{A}_{1/(1-\gamma)} \circ \mathcal{N}_\gamma(\rho) = \frac{1}{\pi \sigma^2} \int_{\C} d^2\alpha \; e^{-\abs{\alpha}^2/\sigma^2}\, D(\alpha)\, \rho\, D(\alpha)\dagg , \qquad \sigma^2 = \frac{\gamma}{1-\gamma}

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 VV to (1−γ)V+γ/2(1-\gamma)V + \gamma/2, the amplifier maps WW to GW+(G−1)/2GW + (G-1)/2, and with G=1/(1−γ)G = 1/(1-\gamma) the composition gives V+γ/(1−γ)V + \gamma/(1-\gamma); the means are multiplied by 1−γ\sqrt{1-\gamma} and then by G\sqrt G, 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.

Holds when
  • Nγ\mathcal{N}_\gamma is the single-mode pure-loss channel with loss probability γ∈[0,1)\gamma \in [0, 1).
  • AG\mathcal{A}_G is the quantum-limited phase-insensitive amplifier of gain G=1/(1−γ)G = 1/(1-\gamma), a^↦G a^+G−1 b^†\hat a \mapsto \sqrt{G}\,\hat a + \sqrt{G-1}\, \hat b\dagg with an ancilla mode b^\hat b in vacuum.
  • D(α)=eαa^†−α∗a^D(\alpha) = e^{\alpha \hat a\dagg - \alpha^* \hat a}; with q^=(a^+a^†)/2\hat q = (\hat a + \hat a\dagg)/\sqrt2 the shifts of q^\hat q and p^\hat p are independent with variance σ2\sigma^2 each.

Combining the last two records: an ideal GKP qubit exposed to loss probability γ\gamma and corrected by amplification followed by the standard recovery fails in each quadrature with the probability of the Gaussian-displacement formula at σ2=γ/(1−γ)\sigma^2 = \gamma/(1-\gamma). 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 π≈1.7725\sqrt\pi \approx 1.7725, so the correctable half-width is 0.88620.8862. A position shift u=0.60u = 0.60 is measured as u mod π=0.60u \bmod \sqrt\pi = 0.60, inside [−0.886,0.886)[-0.886, 0.886), and undone exactly. A shift u=1.20u = 1.20 is measured as 1.20−1.7725=−0.57251.20 - 1.7725 = -0.5725; the recovery shifts by +0.5725+0.5725, and the total translation is 1.7725=π1.7725 = \sqrt\pi, which is Xˉ\bar X. The code space is restored but the logical state is flipped. A shift u=3.60u = 3.60 gives 3.60−2π=0.0553.60 - 2\sqrt\pi = 0.055, the residual translation is 2π2\sqrt\pi, which is the stabilizer SpS_p, and the state is recovered: only the parity of the nearest multiple matters.

How much loss an ideal GKP qubit tolerates

With amplification, loss γ=0.05\gamma = 0.05 gives σ2=0.05/0.95=0.0526\sigma^2 = 0.05/0.95 = 0.0526 and σ=0.229\sigma = 0.229. Then pXˉ=erfc⁡(π/(22⋅0.229))=1.1×10−4p_{\bar X} = \operatorname{erfc}(\sqrt\pi/(2\sqrt2 \cdot 0.229)) = 1.1 \times 10^{-4}, and the same for Zˉ\bar Z, so the probability of some logical error is about 2.2×10−42.2 \times 10^{-4}. For γ=0.10\gamma = 0.10, σ=1/3\sigma = 1/3 and pXˉ=7.8×10−3p_{\bar X} = 7.8 \times 10^{-3}, a total of about 1.6%1.6\%. An unencoded qubit stored in the Fock states ∣0⟩,∣1⟩\ket 0, \ket 1 would decay with probability γ\gamma itself, 5% or 10%. These numbers assume ideal codewords and perfect syndrome measurement; with finite-energy states the intrinsic peak width adds to σ\sigma.

Translating squeezing into error rates

A GKP state with peak variance σ2=0.09\sigma^2 = 0.09 (σ=0.3\sigma = 0.3) is reported as −10log⁡10(0.18)=7.4-10\log_{10}(0.18) = 7.4 dB of squeezing relative to vacuum. Treating the peak width as a Gaussian displacement gives pXˉ≈3.1×10−3p_{\bar X} \approx 3.1 \times 10^{-3}. 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 σ\sigma.

Applications

Concatenation with qubit codes. A single GKP qubit has an error floor set by σ\sigma, 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 ±π/2\pm\sqrt\pi/2 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 σ0≈0.243\sigma_0 \approx 0.243 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 σ\sigma or Δ\Delta 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 θ\theta moves a point at distance rr from the origin by about rθr\theta. Grid points far out are therefore shifted by more than the correctable half-width even for small θ\theta, 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 87.3±0.7%87.3 \pm 0.7\%, 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 2.27±0.072.27 \pm 0.07, Lachance-Quirion et al. (2024) demonstrated autonomous correction, and Brock et al. (2025) corrected GKP qutrits and ququarts beyond break-even with gains of 1.82±0.031.82 \pm 0.03 and 1.87±0.031.87 \pm 0.03. 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.

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.

Mentions
Generalized by
Mentioned in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Daniel Gottesman, Alexei Kitaev, John Preskill (2001). Encoding a qubit in an oscillator. Physical Review A 64, 012310. doi:10.1103/PhysRevA.64.012310arXiv:quant-ph/0008040
  2. S. Glancy, E. Knill (2006). Error analysis for encoding a qubit in an oscillator. Physical Review A 73, 012325. doi:10.1103/PhysRevA.73.012325arXiv:quant-ph/0510107
  3. Jim Harrington, John Preskill (2001). Achievable rates for the Gaussian quantum channel. Physical Review A 64, 062301. doi:10.1103/PhysRevA.64.062301arXiv:quant-ph/0105058
  4. Victor V. Albert, Kyungjoo Noh, Kasper Duivenvoorden, … et al. (2018). Performance and structure of single-mode bosonic codes. Physical Review A 97, 032346. doi:10.1103/PhysRevA.97.032346arXiv:1708.05010
  5. Kyungjoo Noh, Victor V. Albert, Liang Jiang (2019). Quantum Capacity Bounds of Gaussian Thermal Loss Channels and Achievable Rates With Gottesman-Kitaev-Preskill Codes. IEEE Transactions on Information Theory 65, 2563-2582. doi:10.1109/TIT.2018.2873764arXiv:1801.07271
  6. Baptiste Royer, Shraddha Singh, S. M. Girvin (2020). Stabilization of Finite-Energy Gottesman-Kitaev-Preskill States. Physical Review Letters 125, 260509. doi:10.1103/PhysRevLett.125.260509arXiv:2009.07941
  7. Takaya Matsuura, Hayata Yamasaki, Masato Koashi (2020). Equivalence of approximate Gottesman-Kitaev-Preskill codes. Physical Review A 102, 032408. doi:10.1103/PhysRevA.102.032408arXiv:1910.08301
  8. Ben Q. Baragiola, Giacomo Pantaleoni, Rafael N. Alexander, … Nicolas C. Menicucci (2019). All-Gaussian Universality and Fault Tolerance with the Gottesman-Kitaev-Preskill Code. Physical Review Letters 123, 200502. doi:10.1103/PhysRevLett.123.200502arXiv:1903.00012
  9. Arne L. Grimsmo, Shruti Puri (2021). Quantum Error Correction with the Gottesman-Kitaev-Preskill Code. PRX Quantum 2, 020101. doi:10.1103/PRXQuantum.2.020101arXiv:2106.12989
  10. Barbara M. Terhal, Jonathan Conrad, Christophe Vuillot (2020). Towards scalable bosonic quantum error correction. Quantum Science and Technology 5, 043001. doi:10.1088/2058-9565/ab98a5arXiv:2002.11008
  11. Christophe Vuillot, Hamed Asasi, Yang Wang, … Barbara M. Terhal (2019). Quantum error correction with the toric Gottesman-Kitaev-Preskill code. Physical Review A 99, 032344. doi:10.1103/PhysRevA.99.032344arXiv:1810.00047
  12. Kyungjoo Noh, Christopher Chamberland (2020). Fault-tolerant bosonic quantum error correction with the surface–Gottesman-Kitaev-Preskill code. Physical Review A 101, 012316. doi:10.1103/PhysRevA.101.012316arXiv:1908.03579
  13. Christa Flühmann, Thanh Long Nguyen, Matteo Marinelli, … Jonathan Home (2019). Encoding a qubit in a trapped-ion mechanical oscillator. Nature 566, 513-517. doi:10.1038/s41586-019-0960-6arXiv:1807.01033
  14. P. Campagne-Ibarcq, A. Eickbusch, S. Touzard, … et al. (2020). Quantum error correction of a qubit encoded in grid states of an oscillator. Nature 584, 368-372. doi:10.1038/s41586-020-2603-3arXiv:1907.12487
  15. Brennan de Neeve, Thanh Long Nguyen, Tanja Behrle, Jonathan Home (2022). Error correction of a logical grid state qubit by dissipative pumping. Nature Physics 18, 296-300. doi:10.1038/s41567-021-01487-7arXiv:2010.09681
  16. V. V. Sivak, A. Eickbusch, B. Royer, … et al. (2023). Real-time quantum error correction beyond break-even. Nature 616, 50-55. doi:10.1038/s41586-023-05782-6arXiv:2211.09116
  17. Shunya Konno, Warit Asavanant, Fumiya Hanamura, … et al. (2024). Logical states for fault-tolerant quantum computation with propagating light. Science 383, 289-293. doi:10.1126/science.adk7560arXiv:2309.02306
  18. Dany Lachance-Quirion, Marc-Antoine Lemonde, Jean Olivier Simoneau, … et al. (2024). Autonomous Quantum Error Correction of Gottesman-Kitaev-Preskill States. Physical Review Letters 132, 150607. doi:10.1103/PhysRevLett.132.150607arXiv:2310.11400
  19. Benjamin L. Brock, Shraddha Singh, Alec Eickbusch, … Michel H. Devoret (2025). Quantum error correction of qudits beyond break-even. Nature 641, 612-618. doi:10.1038/s41586-025-08899-yarXiv:2409.15065

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic's own text checked; embedded records carry their own states. Worked examples re-computed numerically (sqrt(pi) = 1.7725, half-width 0.8862, 1.20 - sqrt(pi) = -0.5725, 3.60 - 2 sqrt(pi) = 0.055; gamma = 0.05: sigma = 0.229, p = 1.12e-4, total 2.2e-4; gamma = 0.10: sigma = 1/3, p = 7.84e-3, total 1.57%; 7.4 dB and 10.5 dB for sigma^2 = 0.09, p = 3.1e-3). Statements compared with arXiv sources: Gottesman-Kitaev-Preskill quant-ph/0008040, Albert et al. 1708.05010 abstract, Noh-Albert-Jiang 1801.07271 abstract, Harrington-Preskill quant-ph/0105058 abstract, Vuillot et al. 1810.00047 abstract (10% to 14%, sigma_0 about 0.243), Noh-Chamberland 1908.03579 abstract (11.2 dB, 18.6 dB), Baragiola et al. 1903.00012, Royer-Singh-Girvin 2009.07941, Fluhmann et al. 1807.01033 (87.3 +- 0.7%), de Neeve et al. 2010.09681 (factor of three), Campagne-Ibarcq et al. 1907.12487, Sivak et al. 2211.09116 (G = 2.27 +- 0.07), Lachance-Quirion et al. 2310.11400, Brock et al. 2409.15065 (1.82 +- 0.03, 1.87 +- 0.03), Konno et al. 2309.02306 (telecom-wavelength propagating GKP states, homodyne without loss correction).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 261903392f5364b2. Source file knowledge/records/topic/gkp-codes.md in the content repository (readable there once it is public).