← Latest papers
⚛️ quantum physics

Shared Lookups and Lazy Residues: Fewer Toffoli Gates for Factoring RSA-2048

This paper introduces "Shared Lookups" and "Residue Delay" techniques to optimize Gidney's 2025 construction for factoring RSA-2048, achieving up to 46% fewer Toffoli gates and significant resource reductions within fixed logical qubit budgets.

Original author: Monit Sharma, Hoong Chuin Lau

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

Original author: Monit Sharma, Hoong Chuin Lau

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

Breaking a secret code that protects modern banking and communication is one of the most famous challenges in computing. For decades, scientists have known that a standard computer would take thousands of years to crack a specific type of encryption called RSA-2048, which is used to secure everything from online shopping to national defense. However, a different kind of machine, called a quantum computer, could theoretically solve this puzzle in a fraction of the time. The catch is that building such a machine requires a staggering amount of resources. Current estimates suggest that to break this code, we would need a quantum computer with millions of physical parts, many of which would be prone to errors, requiring complex systems to correct them. The question for researchers is not just whether it is possible, but how to make the machine small and efficient enough to actually be built.

A team of researchers has found a way to significantly shrink the size of the quantum machine needed for this task. In a new study, they demonstrated that by changing how the computer performs its calculations, they can reduce the number of complex logic gates required to break the code by nearly half, while using fewer quantum bits, the fundamental units of information in a quantum computer. Their work focuses on a specific method for factoring large numbers, a process that is the heart of the code-breaking algorithm. By rethinking how the computer handles intermediate steps and looks up information, the researchers created a blueprint that is far more efficient than previous designs.

The researchers started with a well-known design for a quantum factoring circuit, which acts like a detailed recipe for breaking the code. This recipe involves a massive amount of repetitive work. To crack a 2048-bit number, the computer must perform a specific calculation for roughly 21,000 different small prime numbers. In the original design, the computer spends most of its time and energy on two specific tasks: looking up values in a giant table of numbers and then undoing the work it just did to clean up its workspace. These cleanup steps are necessary because quantum computers cannot simply throw away information; they must reverse their actions to return to a neutral state, a process that consumes a huge amount of computational power.

The team introduced three main changes to this process to cut down the workload. First, they realized that the computer was looking up information for each of the 21,000 prime numbers separately, even though many of these lookups were asking for the same information at the same time. Instead of asking the question 21,000 times, they grouped the primes together and asked once, retrieving answers for several primes simultaneously. This shared lookup drastically reduced the number of steps needed. Second, they changed how the computer handles its temporary work. In the old design, the computer would delete a piece of data and then immediately have to rebuild it later just to clean up the mess. The new design keeps that data in memory, acting like a checkpoint, so the computer does not have to waste time rebuilding it.

The third change involved how the computer handles the math of remainders. In the original recipe, the computer had to constantly check and correct the numbers to ensure they stayed within a specific range, a process that added many extra steps. The new design allows the computer to do the math in a simpler way, delaying the corrections until the very end of the calculation. This deferred approach removes a large portion of the repetitive work that was previously required. When combined, these three changes create a much leaner process. The researchers tested their new design using a powerful computer simulation, which acts as a virtual laboratory for quantum circuits. They found that for a machine with a specific number of quantum bits, their new design required about 15 percent fewer logic gates than the best existing version. When they allowed for a slightly larger machine, the savings grew to 46 percent fewer gates.

The study also looked at how these savings would play out on different types of future quantum hardware. The researchers tested their design against two distinct architectural models: one based on a surface code layout and another using neutral atoms. They discovered that the best design depends heavily on the specific hardware being used. On one type of machine, the new design with shared lookups was much faster. On the other, the wider data paths required by the shared lookups actually slowed the machine down. This finding highlights that there is no single "best" design for all quantum computers; the most efficient path depends on the physical machine that will eventually be built.

The researchers were careful to note that these results come from simulations and theoretical models, not from a physical machine that has been built yet. They created a new, open benchmark to ensure their numbers were accurate and could be verified by others, closing several loopholes that existed in previous counting methods. While the paper does not claim to have solved the problem of building a quantum computer, it provides a clearer, more efficient path forward. By showing that the resource requirements can be cut by nearly half, the work suggests that the dream of breaking RSA-2048 with a quantum computer is moving from the realm of the impossible to the realm of the difficult but potentially achievable. The study confirms that with smarter algorithms, we may not need as many physical parts as once feared to unlock the power of quantum computing.

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 →