A learner steers a quantum code without stopping it
A Nature paper from a Google Quantum AI team describes a reinforcement-learning controller that treats error-detection events inside a quantum error-correcting code as a training signal, so control settings can shift while correction continues instead of stopping for a full recalibration. On a Willow superconducting processor, steering the controls made an injected drift about 2.4 times more stable in logical error rate, and about 3.5 times more stable when the decoder was steered too. After ordinary calibration, further learning reduced logical error by about a fifth. The reported distance-7 surface code averaged roughly 7.7 logical errors per 10,000 cycles. The experiment is a quantum memory in the laboratory; uninterrupted steering of one long algorithm is explored in simulation.
The record ends here. Everything below this line is invented.
What if a quantum computer learned from its errors and never paused?
Part one
The Unpaused Code
1,516 words in the free opening
Lina's shift had no handover. The code on the cold stage had been correcting itself since the week she was hired, and the only control she was allowed to touch was the log of small nudges the learner made to the pulses.
The control room was on the second floor, above the cryostat hall, and at night it held one person and a great many screens. Lina had the chair by the window. The window looked down onto the hall, where the cold stage hung inside its nested cans like a chandelier somebody had packed for a long move, and where nothing ever visibly happened. Everything that happened, happened on the screens. There was the trace of the logical observable, a single line that was supposed to stay flat. There was the detection map, a grid of tiles that flickered when the code caught an error and corrected it. There was the learner's panel, with its log of nudges and the spread, a pale band that widened and narrowed as the controller grew more or less sure of itself. And there was the abort, which was not on a screen at all but under a hinged plastic cover on the desk, a red button the size of a coin.
She had been hired to watch. That was how the posting had put it, more or less, in a sentence that used the word oversight. The code did not need her to run. It needed her to be there in case it stopped needing nobody. The senior operators called the night shift the lighthouse, and meant it as a joke, and Lina had decided early on not to take it as one. Somebody had to keep the light on. Somebody had to be the person who would know what an ordinary night looked like, so that she would know an extraordinary one when it came.
In a year of nights it had not come. She had seen tiles flicker in storms, when the building's power dipped and the compressors complained. She had seen the spread open wide after a scheduled maintenance and close again within the hour as the learner relearned the chip. She had seen the trace dip once, sharply, and recover, and had spent the rest of that shift writing a report about it that nobody read. She had learned the machine the way you learn a house you live in alone: which sounds meant nothing, which meant the pipes, which meant you should get up and look.
She liked the nudges. They were thinner than a calibration sheet, and they never asked the machine to forget the state it was protecting. A drift in one coupler showed up as extra detection clicks. By the time her coffee was cool, the learner had walked the pulse back.
She had a habit, in the first hour, of reading the nudges aloud under her breath, the way her grandmother had read the shipping forecast. Coupler four, a hair down. Qubit eleven, a hair forward in phase. Coupler four again. Each one was a small admission by the machine that the world had moved a little while it was not looking, and a small correction, made without stopping, without forgetting. It soothed her. Most of the job was this: watching a thing take care of itself, and learning its rhythm well enough to notice a missed beat.
The learner did not get tired. It did not get bored. On the long nights in winter, when the building creaked and the heating ticked and the hall below was dark except for the status lights, she sometimes felt that she and the controller were the only two awake things for a mile, and that she was the less reliable of the two. She did not mind that. She had not come to the job to be reliable. She had come to be the part that could say no.
Tonight the clicks did not walk back. They gathered on one measure site and stayed, a fine rain on a single tile. The learner's spread, which usually tightened when it was sure, opened again. The card on the wall called that exploration. It was how the machine kept up with a slow drift. It was also how a living computation could be poked until it failed.
She pulled the detection map up to full screen. The tile that was raining sat at the edge of the data region, one of the measure sites that listened to its four neighbors and reported when they disagreed. On an ordinary night that tile might flicker once in a while and go quiet. Tonight it flickered and flickered, a steady stutter, and the learner's nudges had begun to cluster on the couplers around it, small and then less small, as if the controller were pressing on a bruise to find its edges.
She checked the job board. That was the other thing that made tonight different, and she had been not thinking about it since she sat down. The code was not idling as a memory. It was carrying a resident job, a long run for a partner group, logged under a project name she did not recognize and a note in capital letters: NON-RESTARTABLE. DO NOT ABORT WITHOUT CALLING. Under it was a phone number with a time zone where it was the middle of the afternoon. She looked at the number for a long time. Then she looked at the trace. The line was still flat, but there was a softness in it now, a faint downward lean that had not been there an hour ago, the kind of thing you saw only if you had spent a year looking at the line when it was well.
Lina set her palm on the abort that would dump the logical state and start the old calibration from nothing. The clicks stepped sideways, onto a second site, as if the trouble had moved rather than grown.
She leaned forward until her nose was nearly at the screen. It was not much. A second tile stuttering, the first one quieting by half. A drift that was moving was a drift with a cause, something physical shifting slowly in the chip, and a learner that followed it was a learner doing its job. A drift that was growing was a failure, and a learner that followed it into the dark was a learner being poked to death by its own curiosity. From the map alone she could not tell which. She could only tell that the trouble had a shape now, and that the shape was going sideways.
The procedure was printed on a laminated sheet beside the button and she knew it by heart. If the logical error estimate crosses the threshold, abort, recalibrate, rewrite the state, log the cause. The threshold was a dotted line on the trace. The trace was not across it. It was leaning toward it, slowly, the way a fence leans before the post goes. The procedure did not say what to do about leaning. The procedure assumed the world would be either well or broken, and that the operator would know which.
She knew what her trainer would have said, because he had said it about other things. When in doubt, the button is cheap and the state is cheap. Rewrite it, recalibrate, go home. He had been right about every state she had ever sat beside, because every one of them had been a memory, a test pattern written and rewritten a thousand times a day for no one. He had never said what to do when the state was not cheap. She suspected he had never sat beside one.
She lifted the plastic cover with her thumb. It made a small click. Her palm rested on the button and did not press, and she could feel her own pulse in it, and she thought, absurdly, of the job's owner somewhere in the afternoon, eating lunch, not knowing that a stranger on the night shift was deciding whether eleven days of their work would end in the next ten microseconds. She thought about calling. She thought about what she would say. There is a tile that will not stop clicking and a band that will not close, and I do not know what it means, and neither does the machine.
Eleven days. She had worked it out from the job board. The run had gone in on a Monday, eleven nights ago, and she had sat beside it for eight of those nights without once thinking about what was inside. It had been a line on the board and a note in capitals. Now it was the only thing in the room.
The learner made another nudge. Then another. The spread widened further, past anything she had seen on her shifts, a pale fog across the panel. And the clicks, which had been raining on one tile for forty minutes, flickered on a neighbor.
She lifted her hand. On the trace, the observable that had been fading held its line.
What’s real
- Error detections can train controls during correction
- Injected drift was stabilized without a full stop
- Further learning cut logical error after calibration
- The demonstration was a laboratory quantum memory
What’s invented
- A code that runs for years without a pause
- Lina and the abort under her palm
- A drift that steps to a second site
- An observable that holds because she waits
Part two: The Spread She Would Not Close
One payment through Stripe. No account and no subscription. You return here to read the sequel.
Part two
The Spread She Would Not Close
4,046 words in the sequel · 28 min for the complete fiction
Filed under physics, quantum error correction, reinforcement learning, superconducting qubits.