The Gist of It Logo
⚛️ Quantum & Qubits ★ Impact 9.1/10 arXiv:2612.03014v1 • December 3, 2026 • 1 min read
📄 arXiv Preprint • Not Peer-Reviewed ✓ Full-Text Verified

Quantum Math Gets an Upgrade: Adding Numbers at Lightning Speed

Original paper: A linear-size, logarithmic-depth quantum constant adder with one dirty ancilla

Authors: Jingquan Luo, Lvzhou Li

Researchers have designed a record-breaking quantum circuit that adds constant numbers with maximum possible efficiency, slashing time and hardware waste.
Figure 1: The CNOT ladder and its inverse on three data bits. The forward circuit computes $y_{0}=z_{0}$ , $y_{1}=z_{1}\oplus z_{0}$ , and $y_{2}=z_{2}\oplus y_{1}$ . The inverse reverses the gate order to recover $z$ from $y$ .
Figure from paper: Figure 1: The CNOT ladder and its inverse on three data bits. The forward circuit computes $y_{0}=z_{0}$ , $y_{1}=z_{1}\oplus z_{0}$ , and $y_{2}=z_{2}\oplus y_{1}$ . The inverse reverses the gate order to recover $z$ from $y$ .

"Imagine a complex system of clockwork gears where certain teeth are engaged or bypassed based on existing settings. When you turn the main dial, specialized ratchets instantly transmit the motion across segmented gaps, updating all positions in parallel without wasting extra space."

As quantum computers scale up to crack massive cryptographic codes and solve complex simulations, every tiny efficiency counts. This optimal constant adder reduces the hardware overhead and processing time needed for crucial algorithms like Shor's factoring method, bringing practical quantum computing one step closer to reality.

  • Achieves optimal linear gate count and logarithmic depth.
  • Requires only one dirty auxiliary qubit to function.
  • Critical for accelerating modular arithmetic in quantum algorithms.
📑 Original arXiv Technical 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.

✍️ Are you an author of this paper? Add code/demo links or a note

Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.

𝕏 Share Your Paper's Gist on X

📬 Get daily Quantum Computing breakthroughs in your inbox

We scan hundreds of daily arXiv preprints across 6 frontier fields and send the top breakthroughs in plain English—with everyday analogies and 1-click PhD briefs. Free forever.

More Curated Breakthroughs

Hand-picked from the December 3, 2026 edition.