Skip to content

Cat Codes

A cat code encodes logical information in coherent states related by discrete phase-space rotations, or in superpositions of those coherent components. The separation of the components suppresses some transitions, while number-parity or rotation sectors organize the effect of photon loss.

The name covers two constructions that must be distinguished:

  1. a two-component stabilized cat qubit uses the approximately orthogonal states ∣α⟩|\alpha\rangle and ∣−α⟩|-\alpha\rangle as a biased logical basis; one photon loss acts approximately as a logical phase flip and is not corrected inside that two-dimensional manifold;
  2. a multi-component loss-correcting cat code places the code in selected rotation sectors, so one or more losses move the state into orthogonal syndrome sectors that can be recovered.

Both exploit coherent-state geometry, but they make different claims. Bosonic Codes owns the common channel–code–recovery formalism and Knill–Laflamme conditions. Bosonic Qubits owns physical oscillators, nonlinear ancillas, pumps, measurement chains, and the experimental evidence record.

Quantum Error Correction and Fault Tolerance treats a cat code as one declared oscillator-family choice inside a complete protection record; this page retains coherent-state encodings, parity and stabilization conventions, loss and dephasing tradeoffs, recovery, logical gates, variants, evidence, and resources.

A coherent state is an eigenstate of the annihilation operator:

a∣α⟩=α∣α⟩.a|\alpha\rangle=\alpha|\alpha\rangle.

Opposite coherent states have overlap

⟨α∣−α⟩=e−2∣α∣2.\langle\alpha|-\alpha\rangle = e^{-2|\alpha|^2}.

They become nearly orthogonal as the mean occupation nˉ=∣α∣2\bar n=|\alpha|^2 grows, but they are never exactly orthogonal at finite amplitude.

The normalized even and odd cats are

∣Cα±⟩=N±(∣α⟩±∣−α⟩),|C_\alpha^\pm\rangle = \mathcal N_\pm \left( |\alpha\rangle\pm|-\alpha\rangle \right),

where

N±=[2(1±e−2∣α∣2)]−1/2.\mathcal N_\pm = \left[ 2\left(1\pm e^{-2|\alpha|^2}\right) \right]^{-1/2}.

For number parity

Π=eiπN,N=a†a,\Pi=e^{i\pi N}, \qquad N=a^\dagger a,

the code states obey

Π∣Cα±⟩=±∣Cα±⟩.\Pi|C_\alpha^\pm\rangle = \pm|C_\alpha^\pm\rangle.

Their Fock expansions make the sector structure explicit:

∣Cα+⟩∝∑m=0∞α2m(2m)!∣2m⟩,∣Cα−⟩∝∑m=0∞α2m+1(2m+1)!∣2m+1⟩.\begin{aligned} |C_\alpha^+\rangle &\propto \sum_{m=0}^{\infty} \frac{\alpha^{2m}}{\sqrt{(2m)!}}|2m\rangle, \\ |C_\alpha^-\rangle &\propto \sum_{m=0}^{\infty} \frac{\alpha^{2m+1}}{\sqrt{(2m+1)!}}|2m+1\rangle. \end{aligned}

The cats are exactly orthogonal because their number parities differ, even though their coherent components overlap.

Using a∣±α⟩=±α∣±α⟩a|\pm\alpha\rangle=\pm\alpha|\pm\alpha\rangle,

a∣Cα+⟩=α1−e−2∣α∣21+e−2∣α∣2∣Cα−⟩,a∣Cα−⟩=α1+e−2∣α∣21−e−2∣α∣2∣Cα+⟩.\begin{aligned} a|C_\alpha^+\rangle &= \alpha \sqrt{ \frac{1-e^{-2|\alpha|^2}} {1+e^{-2|\alpha|^2}} } |C_\alpha^-\rangle, \\ a|C_\alpha^-\rangle &= \alpha \sqrt{ \frac{1+e^{-2|\alpha|^2}} {1-e^{-2|\alpha|^2}} } |C_\alpha^+\rangle. \end{aligned}

The corresponding mean occupations are

nˉ+=∣α∣2tanh⁡∣α∣2,nˉ−=∣α∣2coth⁡∣α∣2.\begin{aligned} \bar n_+ &= |\alpha|^2\tanh|\alpha|^2, \\ \bar n_- &= |\alpha|^2\coth|\alpha|^2. \end{aligned}

