arXiv · 2612.03014
A linear-size, logarithmic-depth quantum constant adder with one dirty ancilla
Abstract
Quantum arithmetic circuits often add known classical constants, for instance when implementing modular arithmetic for Shor's factoring algorithm. We give an exact circuit that performs this addition modulo $2^n$ on an $n$-qubit register. It uses one dirty ancilla and $O(n)$ NOT, CNOT, and Toffoli gates. With all-to-all connectivity, its depth is $O(\log(n+1))$. The gate count, depth, and number of ancillas are optimal in the worst case over constants.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Jingquan Luo, Lvzhou Li. 2026-12-02. A linear-size, logarithmic-depth quantum constant adder with one dirty ancilla. https://searcharxiv.org/abs/2612.03014
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.