Cat qubits come with a built-in advantage: their errors don’t play fair. They lean heavily toward one type over the other. In other words, one type of error (bit-flip) will almost never occur, leaving us to deal only with the second type of error (phase-flip). This property is exactly what makes them so useful for error correction. But keeping that advantage intact in real hardware, against noise and drift, is a different problem entirely. So for Y-Quantum 2026 (Yale), we handed participants that exact challenge: can you preserve a cat qubit’s bias when conditions refuse to cooperate? No fixed method, just the problem itself. They could use quantum control, optimization, error correction, whatever route gets them there.
The team that impressed us most were a group of students from Harvard: Batu Yalcin, Tymofii Baranenko, Leon Katarzynski, Jack Ploof, and Alex Wong. They used two learning algorithms, PPO and CMA-ES, to automatically tune a cat qubit’s control parameters and extend how long it holds its state under realistic noise and drift.
What follows is their write-up, in their own words. We’re happy to host it.
Optimization of Dissipative Cat-Qubit Stabilization
Batu Yalcin, Tymofii Baranenko, Leon Katarzynski, Jack Ploof and Alex Wong Y-Quantum Hackathon 2026 · Alice & Bob Challenge
Abstract. We got the opportunity to explore the stability and limitations of cat qubits through the Alice & Bob Challenge at the Y-Quantum hackathon. Our work investigates how environmental drift impacts cat-qubit coherence, and how researchers can stabilize the system in the face of drift. We begin by defining two optimization strategies: Covariance Matrix Adaptation Evolution Strategy (CMA-ES) and Proximal Policy Optimization (PPO) to gain an understanding of the terms of the Hamiltonian modeling standard cat qubits. We then model moon/crescent cat qubits to explore a new degree of freedom of cat qubits and reinforce our own understanding of the cat qubit terms. Then we introduce noise/drift sources into our system and see how our optimization algorithms respond. Finally, we observe the effect of gates on the system, and conclude with a physical interpretation of our results.
Introduction
The challenge introduced a Hamiltonian system for stabilizing a cat qubit, given by
![]()
where
Two-Photon Loss:
Two-Photon Gain:
One-Photon Loss:
One-Photon Gain: ![]()
In terms of intuition, these terms correspond to two photon registers, one controlled by
and the other by
. For example, the Two-Photon Loss operator corresponds to two photons annihilated by
in the latter register while one photon being created in the former register by
, representing a form of two-to-one photon conversion. Such parametrizations allow us to fight against drift by tuning parameters available to us,
and
, and engineer well-built cat states by utilizing quantum resources.
As suggested by the challenge notebook, we wanted to create optimization algorithms that would maximize the
bit flip and
phase flip logical lifetimes of cat qubits. To maximize these times and maintain a target bias
defined by
![]()
we wanted to tune the real and imaginary values of
and
. Through the four tuned values of
, we hoped to extract some physical meaning from the parameters.
Optimization Framework
Since the mapping from
to
is available only through simulation, we treated this as a black-box constrained optimization problem. Our objective was to maximize
subject to
, enforced by a penalty reward function:
![]()
CMA-ES
CMA-ES is a derivative-free algorithm that maintains a multivariate Gaussian over the parameter space, iteratively shifting this distribution towards higher reward regions. Figure 1 shows convergence of
,
,
, control parameters, cat size
, and the joint objective across 60 epochs.

Figure 1: CMA-ES optimization progress over 60 epochs. Top row: T_X, T_Z, noise bias η (dashed target at 320). Bottom row: control parameters, cat size α, and joint objective.
CMA-ES converged to
,
,
, with
MHz and
MHz.
Proximal Policy Optimization (PPO)
PPO is a policy-gradient RL algorithm that learns a stochastic policy and updates it via descent gradient steps, preventing large and unstable updates. Figure 2 shows the PPO results at
.

Figure 2: PPO optimization results for η = 320. T_X, T_Z, noise bias η, and control parameters all converge by epoch ~60.
PPO achieved
,
,
. This outperforms the CMA-ES model on both lifetimes. Table 1 summarizes the full comparison.
Table 1: CMA-ES vs. PPO: final optimized parameters and lifetimes.
| Quantity | CMA-ES | PPO |
| 4.89 | 4.69 | |
| 1.76 | 1.43 | |
| 0.50 | 0.82 | |
| 2.78 | 3.28 | |
0.212 | 0.261 | |
| 70 | 78.3 | |
| 324 | 325 |

