Encodes a qubit in superpositions of coherent states of one oscillator. The two-component cat code uses the even and odd cats of amplitude α, so that a bit flip needs a jump from α to −α; the four-component code uses photon numbers 0 and 2 modulo 4, so that photon-number parity detects a single loss.
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.
Let ∣α⟩=e−∣α∣2/2∑n≥0n!αn∣n⟩ be a
coherent state, α∈C∖{0}. The cat states
∣Cα±⟩=N±(∣α⟩±∣−α⟩),N±=2(1±e−2∣α∣2)1,
are orthonormal; ∣Cα+⟩ contains only even and ∣Cα−⟩ only odd
photon numbers, because ⟨α∣−α⟩=e−2∣α∣2 and the odd
(even) terms cancel.
Two-component cat code. The code space is
span{∣α⟩,∣−α⟩}=span{∣Cα+⟩,∣Cα−⟩},
with the convention (Guillaud, Cohen and Mirrahimi)
The photon-number parity eiπn^ maps ∣α⟩→∣−α⟩ and acts as
the logical Xc; the mean photon number of either computational state is close to
∣α∣2.
Four-component cat code. With the same α, the codewords are
∣0L⟩∝∣Cα+⟩+∣Ciα+⟩,∣1L⟩∝∣Cα+⟩−∣Ciα+⟩,
which contain only photon numbers n≡0 and n≡2(mod4) respectively
(in ∣Ciα+⟩ the coefficient of ∣n⟩ carries in=±1 for even n).
Both are even, so one photon loss produces odd parity, detectable by measuring parity
without learning the photon number; it maps the code to the span of the states with
n≡3 and n≡1(mod4)
(Leghtas et al.;
Mirrahimi et al.). Cat states as a bosonic code for
amplitude damping go back to Cochrane, Milburn and Munro.
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)
Normalisations N_pm, overlap <alpha|-alpha> = e^{-2|alpha|^2}, parity content, the O(e^{-2|alpha|^2}) approximations of |0>_c, |1>_c, parity acting as X_c, and the mod-4 photon-number support of the four-component codewords (i^n = +-1 for even n) and their images under one loss (3 and 1 mod 4) re-derived. Compared with Guillaud-Cohen-Mirrahimi arXiv 2203.03222 (two-component convention |+-> = |C_alpha^+->, |0>_c, |1>_c with O(exp(-2|alpha|^2)) corrections; four-component logical states |C_alpha^(0 mod 4)>, |C_alpha^(2 mod 4)>, parity subspaces). Reference metadata of Cochrane-Milburn-Munro, Leghtas et al. 2013 and Mirrahimi et al. 2014 consistent with their DOIs/arXiv ids.
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 b17400dcb2960f07. Source file knowledge/records/code/cat-code.md in the content repository (readable there once it is public).