Recommended resources
The freely available resources this lesson will direct you to.
Hello! Welcome to our next lesson on recent advances in quantum error correction.
In our last session, we built the foundational language for continuous-variable (CV) systems. We introduced harmonic oscillator operators, key states like Fock and coherent states, and the Wigner function as a powerful tool for visualizing them in phase space. We even caught a glimpse of a cat state's Wigner function, noting its two distinct "blobs" and the characteristic interference fringes between them.
Today, we'll move from that visual intuition to a rigorous analysis. Our focus is on this lesson's learning outcome: Analyze the structure of Schrödinger cat codes and derive their mechanism for correcting single photon loss errors. We will define these "cat states" mathematically, construct a logical qubit with them, and then derive precisely how this encoding protects against the most common source of error in many bosonic systems.
This type of code, built from the states of a harmonic oscillator, is known as a bosonic code. They are an area of intense research because they can be more "hardware-efficient" than conventional qubit-based codes, packing a protected logical qubit into a single physical system, like a microwave cavity.
1. The Structure of Cat States
The name "Schrödinger cat state" is an analogy: just as Schrödinger's hypothetical cat was in a superposition of two macroscopically distinct states (alive and dead), these quantum states are superpositions of coherent states with macroscopically distinct phases.
Let's begin by formally defining the building blocks of these codes.
Error suppression in multicomponent cat codes with photon ...
This research paper, 'Error suppression in multicomponent cat codes...', provides a clear and modern definition of the different types of cat codes. We will focus on its preliminary section that defines the code states.
Please read section 2.4, 'Multicomponent cat codes'. Focus on the definitions of the two-component (Eq. 1) and four-component (Eq. 2) cat codes. Note how they are constructed from coherent states and their relation to photon-number parity.
Two-Component Cat States
As the paper details, the simplest cat states are the two-component even and odd states, defined as:
where are normalization constants and is a real number representing the amplitude of the coherent states. For large , the constituent states and are nearly orthogonal.
The crucial property of these states is their photon number parity. Recall that a coherent state is a superposition of all Fock states: . By expanding and , you can verify that contains only even Fock state components () and contains only odd components (). They are eigenstates of the parity operator with eigenvalues +1 and -1, respectively. This property is the key to detecting errors.
Four-Component Cat Codes
To encode a logical qubit, we need two orthogonal states to serve as our logical and . While we could use and , they live in different parity subspaces. A more robust construction places the logical basis states within the same parity subspace. This leads to the four-component cat code.
The standard choice for the logical basis, as defined in Eq. (2) of the paper, is:
Notice that both and are even-parity states. They are constructed from coherent states pointing along the real and imaginary axes in phase space. The space spanned by these two states is the codespace. Any state in this codespace, , has even photon number parity.
An error will be detectable if it kicks the state out of this codespace into an orthogonal subspace, particularly one with a different parity.
2. Deriving the Error Correction Mechanism
The dominant error process in many physical implementations of bosonic codes (like superconducting microwave cavities) is the loss of a single photon. In our formalism, this corresponds to the action of the annihilation operator, . Let's derive how this error affects an encoded logical state.
The key insight, as we saw in the last lesson, is that coherent states are eigenstates of the annihilation operator: .
Let's apply to our logical basis states:
-
Action on :
The resulting state, , is proportional to an odd-parity cat state. Let's call it . So, .
-
Action on :
The resulting state, , is also an odd-parity cat state. Let's call it . So, .
The states and form a basis for an orthogonal, odd-parity subspace, which we can call the error space.
Now, consider an arbitrary logical state . The effect of a single photon loss is:
This result is profound.
- Error Detection: The initial state was in the even-parity codespace. After the error, it is in the odd-parity error space. A measurement of the photon number parity will yield 'odd', unambiguously signaling that a single-photon-loss error has occurred.
- Error Correction: The error did not randomly scramble the logical information (). Instead, it performed a specific, known transformation: . This corresponds to a logical gate operation, specifically a phase gate . To correct the error, we simply need to apply the inverse gate, , to the logical state.
This entire process is elegantly summarized in a landmark experimental paper.
Extending the lifetime of a quantum bit with error correction in ...
The paper 'Extending the lifetime of a quantum bit with error correction in superconducting circuits' from the Schoelkopf lab at Yale was one of the first to experimentally demonstrate that this cat code could extend a qubit's lifetime beyond its physical components—a 'break-even' point for QEC.
Please read the second paragraph of the main text, which starts 'The encoding of logical states as superpositions...'. Then, study Figure 1 and its caption. This figure beautifully illustrates the error correction cycle we just derived.
As the paper and figure illustrate, the loss of a single photon (application of ) causes the encoded qubit to "jump" from the even-parity codespace to the odd-parity error space, while simultaneously rotating the logical state by around the logical Z-axis. By continuously monitoring the parity, we can track these jumps and apply corrections to undo the rotations, thus protecting the quantum information.
This figure from the Ofek et al. Nature paper illustrates the cat code error correction cycle. The qubit is initially encoded in the even-parity subspace (red shading). A single photon loss (\hat{a}) moves the state to the odd-parity subspace (blue shading) and rotates the logical information by \pi/2 around the logical Z-axis (green slice). Subsequent photon losses continue to cycle the state between parity subspaces and apply further logical rotations.
Test your understanding!
We've seen that the four-component cat code can detect and correct a single photon loss. What happens if two photons are lost, corresponding to the error operator ? Can this error be detected by a parity measurement? What is its effect on the logical state?
Show answer
Let's apply to the logical basis states:
\begin{align*} \hat{a}^2 |0_L\rangle &\propto \hat{a} (|\alpha\rangle - |-\alpha\rangle) = \alpha|\alpha\rangle - (-\alpha)|-\alpha\rangle = \alpha(|\alpha\rangle + |-\alpha\rangle) \propto |0_L\rangle \ \hat{a}^2 |1_L\rangle &\propto \hat{a} (i(|i\alpha\rangle - |-i\alpha\rangle)) = i(i\alpha|i\alpha\rangle - (-i\alpha)|-i\alpha\rangle) = i^2\alpha(|i\alpha\rangle + |-i\alpha\rangle) \propto -|1_L\rangle \end{align*}
The state remains in the even-parity codespace, so a parity measurement cannot detect that an error occurred. The effect on an arbitrary logical state is to transform it to . This is a logical Pauli- error. This demonstrates that this simple cat code is designed to protect against single photon loss, its primary intended error channel, but it is not robust against higher-order loss events.
Conclusion
In this lesson, we have dissected the structure and function of the Schrödinger cat code, a prime example of a hardware-efficient bosonic code.
Key Takeaways:
- Schrödinger cat codes encode a qubit in superpositions of coherent states, such as .
- The four-component cat code uses an even-parity subspace as its codespace, allowing it to detect errors that change the parity.
- Single photon loss, modeled by the annihilation operator , is the dominant error in many systems. This error flips the parity of a cat state.
- This parity flip serves as a detectable error syndrome. Crucially, the effect of the error on the encoded information is not random but is a predictable unitary rotation (a logical phase gate), which can be corrected.
- The code is tailored to correct single photon loss and is not inherently robust against higher-order loss events.
Preview of the next lesson:
The cat code is designed to combat photon loss errors, which are "subtractive" in nature. Next, we will explore another major bosonic code, the Gottesman-Kitaev-Preskill (GKP) code. We will see that GKP codes have a completely different structure in phase space, resembling a grid, which makes them naturally suited to correcting a different class of "additive" errors: small random displacements in position and momentum.