Figure 3: Optimization landscape for autonomous cat-qubit stabilization in the (ε_d, g_2) parameter space…
Figure 3: Optimization landscape for autonomous cat-qubit stabilization in the
parameter space. Left: Contour map of the resulting cat size
as a function of the buffer drive amplitude
and nonlinear two-photon coupling strength
. Larger
injects more energy into the system, increasing the coherent-state separation, while larger
enhances nonlinear stabilization and suppresses runaway growth. The dashed white curve denotes the target
manifold, corresponding to operating points that maintain the desired bit-flip/phase-flip lifetime asymmetry. The cyan horizontal line indicates the experimentally motivated reference coupling
MHz. Markers compare different optimization strategies (baseline, CMA-ES, PPO, and brute-force grid optimum). Right: Stabilization ratio
over the same parameter space, indicating the competition between engineered two-photon dissipation and intrinsic single-photon loss. The horizontal black line marks the threshold
: above this boundary (
), the cat manifold is autonomously stabilized, while below it the system becomes under-stabilized and susceptible to decay. The dashed black contour again traces the
manifold, illustrating the narrow region where strong stabilization, large cat size, and favorable error bias coexist simultaneously.
We can see from that
alone sets the stabilization rate, while
sets the cat size.
Drift Analysis
Real hardware is subject to perturbations from the environment that shift parameters over time. We described three drift mechanisms.
Crescent/Moon Cat Qubits
We wanted to extend our understanding of cat qubits to the deformed crescent/moon qubit model. Since the phase space of moon qubits are deformed, they can be engineered to affect the
as well as suppress errors in a given direction. To ensure we had a good grasp of the Hamiltonian, we tried using our optimization models to simulate crescent qubits based on the Hamiltonian
![]()
under the parameters
![]()
yet ended up with a qubit that looked like a standard cat qubit

Figure 4: Our first attempt at realizing a moon qubit.
after much deliberation, stress testing our optimization models, and reading papers, we realized that we had in fact missed our Hermitian conjugate
, giving us our actual Hamiltonian
![]()
Modeling this Hamiltonian with our PPO optimization model yielded us

Figure 5: Moon Qubit modeled with the correct Hamiltonian and our PPO optimization model
confirming both the accuracy of our PPO model and Hamiltonian. Seeing we could model a system given the correct Hamiltonian with our optimization model, we were confident enough to move onto using the model to analyze other forms of drift.
Time-Dependence of Drift
We first observed the effects of added drift during simulation, allowing
to rotate with
where the time dependence of
is linear. This resulted in oscillations within optimization that correspond to the rotation period, as seen in the figure.

Figure 6: Expectation value of Z vs. time with rotating g.
Then, we wanted to approach the idea of correcting such drift behaviour in various situations.
Detuning Noise
One of the most significant areas to explore drift was detuning, where the transformation
takes place. We first saw that this detuning indeed does hurt the coherence time, as seen in the figure below:

Figure 7: Decay of coherence time T_Z with detuning Δ
Then, however, the way to counteract this detuning is more straightforward. Adding a counteracting parameter
, which we learned to be experimentally feasible through our discussions, we can try and reduce the effects of such detuning. We were, in the end, successful, as can be seen from the graph below:

Figure 8: Optimal counteracting coefficient Δ_d vs. detuning parameter Δ
Kerr Effect Nonlinearity
Adding
reveals non-monotonic behavior in both
and
, with a possible resonance near
(Figure 9). Unlike detuning, Kerr Effect drift cannot be corrected by a linear term and requires real-time optimization.

Figure 9: T_Z and T_X vs. Kerr nonlinearity intensity δ.
Correcting Drift with Moon Cat States
We then wanted to bridge our separate efforts in building moon cat states and correcting for drift. For this, we added a two-level system (TLS) interaction as the present drift, with loss operator
where
and interaction term being:
![]()
This led to the following comparison between moon cat-corrected and circular cat-corrected results: We observe that moon cat qubits provide significantly better correction, yielding a promising avenue in cat state error correction.

Figure 10: Moon and Circular Cat-Corrected Statistics
Single Qubit Gates
Beyond passive stabilization, we implemented single-qubit logical gates on the optimized cat qubit. The Z gate is expressed by
, mapping
and
. The X gate uses
, inducing a phase-space rotation of angle
at
. Gate simulations confirm analytic predictions, with small deviations arising from photon stabilization terms.
Conclusion
Our results demonstrate three key findings. First, different drift mechanisms affect cat qubits differently. Detuning can be compensated for analytically, Kerr effect nonlinearity requires real-time adaptation, and TLS interactions require modification at the state-level. Second, the exponential decay pattern of observables can identify which drift type is active. Third, moon cat states offer a promising route to improved robustness without sacrificing the biased-noise structure.
PPO outperformed CMA-ES on both lifetimes while achieving the same bias target, with final values
,
,
. Future work could explore multi-qubit extensions, real-time adaptive optimization under live drift, and combining moon cat states with full gate sets for fault-tolerant operation.
Bibliography
For any and all information used here, please refer to the bibliography, references, and files in our challenge-related github repository: Piqasso-YQuantum