Skip to main content
KetQat

Appearance

Code · advanced

Cat code

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≥0αnn!∣n⟩\ket{\alpha} = e^{-\abs\alpha^2/2} \sum_{n \ge 0} \frac{\alpha^n}{\sqrt{n!}} \ket{n} be a coherent state, α∈C∖{0}\alpha \in \C \setminus \{0\}. The cat states

∣Cα±⟩=N±(∣α⟩±∣−α⟩),N±=12 (1±e−2∣α∣2),\ket{C_\alpha^\pm} = N_\pm \big( \ket{\alpha} \pm \ket{-\alpha} \big), \qquad N_\pm = \frac{1}{\sqrt{2\,(1 \pm e^{-2\abs\alpha^2})}} ,

are orthonormal; ∣Cα+⟩\ket{C_\alpha^+} contains only even and ∣Cα−⟩\ket{C_\alpha^-} only odd photon numbers, because ⟨α∣−α⟩=e−2∣α∣2\braket{\alpha}{-\alpha} = e^{-2\abs\alpha^2} and the odd (even) terms cancel.

Two-component cat code. The code space is span⁡{∣α⟩,∣−α⟩}=span⁡{∣Cα+⟩,∣Cα−⟩}\operatorname{span}\{\ket{\alpha}, \ket{-\alpha}\} = \operatorname{span}\{\ket{C_\alpha^+}, \ket{C_\alpha^-}\}, with the convention (Guillaud, Cohen and Mirrahimi)

∣±⟩c=∣Cα±⟩,∣0⟩c=12(∣Cα+⟩+∣Cα−⟩)=∣α⟩+O(e−2∣α∣2),∣1⟩c=12(∣Cα+⟩−∣Cα−⟩)=∣−α⟩+O(e−2∣α∣2).\ket{\pm}_c = \ket{C_\alpha^\pm}, \qquad \ket{0}_c = \tfrac{1}{\sqrt2}\big(\ket{C_\alpha^+} + \ket{C_\alpha^-}\big) = \ket{\alpha} + O(e^{-2\abs\alpha^2}), \qquad \ket{1}_c = \tfrac{1}{\sqrt2}\big(\ket{C_\alpha^+} - \ket{C_\alpha^-}\big) = \ket{-\alpha} + O(e^{-2\abs\alpha^2}).

The photon-number parity eiπn^e^{i\pi \hat n} maps ∣α⟩→∣−α⟩\ket{\alpha} \to \ket{-\alpha} and acts as the logical XcX_c; the mean photon number of either computational state is close to ∣α∣2\abs\alpha^2.

Four-component cat code. With the same α\alpha, the codewords are

∣0L⟩∝∣Cα+⟩+∣Ciα+⟩,∣1L⟩∝∣Cα+⟩−∣Ciα+⟩,\ket{0_L} \propto \ket{C_\alpha^+} + \ket{C_{i\alpha}^+}, \qquad \ket{1_L} \propto \ket{C_\alpha^+} - \ket{C_{i\alpha}^+} ,

which contain only photon numbers n≡0n \equiv 0 and n≡2(mod4)n \equiv 2 \pmod 4 respectively (in ∣Ciα+⟩\ket{C_{i\alpha}^+} the coefficient of ∣n⟩\ket n carries in=±1i^n = \pm 1 for even nn). 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≡3n \equiv 3 and n≡1(mod4)n \equiv 1 \pmod 4 (Leghtas et al.; Mirrahimi et al.). Cat states as a bosonic code for amplitude damping go back to Cochrane, Milburn and Munro.

Instance of
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. P. T. Cochrane, G. J. Milburn, W. J. Munro (1999). Macroscopically distinct quantum-superposition states as a bosonic code for amplitude damping. Physical Review A 59, 2631-2634. doi:10.1103/PhysRevA.59.2631arXiv:quant-ph/9809037
  2. Zaki Leghtas, Gerhard Kirchmair, Brian Vlastakis, … Mazyar Mirrahimi (2013). Hardware-Efficient Autonomous Quantum Memory Protection. Physical Review Letters 111, 120501. doi:10.1103/PhysRevLett.111.120501arXiv:1207.0679
  3. Mazyar Mirrahimi, Zaki Leghtas, Victor V. Albert, … Michel H. Devoret (2014). Dynamically protected cat-qubits: a new paradigm for universal quantum computation. New Journal of Physics 16, 045014. doi:10.1088/1367-2630/16/4/045014arXiv:1312.2017
  4. Jérémie Guillaud, Joachim Cohen, Mazyar Mirrahimi (2023). Quantum computation with cat qubits. SciPost Physics Lecture Notes 72. doi:10.21468/SciPostPhysLectNotes.72arXiv:2203.03222

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)

    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

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