Improved quantum algorithm for factoring integers with Jacobi symbol
Priyanka Mukhopadhyay, Patrick Rall, Elisa B. Marty, Hari Krovi
Abstract
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 gates. 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). For the classical post-processing in the factoring algorithm, we give an explicit reconstruction algorithm using LLL lattice reduction based simultaneous Diophantine approximation, 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 architectures, we expect quantum advantage for factoring numbers with about 960 bits and a square-free part of up to 320 bits: 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%, respectively.
Create a lesson
Metadata
- Categories
- quant-ph, cs.CR
- Comments
- Initial upload. 76 pages, 14 figures
Related papers
Contour-Integral Quantum Algorithm for Nonlinear Dynamics
Shared title terminologyquant-phSoumyadip Das, Mehul Pandita, Ugo Varetto et al.
Nonlinear amplitude transformations on unknown quantum states: the standard QSVT phase factors are the most expensive
Shared title terminologyquant-phJens Renders, Cédric Damour, Frédéric Cadet et al.
Thermodynamic limits of a quasi-polynomial quantum algorithm for module lattices
Shared title terminologyquant-phRalf Riedinger
Constructive examples of superadditivity of classical communication via quantum error correcting codes
Shared title terminologyquant-phPeixue Wu
Quantum entropies violate classical entropy inequalities without entanglement
Shared title terminologyquant-phMarco Fanizza
Disentanglers.jl --- Algorithms, Applications, and Profiling at Scale
Shared title terminologyquant-phAmit Jamadagni, Eugene Dumitrescu