While Shor’s algorithm is theoretically capable of toppling modern encryption, a recent study by researchers from armasuisse, ETH Zurich, and the Paul Scherrer Institute provides a sobering reality check. By experimentally testing the algorithm on IBM’s latest superconducting hardware, the authors demonstrate that today’s machines are still struggling with the mathematical equivalent of "Hello World."
The NISQ Reality and Hardware Constraints
We currently reside in the Noisy Intermediate-Scale Quantum (NISQ) era. While a machine with roughly a million noisy qubits could theoretically factor a 2048-bit RSA key, current platforms feature hundreds of qubits prone to significant error rates. This study investigated the practical limits of these systems, specifically focusing on the ibm_torino processor, a 133-qubit "Heron" r1 machine.
As shown in the hardware specifications, while coherence times ($T_1$ and $T_2$) are improving, gate and readout errors remain high enough to severely limit the depth of quantum circuits. These constraints force researchers to choose between using fewer qubits with longer execution times or more qubits to keep circuits "shallow" to avoid total decoherence.
Methodology: Order-Finding and Circuit Design
The researchers implemented the "order-finding" subroutine—the quantum core of Shor’s algorithm—using Parallel Quantum Phase Estimation (QPE). To avoid the pitfalls of hard-coding math for specific numbers, they programmatically assembled permutation operators using Cuccaro-style ripple-carry adders.
To distinguish successful quantum signals from background noise, the team employed "acceptance windows" and one-sided binomial tests. Success was defined by whether the measured peaks in the output distribution were statistically significant compared to a uniform baseline.
Experimental Results and the "Capability Gap"
The experiments targeted small integers $N=15, 21, \text{ and } 35$. The results highlighted a massive gap between theoretical potential and practical execution:
- $N=15$ (4-bit): Successfully factored with a clear quantum signal.
- $N=21$ (5-bit): Successfully factored, though with a lower signal-to-noise ratio.
- $N=35$ (6-bit): Reached the practical limit. Success depended heavily on the choice of the random base $a$. With a "friendly" base, a weak signal was detected; with an "unfriendly" base, noise overwhelmed the computation.
As illustrated in the experimental output, the "hit-rate" must significantly exceed the baseline to reject the null hypothesis of random noise. The study found that decoherence often drives the quantum state toward "stable fixed points," causing certain peaks to survive while others vanish, a phenomenon that complicates the interpretation of results on noisy hardware.
Conclusion: The Path to Q-Day
The findings confirm that current quantum computers pose no immediate threat to modern cryptography. The transition from factoring a 6-bit integer to a 2048-bit RSA key requires more than just additional qubits; it necessitates a fundamental shift toward Quantum Error Correction (QEC). Until we can move from noisy physical qubits to stable logical qubits, Shor’s algorithm will remain a proof-of-concept rather than a practical cryptanalytic tool. The researchers emphasize that the timeline for "Q-Day" depends entirely on breakthroughs in error rates and hardware stability rather than simple qubit counts.
Summary updated