← Latest papers
⚛️ quantum physics

Random encoders and expurgation improve 1,873 entries of the Grassl qubit code tables

This paper reports that AI agents used random Clifford encoders combined with expurgation to discover 192 explicit binary stabilizer codes that exceed the minimum distance bounds in Grassl's tables, thereby improving 1,873 entries and demonstrating that expurgated random codes significantly outperform typical random codes in specific parameter regimes.

Original author: Marin Girard

Published 2026-11-09
📖 6 min read🧠 Deep dive

Original author: Marin Girard

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer

In the race to build a working quantum computer, the greatest obstacle is not just the fragility of the information, but the sheer difficulty of protecting it. Quantum bits, or qubits, are easily disturbed by the slightest noise, causing errors that can destroy a calculation in an instant. To survive, these delicate states must be wrapped in layers of protection known as error-correcting codes. These codes work by spreading a single piece of information across many physical qubits, creating a safety net that allows the system to detect and fix mistakes without ever looking directly at the data. The effectiveness of such a code is measured by its ability to catch errors: the more errors it can catch before the information is lost, the better the code. For decades, scientists have maintained a massive reference guide, a table of the best-known codes for every possible size and strength, serving as the map for engineers trying to build the future.

A recent study has redrawn significant portions of that map. By using a combination of randomization and a targeted cleanup process, researchers have discovered 192 new quantum codes that outperform the best-known entries in the existing guide. These new codes are not just theoretical possibilities; they are explicit, working blueprints that have been rigorously tested to prove they work exactly as claimed. The discovery suggests that for many sizes of quantum systems, the best protection available is not a carefully crafted, rigid structure, but rather a code that starts as a random arrangement and is then pruned to remove its weaknesses. This finding challenges the long-held assumption that the most efficient codes must be highly structured, revealing instead that a chaotic starting point, when refined correctly, can offer superior protection.

The work began with a simple, powerful idea: start with a random arrangement of quantum gates and then systematically remove the flaws. The researchers generated hundreds of "parent" codes by applying random sequences of operations to a set of qubits. In a typical random code, there is a high chance that some errors will slip through undetected, much like a net with holes too large to catch small fish. To fix this, the team employed a process called expurgation. They identified every specific type of error that was too light to be caught by the code's current design and then promoted those specific errors to become part of the code's own rules. By forcing the code to treat these dangerous errors as if they were part of its own structure, the code effectively closed the holes, raising its ability to detect mistakes. This process reduced the amount of information the code could hold slightly, but it dramatically increased its strength, allowing it to catch errors that previous codes missed.

To ensure these new codes were not just lucky guesses, the researchers subjected them to a level of scrutiny that is rare in this field. Instead of relying on statistical estimates or partial checks, they performed an exhaustive search to prove the limits of each code. For the lower bound, they systematically checked every possible combination of errors up to a certain weight, a task that required examining up to 40 trillion distinct possibilities on a supercomputer. For the upper bound, they found a specific example of an error that the code could not fix, proving that the code could not be any stronger than its reported limit. This dual certification means that for all 192 codes, the distance—the measure of how many errors they can catch—is known with absolute certainty. The results are concrete: 161 of these codes improved the known limits by one unit of strength, and 31 improved them by two.

The impact of these findings ripples far beyond the 192 specific examples. Because of standard rules that allow codes to be extended or shortened, these new discoveries automatically improve 1,873 entries in the global reference table. In many cases, the new codes allow for significantly more information to be stored for the same level of protection. For instance, in the range of code lengths between 170 and 250 qubits with a high strength requirement, the new codes can hold up to nine more logical bits of information than the best previously known options. This is a substantial gain, effectively allowing a quantum computer to do more work with the same number of physical components. The study found that these improvements are most pronounced where the existing table listed only a theoretical lower bound without a specific, working code, suggesting that the old table had been missing practical solutions for a long time.

The researchers also used a counting method to predict where this approach would succeed and where it would fail. They found that the method works best when the existing codes in the table are no better than what a random code would naturally achieve. In these regions, the random starting point is already strong, and the pruning process pushes it over the edge. However, where the table already contains highly structured, cyclic codes, the random approach could not compete. This distinction is crucial: it tells us that while random codes are not a universal solution, they are a powerful tool for filling the gaps in our knowledge. The study noted that alternative strategies, such as using structured circuits or building codes from small, pre-made blocks, were tested but did not perform as well as the random parents in the specific implementations and parameters tried; these results are specific to those trials rather than general prohibitions against such methods.

The entire search was conducted by artificial intelligence agents, which wrote the software, managed the massive computations on the Aurora supercomputer, and verified the results. This automation allowed the team to explore a vast landscape of possibilities that would have been impossible for a human to navigate manually. The AI did not just find the codes; it also generated the certificates that prove they work and built independent checkers to verify the findings. The result is a public collection of 192 explicit codes, complete with their mathematical descriptions and proof of their strength. These codes are not just numbers on a page; they are ready-to-use instructions for building more robust quantum systems.

Looking ahead, the study highlights a practical limit to this approach. The exhaustive checking required to certify these codes becomes computationally impossible as the size of the system grows, currently capping the method at around 250 qubits. To go further, the researchers suggest that future codes might need to be built using a different architecture, one that allows for efficient checking without needing to examine every single possibility. Until then, these 192 codes stand as the new benchmark for quantum error correction in their size range. They demonstrate that in the quest to protect quantum information, sometimes the best path forward is not to impose a rigid order, but to embrace a little chaos and then carefully prune it into something stronger.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →