Space-Efficient and Noise-Robust Quantum Factoring
Abstract
We provide two improvements to Regev's recent quantum factoring algorithm (Journal of the ACM 2025), addressing its space efficiency and its noise-tolerance. Our first contribution is to improve the quantum space efficiency of Regev's algorithm while keeping the circuit size the same. Our main result constructs a quantum factoring circuit using qubits and gates. We achieve the best of Shor and Regev (upto a logarithmic factor in the space complexity): on the one hand, Regev's circuit requires qubits and gates, while Shor's circuit requires gates but only qubits. As with Regev, to factor an -bit integer , we run our circuit independently times and apply Regev's classical postprocessing procedure. Our optimization is achieved by implementing efficient and reversible exponentiation with Fibonacci numbers in the exponent, rather than the usual powers of 2, adapting work by Kaliski (arXiv:1711.02491) from the classical reversible setting to the quantum setting. This technique also allows us to perform quantum modular exponentiation that is efficient in both space and size without requiring significant precomputation, a result that may be useful for other quantum algorithms. A key ingredient of our exponentiation implementation is an efficient circuit for a function resembling in-place quantum-quantum modular multiplication. Our second contribution is to show that Regev's classical postprocessing procedure can be modified to tolerate a constant fraction of the quantum circuit runs being corrupted by errors. In contrast, Regev's analysis of his classical postprocessing procedure requires all runs to be successful. In a nutshell, we achieve this using lattice reduction techniques to detect and filter out corrupt samples.
Cite
@article{arxiv.2310.00899,
title = {Space-Efficient and Noise-Robust Quantum Factoring},
author = {Seyoon Ragavan and Vinod Vaikuntanathan},
journal= {arXiv preprint arXiv:2310.00899},
year = {2025}
}
Comments
CRYPTO 2024; previously titled "Optimizing Space in Regev's Factoring Algorithm"