At large ∣α∣|\alpha|, both approach ∣α∣2|\alpha|^2 and the two loss amplitudes approach α\alpha. At finite amplitude they differ, so the environment gains a small amount of logical information from the loss rate. This is one source of approximate rather than exact correction.

The same physical manifold supports two common logical conventions. They interchange the words “bit flip” and “phase flip.”

conventionlogical basisparity acts asone loss acts approximately as
parity basis$0_L\rangle=C_\alpha^+\rangle,,
coherent basis$0_L\rangle=(C_\alpha^+\rangle+

The coherent-basis states are exactly orthonormal and approach ∣α⟩|\alpha\rangle and ∣−α⟩|-\alpha\rangle exponentially quickly with ∣α∣2|\alpha|^2. In that basis,

PaP≃αZL,PΠP=XL.PaP \simeq \alpha Z_L, \qquad P\Pi P=X_L.

The approximations become accurate when the overlap e−2∣α∣2e^{-2|\alpha|^2} is small. A paper or experiment that reports a “bit-flip lifetime” without defining its logical basis leaves the physical claim ambiguous.

Two-component cat qubit in phase space beside the four rotation sectors of a loss-correcting cat code

Two uses of cat-state geometry. In the coherent basis, the separated ∣α⟩|\alpha\rangle and ∣−α⟩|-\alpha\rangle components form a noise-biased two-component qubit: local faults rarely move between the wells, while one loss acts approximately as ZLZ_L. A four-sector code stores logical states in number classes 00 and 22 modulo 44; one loss moves them into distinct odd syndrome sectors, while two losses return to the even sectors with a logical ambiguity.

Choose the coherent logical basis. The computational states occupy separated regions of phase space:

∣0L⟩≃∣α⟩,∣1L⟩≃∣−α⟩.|0_L\rangle\simeq|\alpha\rangle, \qquad |1_L\rangle\simeq|-\alpha\rangle.

For a low-degree local oscillator operator OO, the off-diagonal matrix element typically contains the coherent-state overlap:

⟨α∣O∣−α⟩∼poly⁡(α,α∗)e−2∣α∣2.\langle\alpha|O|-\alpha\rangle \sim \operatorname{poly}(\alpha,\alpha^*) e^{-2|\alpha|^2}.

Faults that must transfer the state between the two distant components can therefore be exponentially suppressed with cat size under the assumed local noise model. Photon loss behaves differently:

a∣±α⟩=±α∣±α⟩.a|\pm\alpha\rangle = \pm\alpha|\pm\alpha\rangle.

Within the coherent logical basis it records opposite phases and hence acts approximately as ZLZ_L. The event rate scales with occupation,

Γloss∼κ1∣α∣2,\Gamma_{\mathrm{loss}} \sim \kappa_1|\alpha|^2,

for single-photon decay rate κ1\kappa_1. Increasing the cat size can therefore suppress logical XLX_L transitions while increasing exposure to logical ZLZ_L events. The result is a tunable noise bias, not simultaneous suppression of both Pauli directions.

A useful bias ratio is

B=pZpX+pY,\mathcal B = \frac{p_Z}{p_X+p_Y},

but its value is meaningful only after specifying the operation, duration, Pauli-frame convention, leakage treatment, and whether the probabilities come from a Pauli-twirled or full logical channel.

An idealized two-photon stabilization process uses the jump operator

L2=a2−α2L_2=a^2-\alpha^2

and master equation

ρ˙=κ2D[L2]ρ.\dot\rho = \kappa_2\mathcal D[L_2]\rho.

Because

L2∣±α⟩=0,L_2|\pm\alpha\rangle=0,

the span of ∣α⟩|\alpha\rangle and ∣−α⟩|-\alpha\rangle is a dark manifold. The engineered process damps excursions transverse to that manifold while preserving coherent superpositions inside it in the ideal model.

Single-photon loss is not removed by L2L_2. It acts within the dark manifold as the dominant logical phase error. Additional dephasing, pump noise, ancilla faults, and terms that break the α↔−α\alpha\leftrightarrow-\alpha symmetry can also spoil the ideal bias.

A two-photon-driven Kerr oscillator is commonly described in a rotating frame by

HKC=−Ka†2a2+ϵ2a†2+ϵ2∗a2.H_{\mathrm{KC}} = -K a^{\dagger 2}a^2 +\epsilon_2 a^{\dagger 2} +\epsilon_2^*a^2.

Up to drive-phase and sign conventions, its semiclassical fixed points lie near ±α\pm\alpha with ∣α∣2∼∣ϵ2∣/K|\alpha|^2\sim|\epsilon_2|/K. The Kerr and two-photon terms open a spectral separation between the cat manifold and many leakage states. This Hamiltonian confinement can support fast gates without a continuously monitored syndrome.

Hamiltonian and dissipative stabilization are not interchangeable:

  • dissipative confinement is governed by a Liouvillian gap and a steady-state manifold;
  • Kerr confinement is governed by quasienergy structure and drive-induced dynamics;
  • hybrid schemes use both and inherit faults from both.

The protection gap does not automatically make every gate bias preserving. Control waveforms can cross the phase-space barrier, populate leakage states, or convert a dominant ZLZ_L fault into an XLX_L component.

In the coherent-basis convention, the stabilization continuously suppresses some bit-flip-producing excursions and leakage. It does not infer and undo each single-photon loss. An outer repetition or topological code is still needed if the accumulated phase flips must be corrected.

Calling the two-component qubit “autonomously error corrected” is therefore acceptable only with the corrected error set stated explicitly. It is misleading if read as correction of arbitrary logical noise.

A four-component cat code uses four coherent points related by quarter rotations:

∣α⟩,∣iα⟩,∣−α⟩,∣−iα⟩.|\alpha\rangle,\quad |i\alpha\rangle,\quad |-\alpha\rangle,\quad |-i\alpha\rangle.

It is cleaner to define the code by rotation sectors rather than by pictures of those four points. Let

R4=eiπN/2R_4=e^{i\pi N/2}

and define the projector onto number class kk modulo four:

Pk=14∑j=03e−iπkj/2R4j,k=0,1,2,3.P_k = \frac14 \sum_{j=0}^{3} e^{-i\pi kj/2}R_4^j, \qquad k=0,1,2,3.

The normalized sector cats are

∣Cα(k)⟩=Pk∣α⟩Zk,Zk=⟨α∣Pk∣α⟩.|C_\alpha^{(k)}\rangle = \frac{P_k|\alpha\rangle} {\sqrt{\mathcal Z_k}}, \qquad \mathcal Z_k=\langle\alpha|P_k|\alpha\rangle.

Equivalently,

∣Cα(k)⟩∝∑m=0∞α4m+k(4m+k)!∣4m+k⟩.|C_\alpha^{(k)}\rangle \propto \sum_{m=0}^{\infty} \frac{\alpha^{4m+k}}{\sqrt{(4m+k)!}} |4m+k\rangle.

Choose the code space

∣0L⟩=∣Cα(0)⟩,∣1L⟩=∣Cα(2)⟩.|0_L\rangle=|C_\alpha^{(0)}\rangle, \qquad |1_L\rangle=|C_\alpha^{(2)}\rangle.

The codewords are exactly orthogonal because their Fock supports occupy different residue classes.

Since annihilation lowers number by one,

aPk=Pk−1a,aP_k=P_{k-1}a,

with sector labels understood modulo four. Therefore

a∣Cα(k)⟩=αZk−1Zk∣Cα(k−1)⟩.a|C_\alpha^{(k)}\rangle = \alpha \sqrt{\frac{\mathcal Z_{k-1}}{\mathcal Z_k}} |C_\alpha^{(k-1)}\rangle.

The logical basis states move as

∣Cα(0)⟩→ a ∣Cα(3)⟩,∣Cα(2)⟩→ a ∣Cα(1)⟩.\begin{aligned} |C_\alpha^{(0)}\rangle &\xrightarrow{\,a\,} |C_\alpha^{(3)}\rangle, \\ |C_\alpha^{(2)}\rangle &\xrightarrow{\,a\,} |C_\alpha^{(1)}\rangle. \end{aligned}

Both outputs have odd parity, remain mutually orthogonal, and preserve the logical amplitudes. A parity syndrome can reveal that an odd number of losses occurred without resolving whether the state occupies sector 11 or 33. A coherent recovery then maps the entire odd error subspace back to the even code subspace.

At finite α\alpha, the factors Z3/Z0\mathcal Z_{3}/\mathcal Z_0 and Z1/Z2\mathcal Z_{1}/\mathcal Z_2 are not generally equal. The leading loss probabilities therefore retain a small logical-state dependence. The four-component code approaches the single-loss Knill–Laflamme conditions as the coherent components separate, but it is an approximate finite-energy code.

Applying a2a^2 shifts sectors by two:

∣Cα(0)⟩→ a2 ∣Cα(2)⟩,∣Cα(2)⟩→ a2 ∣Cα(0)⟩.\begin{aligned} |C_\alpha^{(0)}\rangle &\xrightarrow{\,a^2\,} |C_\alpha^{(2)}\rangle, \\ |C_\alpha^{(2)}\rangle &\xrightarrow{\,a^2\,} |C_\alpha^{(0)}\rangle. \end{aligned}

Up to unequal finite-amplitude factors, two untracked losses act as a logical XLX_L. Parity has returned to even, so a final parity measurement cannot distinguish two losses from no loss. The code corrects one loss between reliable syndrome updates; it does not correct an arbitrary number of losses merely because every loss flips parity.

Repeated monitoring can time-resolve a sequence of parity changes. Its effective distance then depends on missed detections, false parity flips, ancilla relaxation, measurement cadence, and how faults propagate through the syndrome circuit.

Under pure loss, the no-jump operator attenuates the components. Up to a state-independent prefactor,

ηN/2∣α⟩∝∣η α⟩.\eta^{N/2}|\alpha\rangle \propto |\sqrt\eta\,\alpha\rangle.

Thus even a trajectory with no detected jump moves the code toward a smaller cat. A complete recovery may need to restore amplitude or deform the code manifold while preserving logical coherence. Counting parity flips alone is not a complete finite-time channel model.

For 2M2M coherent components, define

R2M=exp⁡ ⁣(iπMN).R_{2M} = \exp\!\left(\frac{i\pi}{M}N\right).

Sector cats have Fock support on one number class modulo 2M2M. A common logical choice uses sectors separated by MM:

∣0L⟩=∣Cα(0;2M)⟩,∣1L⟩=∣Cα(M;2M)⟩.|0_L\rangle=|C_\alpha^{(0;2M)}\rangle, \qquad |1_L\rangle=|C_\alpha^{(M;2M)}\rangle.

Each loss shifts both sectors by one. The number distance MM measures how many sector shifts separate the logical supports. Increasing it creates more distinguishable loss sectors, but also requires more coherent components and more demanding preparation, stabilization, and logical control.

Sector separation is only part of correctability. The Knill–Laflamme products

P(a†)rasPP(a^\dagger)^r a^sP

must also be approximately logical-state independent for the corrected values of rr and ss. Finite coherent-state overlap and unequal number moments set the residual error. The abstract rotation symmetry does not erase those finite-energy effects.

There is a complementary angular distance in phase space. Widely separated coherent components suppress local transitions between logical regions, while a larger number of components reduces the angular spacing between neighbors. Cat-code design balances number-sector resolution against phase-space separation.

An active cycle commonly contains

  1. a quantum-nondemolition parity mapping to an ancilla;
  2. ancilla measurement and reset;
  3. inference of whether a loss occurred;
  4. a corrective map or tracked logical-frame update;
  5. amplitude restoration or code-manifold refresh.

Let yjy_j be the parity record at cycle jj. A decoder should infer a loss history from the full record

y=(y1,…,yr),\mathbf y=(y_1,\ldots,y_r),

not assume every observed sign change is a physical photon loss. Readout errors produce isolated parity inconsistencies; an ancilla fault can propagate into the oscillator; and two losses inside one interval may leave the same final parity as no loss.

The recovered logical channel must include all of these paths. A trajectory plot conditioned on correctly identified jumps is not by itself an unconditional memory benchmark.

A 2M2M-photon process with idealized jump operator

L2M=a2M−α2ML_{2M}=a^{2M}-\alpha^{2M}

has the coherent points

αeiπj/M,j=0,…,2M−1,\alpha e^{i\pi j/M}, \qquad j=0,\ldots,2M-1,

as dark states. This can confine a multi-component manifold while parity or modular-number monitoring supplies loss information. High-order nonlinear processes are difficult to engineer cleanly, and lower-order parasitic terms can break the intended rotation symmetry.

Autonomous confinement and active syndrome extraction can be combined. Their error channels must be combined as well.

Recovery can also be implemented by teleporting the logical state into a fresh cat manifold, coupling to an engineered reservoir, or measuring a generalized rotation syndrome. These approaches may restore amplitude and remove entropy without a direct unitary inverse of aa.

A trace-decreasing successful branch must report its acceptance probability. Conditional fidelity alone cannot be compared with a deterministic recovery.

For the two-component coherent basis, useful projected relations are

PaP≃αZL,PΠP=XL.PaP\simeq\alpha Z_L, \qquad P\Pi P=X_L.

They suggest physical controls, but a projected identity is not a fault-tolerance proof. A drive that implements the correct code-space rotation can transiently leave the cat manifold and create unsuppressed bit flips.

A gate is bias preserving when dominant phase-type faults before, during, and after the operation remain predominantly phase type at the output. For a controlled gate, this includes propagation between control and target. If a single ZLZ_L fault can become a substantial XLX_L component, the outer repetition code loses the advantage supplied by the idle noise bias.

Bias-preserving operations can use

  • adiabatic or holonomic deformation of the stabilized manifold;
  • phase-space rotations whose geometric phase implements a logical action;
  • engineered couplings that commute with the dominant logical error;
  • teleportation through cat-code resource states;
  • error-transparent Hamiltonians designed for a declared fault set.

Every implementation must be evaluated with stabilization active, realistic leakage levels, and the same control bandwidth used in the architecture.

A two-component cat qubit can make

pX+pY≪pZ.p_X+p_Y\ll p_Z.

A repetition code in the appropriate basis can then correct the dominant ZLZ_L errors with comparatively low connectivity. It does not correct the rare XLX_L faults, so the architecture succeeds only while those faults remain sufficiently suppressed through preparation, measurement, idling, and all logical gates.

More general biased-noise topological codes can protect both directions while exploiting the asymmetry. The relevant input is the complete circuit-level logical channel of the cat module, not one isolated lifetime ratio.

variantinternal protection claimdominant information still neededcharacteristic cost
two-component dissipative catconfines the $\pm\alpha\rangle$ manifold and suppresses selected transitionsouter correction of accumulated phase flips
Kerr-cat qubitspectrally confines a coherent-state doublet and supports driven gatesbias-preserving control and leakage managementnonlinear oscillator, two-photon drive, quasienergy calibration
four-component cat codedetects and approximately corrects one loss per reliable syndrome intervalrepeated parity record and amplitude restorationmore components, active ancilla, missed-jump risk
higher rotation cat codeseparates more loss sectors in number modulo 2M2Mmatched number moments and higher-order recoveryhigh-order stabilization and denser phase-space components

These rows describe ideal organizing principles. A device can combine Kerr and dissipative confinement, active parity tracking, and an outer stabilizer code. Its name does not determine its logical channel.

Increasing ∣α∣2|\alpha|^2 changes several quantities at once:

coherent overlap∼e−2∣α∣2,single-loss exposure∼κ1∣α∣2,phase-space separation∼2∣α∣,required control range generally increases.\begin{aligned} \text{coherent overlap} &\sim e^{-2|\alpha|^2}, \\ \text{single-loss exposure} &\sim \kappa_1|\alpha|^2, \\ \text{phase-space separation} &\sim 2|\alpha|, \\ \text{required control range} &\text{ generally increases.} \end{aligned}

An optimal cat size is therefore finite and hardware dependent. It depends on the loss rate, dephasing spectrum, confinement strength, gate set, syndrome fidelity, outer code, and target workload.

A serious report should include

  • the logical-basis convention and cat amplitude;
  • mean occupation and its distribution;
  • the full logical process matrix or at least both Pauli directions;
  • leakage and return-to-manifold probability;
  • stabilization mechanism and gap;
  • operation and syndrome durations;
  • ancilla, pump, and measurement faults;
  • acceptance probability and decoder policy;
  • scaling across cat size or outer-code distance.

The Error-Correction Case Studies page owns dated experimental break-even claims. This page supplies the code language needed to interpret them.

A two-component biased qubit, a four-component loss-correcting code, and a higher rotation code have different code spaces, syndromes, and logical channels. State the component number and logical basis.

Calling coherent components exactly orthogonal

Section titled “Calling coherent components exactly orthogonal”

⟨α∣−α⟩=e−2∣α∣2\langle\alpha|-\alpha\rangle=e^{-2|\alpha|^2} is small, not zero. Parity cats are exactly orthogonal because they occupy disjoint Fock sectors.

Saying photon loss is suppressed by cat size

Section titled “Saying photon loss is suppressed by cat size”

The physical loss-event rate grows approximately as κ1∣α∣2\kappa_1|\alpha|^2. In a two-component coherent basis, loss becomes the dominant logical phase fault. What can be exponentially suppressed is the opposite logical transition under a suitable local-noise model.

Confusing parity tracking with arbitrary loss correction

Section titled “Confusing parity tracking with arbitrary loss correction”

Parity reveals loss number modulo two. Two unobserved losses return parity to its original value, and a faulty parity circuit can create errors of its own.

Finite-time attenuation shrinks coherent amplitudes even when no jump is detected. A jump-only trajectory model is not the full channel.

Equating a dark manifold with a fault-tolerant qubit

Section titled “Equating a dark manifold with a fault-tolerant qubit”

Engineered dissipation can confine states while single-photon loss acts logically inside the manifold. Preparation, gates, readout, and coupling to other modules must preserve the intended bias.

Quoting one lifetime as full logical performance

Section titled “Quoting one lifetime as full logical performance”

A long bit-flip time can coexist with a much shorter phase-flip time. Report both logical axes or the complete logical channel.

Using an outer repetition code without auditing rare faults

Section titled “Using an outer repetition code without auditing rare faults”

A repetition code corrects the dominant Pauli direction only. Rare bias-breaking errors, leakage, and correlated events can set the architecture floor.

Starting from

∣Cα±⟩=N±(∣α⟩±∣−α⟩),|C_\alpha^\pm\rangle = \mathcal N_\pm \left( |\alpha\rangle\pm|-\alpha\rangle \right),

derive N±\mathcal N_\pm and verify that the even and odd cats are orthogonal.

Solution

Let s=e−2∣α∣2s=e^{-2|\alpha|^2}. Then

∥∣α⟩±∣−α⟩∥2=2±2s=2(1±s).\begin{aligned} \left\| |\alpha\rangle\pm|-\alpha\rangle \right\|^2 &= 2\pm2s \\ &= 2(1\pm s). \end{aligned}

Therefore

N±=[2(1±s)]−1/2.\mathcal N_\pm = \left[2(1\pm s)\right]^{-1/2}.

Their overlap is

⟨Cα+∣Cα−⟩=N+N−(1−s+s−1)=0.\begin{aligned} \langle C_\alpha^+|C_\alpha^-\rangle &= \mathcal N_+\mathcal N_- \left( 1-s+s-1 \right) \\ &=0. \end{aligned}

The cancellation is exact and is equivalent to the separation into even and odd number parity.

Show that

⟨Cα+∣N∣Cα+⟩=∣α∣2tanh⁡∣α∣2\langle C_\alpha^+|N|C_\alpha^+\rangle = |\alpha|^2\tanh|\alpha|^2

and obtain the corresponding odd-cat result.

Solution

Using

⟨α∣N∣β⟩=α∗β⟨α∣β⟩,\langle\alpha|N|\beta\rangle = \alpha^*\beta\langle\alpha|\beta\rangle,

and s=e−2∣α∣2s=e^{-2|\alpha|^2},

⟨Cα+∣N∣Cα+⟩=N+2[2∣α∣2−2∣α∣2s]=∣α∣21−s1+s=∣α∣2tanh⁡∣α∣2.\begin{aligned} \langle C_\alpha^+|N|C_\alpha^+\rangle &= \mathcal N_+^2 \left[ 2|\alpha|^2-2|\alpha|^2s \right] \\ &= |\alpha|^2\frac{1-s}{1+s} \\ &= |\alpha|^2\tanh|\alpha|^2. \end{aligned}

For the odd cat, the cross terms change sign:

⟨Cα−∣N∣Cα−⟩=∣α∣21+s1−s=∣α∣2coth⁡∣α∣2.\langle C_\alpha^-|N|C_\alpha^-\rangle = |\alpha|^2\frac{1+s}{1-s} = |\alpha|^2\coth|\alpha|^2.

At large ∣α∣|\alpha|, take

a∣Cα±⟩≃α∣Cα∓⟩.a|C_\alpha^\pm\rangle\simeq\alpha|C_\alpha^\mp\rangle.

Show that this is XLX_L in the parity basis and ZLZ_L in the coherent basis.

Solution

In the parity basis,

∣0L⟩=∣Cα+⟩,∣1L⟩=∣Cα−⟩,|0_L\rangle=|C_\alpha^+\rangle, \qquad |1_L\rangle=|C_\alpha^-\rangle,

so a/αa/\alpha swaps logical zero and one and therefore acts as XLX_L.

In the coherent basis,

∣0~L⟩=∣Cα+⟩+∣Cα−⟩2,∣1~L⟩=∣Cα+⟩−∣Cα−⟩2.\begin{aligned} |\widetilde0_L\rangle &= \frac{|C_\alpha^+\rangle+|C_\alpha^-\rangle}{\sqrt2}, \\ |\widetilde1_L\rangle &= \frac{|C_\alpha^+\rangle-|C_\alpha^-\rangle}{\sqrt2}. \end{aligned}

Swapping the parity cats leaves ∣0~L⟩|\widetilde0_L\rangle invariant and changes the sign of ∣1~L⟩|\widetilde1_L\rangle. Thus a/αa/\alpha acts as ZLZ_L in that basis.

For

Pk=14∑j=03e−iπkj/2R4j,R4=eiπN/2,P_k = \frac14 \sum_{j=0}^{3} e^{-i\pi kj/2}R_4^j, \qquad R_4=e^{i\pi N/2},

show that Pk∣n⟩P_k|n\rangle vanishes unless n=kn=k modulo four.

Solution

Since

R4j∣n⟩=eiπnj/2∣n⟩,R_4^j|n\rangle = e^{i\pi nj/2}|n\rangle,

we have

Pk∣n⟩=14∑j=03eiπ(n−k)j/2∣n⟩.P_k|n\rangle = \frac14 \sum_{j=0}^{3} e^{i\pi(n-k)j/2}|n\rangle.

The finite geometric sum equals four when n−kn-k is divisible by four and zero otherwise. Hence PkP_k projects onto the desired residue class.

Starting with logical sectors 00 and 22, list the sector pair after zero, one, two, three, and four losses. Which loss counts can final parity alone distinguish?

Solution

Each loss subtracts one modulo four:

losseslogical-zero branchlogical-one branchparity
000022even
113311odd
222200even
331133odd
440022even

Final parity distinguishes only even from odd loss count. It cannot distinguish zero from two or four losses, nor one from three. Time-resolved repeated parity measurements can supply more information if changes are not missed.

Suppose the per-operation bit-flip contribution is

pX(nˉ)=Ae−2nˉp_X(\bar n)=A e^{-2\bar n}

and the phase-flip contribution is

pZ(nˉ)=Bnˉ,p_Z(\bar n)=B\bar n,

with A,B>0A,B>0. Find the cat size that minimizes pX+pZp_X+p_Z when the optimum lies at nˉ>0\bar n>0.

Solution

Differentiate:

ddnˉ(Ae−2nˉ+Bnˉ)=−2Ae−2nˉ+B.\frac{d}{d\bar n} \left( A e^{-2\bar n}+B\bar n \right) = -2Ae^{-2\bar n}+B.

The stationary point satisfies

e−2nˉ∗=B2A,e^{-2\bar n_*} = \frac{B}{2A},

so

nˉ∗=12log⁡ ⁣(2AB).\bar n_* = \frac12\log\!\left(\frac{2A}{B}\right).

This is positive only when 2A>B2A>B; otherwise the toy objective is minimized at the smallest allowed cat size. The model illustrates why increasing separation indefinitely is not optimal when loss grows with occupation.

7. Two-loss probability between parity checks

Section titled “7. Two-loss probability between parity checks”

Assume independent photon losses form a Poisson process with mean

λ=κ1nˉτ\lambda=\kappa_1\bar n\tau

between parity checks. Expand the probability of two or more losses through leading order in λ\lambda.

Solution

For a Poisson process,

Pr⁡(L≥2)=1−e−λ(1+λ).\Pr(L\ge2) = 1-e^{-\lambda}(1+\lambda).

Expanding,

e−λ(1+λ)=1−λ22+O(λ3),e^{-\lambda}(1+\lambda) = 1-\frac{\lambda^2}{2}+O(\lambda^3),

and therefore

Pr⁡(L≥2)=λ22+O(λ3)=12(κ1nˉτ)2+O(τ3).\Pr(L\ge2) = \frac{\lambda^2}{2}+O(\lambda^3) = \frac12 (\kappa_1\bar n\tau)^2 +O(\tau^3).

Shorter intervals suppress this contribution, but more frequent parity checks increase exposure to measurement and ancilla faults.

Three two-component cat qubits each suffer an independent phase flip with probability pZp_Z and a rare bit flip with probability pXp_X. A three-bit repetition code corrects one phase flip. Find the leading logical phase-failure probability and the leading probability that at least one uncorrected bit flip occurs.

Solution

The repetition decoder fails on two or three phase flips:

pZ,L=3pZ2(1−pZ)+pZ3=3pZ2−2pZ3.\begin{aligned} p_{Z,L} &= 3p_Z^2(1-p_Z)+p_Z^3 \\ &= 3p_Z^2-2p_Z^3. \end{aligned}

Thus the dominant phase error is reduced from first to second order.

The repetition code does not protect the orthogonal Pauli direction. The probability of at least one bit flip is

pX,L=1−(1−pX)3=3pX+O(pX2).p_{X,L} = 1-(1-p_X)^3 = 3p_X+O(p_X^2).

The architecture gains only while the cat bias makes pXp_X sufficiently small through every operation, not merely during idle storage.

  1. P. T. Cochrane, G. J. Milburn, and W. J. Munro, “Macroscopically distinct quantum-superposition states as a bosonic code for amplitude damping,” Physical Review A 59, 2631–2634 (1999), doi:10.1103/PhysRevA.59.2631.
  2. M. Mirrahimi et al., “Dynamically protected cat-qubits: a new paradigm for universal quantum computation,” New Journal of Physics 16, 045014 (2014), doi:10.1088/1367-2630/16/4/045014.
  3. Z. Leghtas et al., “Confining the state of light to a quantum manifold by engineered two-photon loss,” Science 347, 853–857 (2015), doi:10.1126/science.aaa2085.
  4. N. Ofek et al., “Extending the lifetime of a quantum bit with error correction in superconducting circuits,” Nature 536, 441–445 (2016), doi:10.1038/nature18949.
  5. S. Puri, S. Boutin, and A. Blais, “Engineering the quantum states of light in a Kerr-nonlinear resonator by two-photon driving,” npj Quantum Information 3, 18 (2017), doi:10.1038/s41534-017-0019-1.
  6. V. V. Albert et al., “Performance and structure of single-mode bosonic codes,” Physical Review A 97, 032346 (2018), doi:10.1103/PhysRevA.97.032346.
  7. S. Puri et al., “Stabilized cat in a driven nonlinear cavity: a fault-tolerant error syndrome detector,” Physical Review X 9, 041009 (2019), doi:10.1103/PhysRevX.9.041009.
  8. J. Guillaud and M. Mirrahimi, “Repetition cat qubits for fault-tolerant quantum computation,” Physical Review X 9, 041053 (2019), doi:10.1103/PhysRevX.9.041053.
  9. A. L. Grimsmo, J. Combes, and B. Q. Baragiola, “Quantum computing with rotation-symmetric bosonic codes,” Physical Review X 10, 011058 (2020), doi:10.1103/PhysRevX.10.011058.
  10. R. Lescanne et al., “Exponential suppression of bit-flips in a qubit encoded in an oscillator,” Nature Physics 16, 509–513 (2020), doi:10.1038/s41567-020-0824-x.
  11. A. Grimm et al., “Stabilization and operation of a Kerr-cat qubit,” Nature 584, 205–209 (2020), doi:10.1038/s41586-020-2587-z.
  12. S. Puri et al., “Bias-preserving gates with stabilized cat qubits,” Science Advances 6, eaay5901 (2020), doi:10.1126/sciadv.aay5901.
  13. A. S. Darmawan, B. J. Brown, A. L. Grimsmo, D. K. Tuckett, and S. Puri, “Practical quantum error correction with the XZZX code and Kerr-cat qubits,” PRX Quantum 2, 030345 (2021), doi:10.1103/PRXQuantum.2.030345.
  14. J. Hastrup and U. L. Andersen, “All-optical cat-code quantum error correction,” Physical Review Research 4, 043065 (2022), doi:10.1103/PhysRevResearch.4.043065.
  15. C. Chamberland et al., “Building a fault-tolerant quantum computer using concatenated cat codes,” PRX Quantum 3, 010329 (2022), doi:10.1103/PRXQuantum.3.010329.
  16. U. Réglade et al., “Quantum control of a cat qubit with bit-flip times exceeding ten seconds,” Nature 629, 778–783 (2024), doi:10.1038/s41586-024-07294-3.