arXiv:2611.26605
Fast, in-place, and ancilla-free quantum algorithms for integer multiplication and inversion
David Halpenny, Adithya Sireesh, Petros Wallden
Abstract
Arithmetic operations are a fundamental building block in the design of quantum algorithms, with their implementation cost expected to have a significant impact on the viability of a wide variety of quantum applications. In this work, we present novel algorithms for a number of in-place quantum arithmetic operations that are highly efficient in terms of their space and gate count overheads compared to the current state-of-the-art. We show that in-place modular multiplication of integers, modulo a power of two, can be performed with either a classical or quantum odd multiplier using $O(n^{1+ε})$ gates and no ancilla qubits, for any $ε>0$. We then show that standard in-place integer multiplication can be performed with a non-zero classical or quantum multiplier using $O(n^{1+ε})$ gates for any $ε>0$, with no ancilla qubits required for the classical multiplier and a logarithmic number of ancilla qubits for the quantum. Using our quantum modular multiplication algorithm, we also show that in-place modular inversion, modulo a power of two, can be performed using $O(n^{1+ε})$ gates and no ancilla qubits, for any $ε>0$. To our knowledge, these are the first quantum algorithms achieving both subquadratic gate counts and sublinear ancilla counts for each of the considered in-place operations. All but one of these fast operations are optimal in terms of memory, only requiring enough space to store the output of the operation, which overwrites the input directly. We present our multiplication algorithms as consequences of a single unified theorem, which may find further application within quantum arithmetic.
AI Summary
The paper addresses the gate–space trade-off for reversible integer arithmetic: whether multiplication and modular inversion can be implemented in place with subquadratic gate counts and few or no ancillary qubits. Here, in-place operations overwrite an input register rather than retaining it alongside a separate output. For $n$-bit integers, it reports multiplication modulo $2^n$ by either a classical or quantum odd multiplier using $O(n^{1+\varepsilon})$ gates and no ancillas, for any fixed $\varepsilon>0$. It also reports ordinary in-place integer multiplication by a nonzero classical or quantum multiplier with the same gate bound. The classical-multiplier construction requires no ancillas; the quantum-multiplier construction requires $O(\log n)$ ancillas. Modular inversion modulo $2^n$ is reported with $O(n^{1+\varepsilon})$ gates and no ancillas. The abstract identifies these as the first constructions combining subquadratic gate counts with sublinear ancilla counts for the operations considered. The multiplication constructions are presented as consequences of a unified theorem, and the inversion construction uses the modular-multiplication algorithm. However, the supplied text contains only the abstract and LaTeX preamble, so the theorem, circuit constructions, proofs, gate-model assumptions, and any practical resource estimates cannot be assessed. The explicit scope restrictions are power-of-two moduli, odd multipliers for modular multiplication, and nonzero multipliers for ordinary multiplication; no further limitations are stated in the supplied material.
Central claim may not hold: The supplied paper omits its entire technical body, so none of the central gate-count and ancilla-count claims can be verified from the provided material.
Written by gpt-6.1-sol from the paper's full text. Automated: it can be wrong.
- Comments
- 38 pages, 2 figures