An IBM team redesigns a quantum algorithm that factors numbers of the form A²B. It uses about half the qubits and Toffoli gates of the 2025 version. If their simple cost model holds, about 960-bit numbers would be in reach.
Comparison with previous classical and quantum algorithms: With respect to an explicit implementation of [2025_KRVK], we achieve more than 50% savings in Toffoli count and logical qubit-count. These are comparisons between specified circuit realizations, including common arithmetic optimizations and post-processing choices.
To place the estimates in context, we consider Mulder’s specialized classical square-free decomposition algorithm [2025_M] as the fastest known classical method, to the best of our knowledge. We compare this method to our algorithm running on fault-tolerant superconducting architectures: we perform a simple serial-CCZ-consumption analysis of surface code and bicycle architectures and estimate architecture performance in terms of ms/CCZ. In this extrapolated model we achieve quantum advantage for factoring N=A2B with 960-bit N and B of at most 320 bits: classical methods may take several years while quantum methods require under an hour to under a day (Figure ).
Going deeper
| NON-RES-DIV-cl circuit | NON-RES-DIV-clodd circuit | ||||
| 1 | 3 | 1 | 3 | ||
| Toffoli-count | - | - | |||
| T-count | |||||
| Qubit-count | Total | ||||
| Ancilla | |||||
| CNOT-count | Clifford+Toffoli | - | - | ||
| Clifford+T | - | ||||
Imagine a huge block of cheese that was built from many identical cubes stacked into a square, plus one odd leftover slab. You want to know the shape of that slab, and you are only allowed to tap the block and listen to its echo. The echo carries the slab's size as a hidden rhythm.
Earlier quantum methods could hear this rhythm, but they tapped the whole block every time, which needs a big, expensive machine. This paper first slices the block down to a small piece that still carries the same echo, then taps only that piece. The slicer is a new, lean cutting tool from the same group.
With a smaller piece to tap, each listening session needs roughly half the machine. You do need a few more sessions, and a classical puzzle-solver pieces the slab's size together from the echoes. The authors estimate that blocks of about 960 bits could be handled in under a day, but that is a projection, not a run.
The abstract, word for word, with the six densest phrases unpacked.
Integer factorization is a central example of the computational advantage offered by quantum algorithms. This motivates the study of opportunities for resource reduction in structured factoring problems that retain a demanding classical computational task. One such problem is the square-free decomposition of integers, which has received much attention in computational number theory and cryptography literature. Building on earlier works by Li et al. (2012) and Kahanamoku-Meyer et al. (2025) we have designed an improved factoring algorithm with half as many qubits and half as many Toffoli gates1. Central to these factoring algorithms is a Jacobi symbol computation procedure. In order to reduce the qubit and gate-count of the Jacobi symbol computing algorithm we have developed a pre-processing procedure using the recently developed non-restoring division algorithm of Mukhopadhyay et al. (2026)2. For the classical post-processing in the factoring algorithm, we give an explicit reconstruction algorithm using LLL lattice reduction based simultaneous Diophantine approximation3, followed by gcd normalization. This reduces the qubit and gate-count per iteration of the quantum circuit. Based on a simple analysis of fault-tolerant superconducting architectures4, we expect quantum advantage for factoring numbers with about 960 bits and a square-free part of up to 320 bits5: existing classical methods may take several years while quantum architectures need under an hour to under a day and about 1900 logical qubits. We have also probed heuristics that reduce the Toffoli and qubit count by about 40% and 50%, respectively6.
The listing covers the opening sections. Read these parts in this order.
Skip Section 2.3 if you know standard adder and multiplier circuits.
If the advantage is smaller than it looks, look here first.
To place the estimates in context, we consider Mulder’s specialized classical square-free decomposition algorithm [2025_M] as the fastest known classical method, to the best of our knowledge. We compare this method to our algorithm running on fault-tolerant superconducting architectures: we perform a simple serial-CCZ-consumption analysis of surface code and bicycle architectures and estimate architecture performance in terms of ms/CCZ. In this extrapolated model we achieve quantum advantage for factoring N=A2B with 960-bit N and B of at most 320 bits: classical methods may take several years while quantum methods require under an hour to under a day (Figure ).
qubits and Ns=⌈1/ε⌉+1 independent quantum samples, followed by polynomial-time classical post-processing. The algorithm recovers B with constant probability for fixed ε. Hence, we are able to reduce the qubit-count and gate-complexity per quantum iteration. This implies that the time taken per iteration reduces, but the number of iterations increase.
Heuristics : We probe iteration-reduction and register-sharing ideas, as conjectured in earlier works [2026_CFS, 2026_S]. We simulate the Jacobi symbol computation on structured inputs N=P2Q with m′∈{64,128,192,256,320} and ε∈{1,1/2,1/4,1/8}. With the parameters (citer,cpad)=(2.4,2.3) of [2026_S], the heuristic estimates reduce the Toffoli-count by (roughly) 40% and the qubit-count by 50% compared to the more conservative rigorous estimates (Tables and ). At m′=320 and ε=1/8 this is 3.26×106 Toffoli gates per shot and 958 logical qubits.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all