Abstract
Shor's algorithm has seriously challenged information security based on public key cryptosystems. However, to break the widely used RSA-2048 scheme, one needs millions of physical qubits, which is far beyond current technical capabilities. Here, we report a universal quantum algorithm for integer factorization by combining the classical lattice reduction with a quantum approximate optimization algorithm (QAOA). The number of qubits required is $O(\log N/\log\log N)$, which is sublinear in the bit length of the integer $N$, making it the most qubit-saving factorization algorithm to date. We demonstrate the algorithm experimentally by factoring integers up to 48 bits with 10 superconducting qubits, the largest integer factored on a quantum device. We estimate that a quantum circuit with 372 physical qubits and a depth of thousands is necessary to challenge RSA-2048 using our algorithm. Our study shows great promise in expediting the application of current noisy quantum computers, and paves the way to factor large integers of realistic cryptographic significance.
Introduction: Bridging the Quantum Resource Gap
The security of modern digital communication, including protocols like HTTPS and VPNs, relies heavily on the RSA cryptosystem. RSA's security is predicated on the extreme computational difficulty of factoring large integers into their prime components. While Shor’s algorithm theoretically proved that quantum computers could break RSA, the practical implementation remains out of reach; factoring a 2048-bit key would require millions of high-quality, error-corrected qubits.
We are currently in the Noisy Intermediate-Scale Quantum (NISQ) era, characterized by devices with only dozens or hundreds of noisy qubits. This creates a massive "resource gap" between current hardware and the requirements of Shor’s algorithm. This research introduces a "low-resource" path to factorization designed specifically for today’s imperfect hardware.
Methods: The SQIF Algorithm
The researchers developed the Sublinear-resource Quantum Integer Factorization (SQIF) algorithm. This hybrid approach offloads the majority of the computational burden to classical systems, utilizing the quantum processor as a specialized optimizer for the most difficult steps.
- Classical Foundation: The algorithm utilizes Schnorr’s method, which employs mathematical lattices to factor integers by finding "smooth relation pairs"—numbers whose prime factors are all below a certain threshold.
- The Bottleneck: Finding these pairs involves solving the Closest Vector Problem (CVP). In a lattice grid, one must find the point nearest to a given target. This is an NP-hard problem that becomes computationally prohibitive for classical computers as the integer size increases.
- The Quantum Boost: SQIF transforms the CVP into a Hamiltonian minimization problem. It then uses the Quantum Approximate Optimization Algorithm (QAOA) to search the energy landscape for the nearest lattice point.
- Sublinear Scaling: A key innovation is the qubit requirement, which scales as $O(m/\log m)$ for an $m$-bit integer. This "sublinear" growth makes it significantly more qubit-efficient than Shor's algorithm.
Experimental Results and RSA Benchmarks
The algorithm was tested against several large integers to evaluate its performance:
- 11-bit integer (1,961): Factored using 3 qubits.
- 26-bit integer (48,567,227): Factored using 5 qubits.
- 48-bit integer (261,980,999,226,229): Factored using 10 qubits on a superconducting processor.
The 48-bit factorization represents a significant milestone, being the largest integer ever factored by a general method on a quantum device. Experimental results showed high fidelity, closely matching noiseless simulations and demonstrating the algorithm's robustness against hardware noise.
Key Results: Challenging RSA-2048
Beyond experimental demonstrations, the authors provided resource estimations for standard cryptographic challenges. They calculated that challenging the 2048-bit keys used in modern encryption would require a quantum circuit with approximately 372 physical qubits and a depth in the thousands.
This estimate is orders of magnitude lower than the millions of qubits required for Shor's algorithm, suggesting that RSA-2048 might be vulnerable much sooner than previously anticipated.
Limitations and Future Outlook
Despite its promise, the SQIF algorithm faces several hurdles:
- Convergence Uncertainty: The theoretical "quantum speedup" is not yet fully proven. It remains to be seen if QAOA will consistently outperform classical heuristics as integers scale to thousands of bits.
- Circuit Depth: While the qubit count is low, the required circuit depth is high. Maintaining quantum coherence for thousands of sequential operations on noisy hardware is a significant engineering challenge.
- Precision Requirements: As the bit-length increases, the precision required to identify the exact relation pairs grows, and environmental noise may eventually obscure the necessary signal.
The study concludes that while RSA is not broken today, the sublinear approach provides a viable roadmap for tackling cryptographic targets using NISQ-era devices.
Summary updated