Skip to main content
KetQat

Appearance

Code · advanced

Gottesman–Kitaev–Preskill (GKP) code

Encodes a qubit (or qudit) in one oscillator as the joint eigenspace of two commuting phase-space translations. The ideal codewords are combs of position eigenstates; logical Pauli operators are half-period translations.

Established definitionMachine-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.

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).

Part of
Stated 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. 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
  3. 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

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)

    Commutation identity e^{iaq}e^{ibp} = e^{-iab}e^{ibp}e^{iaq} re-derived from BCH; stabilizer and logical commutation phases, codeword combs, Z eigenvalues and qudit generalisation re-computed. Compared with Gottesman-Kitaev-Preskill arXiv quant-ph/0008040 Sec. III (Eq. (26): Z = exp(iq sqrt(2pi/n)), X = exp(-ip sqrt(2pi/n)); codewords as combs of position eigenstates; Sec. on lattices with the symplectic dual giving logical operators) and Royer-Singh-Girvin arXiv 2009.07941 (square lattice constant l = 2 sqrt(pi), X_0 = e^{-ilp/2}, Z_0 = e^{ilx/2}). Grimsmo-Puri review reference metadata consistent with DOI.

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 57452e9d7a3a8587. Source file knowledge/records/code/gkp-code.md in the content repository (readable there once it is public).