On November 30 and December 1, 2026, I ran an error-corrected quantum memory on ibm_phoenix, a 120-qubit IBM processor that anyone with a cloud account can rent. The memory used fifty physical qubits to hold one logical qubit for up to 350 rounds of error correction, which is a little over 0.6 ms. I haven’t been able to find another surface-code memory on a superconducting cloud machine that ran longer or had a lower error rate per round.

The test is quite straightforward. Prepare a patch of physical qubits as one logical qubit in |0⟩L, wait, and measure. This is repeated thousands of times, and ⟨ZL⟩ is the average result when each |0⟩ measurement is counted as +1 and each |1⟩ as −1. As shown in Figure 1, it starts near 1 and decays as e−t/TL toward 0, where the measurement is just a coin flip. The logical lifetime TL is the time it takes for ⟨ZL⟩ to fall to 1/e. In my best run it was 538 μs. The best physical qubit on the chip has an echo-protected coherence time T2 of about 295 μs. A stored |0⟩L outlived it 1.8 times over.

The stored logical value against rounds and time for the longest run, the best run and the best physical qubit

Figure 1. The stored value ⟨ZL⟩ against the number of rounds (bottom) and time (top), at 1.7 μs per round. The blue points are the longest run, on November 30, measured at five depths out to 350 rounds, with a fitted decay. The orange point is the best run, on December 1, at 250 rounds. The dashed curve is e−t/T2 for the best physical qubit on the chip. A lifetime, TL or T2, is the time for a curve to fall to 1/e. Both runs stored |0⟩L.

A surface code spreads one logical qubit over a checkerboard of physical ones. Half of them, the data qubits, hold the state. The other half, the measure qubits, serve as checks to detect flips in the data qubits. They each run four two-qubit CZ gates with their data neighbors and are then read out and reset, every round. Each readout gives the parity of four data qubits. A decoder (here minimum-weight perfect matching) takes the detection events, the checks whose parity changed since the last round, and infers where errors struck.

Physical qubits are prone to both bit flips (|0⟩ ↔ |1⟩) and phase flips (|+⟩ ↔ |−⟩). The code protects against each type of error along a different axis of the patch. The code distance d along a patch axis is the length of the shortest chain of errors that flips the logical state without being noticed. The ibm_phoenix chip is a 12 × 10 grid with some defective qubits, so it can only hold a 7 × 3 strip, not a square patch. This is distance 7 against bit flips, which is what a |0⟩L memory tests, and only distance 3 against phase flips. I didn’t measure how the strip holds up against phase flips, and at distance 3 it would probably do worse than the best physical qubit. So the 1.8 times is for a stored |0⟩L, and not for a logical qubit holding an arbitrary state. I also ran a second strip, rotated a quarter turn so that it is distance 7 against phase flips, which put one of the defective qubits inside it. Storing |+⟩L, it reached TL = 324 μs. Google’s Willow processor is big enough to hold a full 7 × 7 patch, which is distance 7 against both types of error. They tested it in 2024, and it outlived its best physical qubit more than twice over.

Leakage

The physical qubits are transmons, which have levels above |0⟩ and |1⟩, and now and then a CZ gate leaks one into an invalid |2⟩ state. A reset can return a leaked measure qubit to |0⟩. But a data qubit is never reset, so a |2⟩ there can spoil its parity checks for many rounds. This produces errors which are correlated in time, and standard decoders don’t expect that.

In October 2026, Kan and colleagues ran similar rectangular memories on ibm_phoenix and showed that a larger distance gave a lower error rate. But in their runs of up to 150 rounds, the error per round of their largest patch (d = 6) increased by a factor of about 2.5 between the early rounds and the late ones. They named leakage as one possible cause, but left the question open.

Google clears leakage on its own machines with dedicated removal gates that IBM’s cloud doesn’t offer. I abused the IBM measure-and-reset instruction (measure_reset_2) to get a similar effect.

Walking circuits

In a standard, static circuit every qubit keeps its role for the whole run. In 2023 McEwen, Bacon and Gidney, building on a 2014 proposal by Ghosh and Fowler, designed walking circuits. The data and measure qubits trade places every round, with no extra layers of CZ gates. Each qubit then passes through a reset every second round, so none can stay in |2⟩ for long.

Google ran walking memories on its own hardware in 2024, for up to 54 rounds. In October 2026 Harper and colleagues ran a walking circuit on ibm_phoenix itself, in a related 170-round test that stores no logical qubit. That same month, Quantinuum’s trapped-ion Helios swapped roles every round in 20-round color-code memories. As far as I can find, nobody had run a walking surface-code memory on a superconducting cloud machine, or any walking memory for as many rounds.

Mine decayed as a single exponential through all 350 rounds, with a logical error rate εL of 0.18% per 1.7 μs round. Increasing the distance from d = 5 to d = 7 reduced εL by a factor of Λ ≈ 2 in both orientations of the strip. The larger code still had that advantage hundreds of rounds into a run.

Good and bad placements

The fifty qubits are arranged like a checkerboard, and there are two ways to place a static patch on it. One placement puts the data qubits on the white squares, and the other is shifted over by one square so that they are on the black squares. The pattern of gates is the same for both. Walking involves shifting the patch back and forth between them every round, swapping the white and black squares between the data and measure roles.

Animation of the ibm_phoenix chip with the patch as a black and white checkerboard, its data qubits stepping between the black and white squares, the three circuits over four rounds, and bars for their error per round and lingering errors

Figure 2. On the left, the 50 qubits of the patch on ibm_phoenix, colored as a checkerboard. On the right, each circuit over four rounds, where a black box means the data qubits sit on the black squares in that round. The static circuit with data on black uses the poor link (red) in every round. The bars give the logical error per round and the autocovariance of detection events at a lag of 10 rounds, measured side by side on December 1 with 150 rounds each. All three circuits store |0⟩L.

The two placements were run side by side on December 1, and one of them had 2.3 times the εL of the other. Earlier runs also showed the same placement performing worse. On the bad placement, an earlier run showed that increasing the distance from d = 5 to d = 7 made almost no difference (Λ ≈ 1.1). In another earlier run, the bad placement didn’t provide any early warning, as its error rate was about 0.2% per round for the first dozen or so rounds and only rose to about 0.4% later in the run. This rise is similar to what Kan and colleagues saw with their patch. The bad placement uses one poor link between two qubits in every round. But a smaller patch that uses the same link shows no gap, so it remains unclear how to identify and avoid a bad placement.

Walking was resilient to the bad placement. In both December 1 runs, walking between it and the good placement did as well as a non-walking run on the good placement alone. So judged only by the logical error rate εL, a well-placed static patch is as good as walking on this chip. Walking did leave fewer errors that linger, as Google had seen on its own chips. On the walking patch, the autocovariance of detection events at a lag of 10 rounds was about 5 times lower than on the good static placement.

Research workflow

The code for this project was written by Gemini Neon (in Antigravity), Fable 5.2 and Opus 5.5 (in Claude Code). They drove a lot of exploration of various error correcting codes, analyzed their performance and measured the error rates and calibration of IBM’s cloud quantum devices.

My role was a lot like being the principal investigator of a small lab. I directed the research using a workflow I’ve developed for agents. This meant setting the goals and budgets, steering the search for longer lifetimes after the first working runs, and triaging approaches based on their promise.

The circuits, raw data and code needed to reproduce the results are available on GitHub. The code is based on Stim, PyMatching and Qiskit. This 4 day project cost about $400 in processor time, and about the same in LLM tokens.