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
and p^=−i(a^−a^†)/2, so [q^,p^]=i and the vacuum
has variance 1/2 in each quadrature. The operator e−iup^ translates position
by u, e−iup^∣q⟩=∣q+u⟩, and eivq^ translates momentum by
v. For real a,b,
eiaq^eibp^=e−iabeibp^eiaq^.
Square-lattice qubit code. The code space is the joint +1 eigenspace of the
stabilizers
Sq=ei2πq^,Sp=e−i2πp^.
They commute because the phase is ei4π=1. The logical operators are
Zˉ=eiπq^,Xˉ=e−iπp^,
which commute with both stabilizers (phase e±i2π=1) and anticommute with
each other (phase eiπ=−1); their squares are the stabilizers. The ideal
codewords, for μ∈{0,1}, are
∣μˉ⟩∝s∈Z∑∣q=(2s+μ)π⟩,
so Zˉ∣μˉ⟩=(−1)μ∣μˉ⟩ and Xˉ shifts ∣0ˉ⟩ to
∣1ˉ⟩ and back. In momentum the roles are exchanged: ∣±ˉ⟩ are combs
of momentum eigenstates with spacing 2π, offset by 0 or π.
Qudits and lattices. For a d-level logical system replace 2π by
2πd in the stabilizers and π by 2π/d in the logical
operators. More generally an m-mode GKP code is given by a lattice of commuting
translations in the 2m-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 ℓ=2π (Royer, Singh and Girvin).
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
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
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
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).