REVIEW
A new quantum ripple-carry addition circuit
Quantum Physics · Submitted 22 Oct 2004 · 4 references
Pith's verdict: The single-ancilla ripple-carry adder is real and checkable; the abstract's unqualified 'fewer gates' is the one claim that doesn't survive counting negations.
T0 · AI review
Why Pith says this
Highlight any text to comment on it.
Referee report
The paper
The paper claims
A quantum adder that needs one scratch qubit instead of a whole register, and still runs in linear depth.
The reading
What carries the argument
The MAJ/UMA pair is the load-bearing device. MAJ is an in-place majority gate: two CNOTs followed by a Toffoli, computing $c_{i+1} = a_i b_i$ XOR $a_i c_i$ XOR $b_i c_i$ into the $a_i$ wire. UMA is its exact inverse composed with the sum step, so that applying it returns $a_i$ to its original value, passes $c_i$ back down the chain, and writes $s_i = a_i$ XOR $b_i$ XOR $c_i$ into $b_i$. Because MAJ writes the carry into a wire that already holds data, no scratch register is needed, and because UMA both uncomputes the carry and delivers the sum in one gate, the downward sweep costs no more than the upward one. The paper offers two UMA implementations, a two-CNOT version that is conceptually simpler and a three-CNOT version that admits more parallelism; only the three-CNOT version supports the depth optimizations.
Extended reading notes
Core claim
The discovery is a matched pair of reversible gates that makes a carry bit usable and then disposable without ever storing it in a dedicated wire. The first, called MAJ, computes the majority of three bits in place using two CNOTs and one Toffoli: applied to $(a_i, b_i, c_i)$ it leaves the majority $c_{i+1}$ written into the $a_i$ slot. The second, called UMA (UnMajority and Add), undoes that computation while simultaneously emitting the sum bit, restoring $a_i$ and routing $c_i$ onward. Stringing MAJ gates up the bit positions and UMA gates back down produces a complete in-place ripple-carry adder whose only extra wire is one ancilla holding $c_0$. The authors then shave the depth by commuting gates across neighbouring time-slices, by exploiting $c_0 = 0$ to replace the first MAJ with a single Toffoli, and by writing the final carry straight to the output rather than parking it in a register and copying it out. The resulting circuit is given as pseudocode (valid for $n$ at least 4) and as a worked six-bit diagram.
Load-bearing premise
The claim of lower depth and fewer gates than the earlier adder rests on a costing convention the paper adopts but does not argue for: one Toffoli equals one time-slice, negations are free, and any two qubits can interact directly.
Editorial extensions
If this is right
- Any quantum arithmetic routine built by repeated addition, such as modular exponentiation, can be compiled with a constant rather than linear workspace per adder, which reduces the number of qubits that must be kept coherent and error-corrected.
- The same circuit family, with small edits, delivers addition modulo $2^n$, addition with an incoming carry, a high-bit-only circuit, and a comparator, each with its own tabulated gate count and depth (Table 1).
- Because the adder is its own inverse when run backwards, subtraction follows from complementing one input at the start and complementing the result at the end, and comparison follows from reading the high bit of the difference.
- Rewriting the Toffolis as controlled rotations changes the depth accounting: the authors report a controlled-rotation depth of $6n-2$ rather than $2n+4$, because adjacent Toffolis can be overlapped.
Reading between the lines
- The paper's central resource comparison is only as strong as its cost model. Counting a Toffoli as one time-slice, excluding negations, and ignoring qubit connectivity all favour this design; under a fault-tolerant cost model where each Toffoli expands into several expensive non-Clifford gates, the relevant metric becomes T-depth, and the ordering against the earlier adder would need to be recompu
- The one-ancilla property matters most in architectures where qubits are the binding constraint rather than gate time, such as trapped ions or small superconducting devices; the paper does not work out which hardware regimes actually prefer this trade.
- The authors' own open question, whether constant-ancilla addition forces linear depth, is a clean separation problem: a proof that it does would explain why the logarithmic-depth constructions all pay with linearly many ancillae.
- The comparator variant is a single-ancilla primitive for the comparison step inside amplitude-estimation-style algorithms, and it would be worth checking whether it lowers the qubit budget of those routines in practice.
Original abstract
We present a new linear-depth ripple-carry quantum addition circuit. Previous addition circuits required linearly many ancillary qubits; our new adder uses only a single ancillary qubit. Also, our circuit has lower depth and fewer gates than previous ripple-carry adders.
The compiled record
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.
The abstract, sentence by sentence
We present a new linear-depth ripple-carry quantum addition circuit. Previous addition circuits required linearly many ancillary qubits; our new adder uses only a single ancillary qubit. Also, our circuit has lower depth and fewer gates than previous ripple-carry adders.
background contribution method result interpretation main claim
| # | sentence | role | the authors' own work | states the main conclusion | strength |
|---|---|---|---|---|---|
| s0 | We present a new linear-depth ripple-carry quantum addition circuit. | contribution 1.00 | 0.94 | 0.61 | asserted 1.00 |
| s1 | Previous addition circuits required linearly many ancillary qubits; our new adder uses only a single ancillary qubit. | contribution 0.88 | 0.82 | 0.32 | asserted 1.00 |
| s2 | Also, our circuit has lower depth and fewer gates than previous ripple-carry adders. | result 0.70 | 0.86 | 0.24 | asserted 1.00 |
What was examined, and what was not
- arXiv listing abstract v1
- full text
- figures and tables
- references and citing sentences
- relations to other papers
- P abstract
- S sections
- T body sentences
- C citations
- R cross-paper relations
Figures
Figures reproduced from arXiv:quant-ph/0410184 by the authors.
References
How later papers used it
119 later papers cite it
11 later papers by other authors are listed below: 10 used its method or tool and 1 compared its own results with it.
Uses its method or tool 10 of 48 papers with this label
-
By $m<n$ and the compilation given in Ref. [ref] , add can be implemented by one ancilla qubit and $𝒪(m)$ not, cnot and toffoli gates.
Efficient Quantum Algorithm for All Quantum Wavelet Transforms (2023) · Complexity of key subroutines · 0.99
-
Utilized four adders, including this paper's linear-depth majority ripple adder, to generate circuits for each multiplier design.
High Performance Quantum Modular Multipliers (2018) · 1.00 · paraphrased: the licence does not allow quoting
-
This performs the MAJ sweep of Cuccaro's ripple carry adder [ref] .
How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits (2019) · Spacetime layout · 1.00
-
Used an adder described in another work and optimized from this paper for use with T gates.
Factoring 2048-bit RSA Integers in 177 Days with 13436 Qubits and a Multimode Memory (2021) · 0.98 · paraphrased: the licence does not allow quoting
-
Based its quantum adder on the ripple carry adder design in this paper.
T-count Optimized Quantum Circuits for Bilinear Interpolation (2018) · 1.00 · paraphrased: the licence does not allow quoting
-
Implemented each direction-controlled update via multi-controlled add/subtract circuits from this paper using Toffoli and CNOT gates.
A Grover-Based Quantum Algorithm for Solving Perfect Mazes via Fitness-Guided Search (2025) · 1.00 · paraphrased: the licence does not allow quoting
-
We will be using the Quantum Ripple Carry Adder, proposed by Cuccaro et al. [ref] .
A Fully Quantum Algorithm for Image Edge Detection (2026) · Addition · 1.00
-
Selected this paper's CDKM adder for the adder circuit each round requires.
Logic Synthesis for Fault-Tolerant Quantum Computers (2013) · 1.00 · paraphrased: the licence does not allow quoting
-
Using Cuccaro ripple-carry arithmetic [ref] for the additions and subtractions, each such operation costs $2b_μ+𝒪(1)$ Toffoli gates and has depth $2b_μ+𝒪(1)$.
Efficient Quantum Circuits for Coherent Conversion Between General First- and Second-Quantized Many-Body Representations (2026) · Implementation of the canonical reconstruction map $C$: lower canonical GT rows from occupation vectors · 1.00
-
Made use of this paper's implementations adapting the quantum ripple-adder for other arithmetic tasks for its oracle definitions.
Function Maximization with Dynamic Quantum Search (2019) · 1.00 · paraphrased: the licence does not allow quoting
Compares with it 1 of 7 papers with this label
-
We compare our circuit with several known in-place quantum adders: Cuccaro Ripple-Carry Adder (RCA) [ref] , Draper Carry-Lookahead Adder (CLA) [ref] , Takahashi RCA [ref] and Gidney RCA [ref] .
New Circuit for Quantum Adder by Constant (2025) · Complexity analysis · 1.00
How the literature uses it
116 arXiv papers cite this in 189 sentences
Papers citing it · 94 sentences without a confident label
Builds on it 1 paper
-
The two adders are generalized from their binary counterparts [ref] , but the generalizations are somewhat nontrivial, as seen later.
Improved Quantum Ternary Arithmetics · Quantum Ternary Adders · 0.97
Uses its method or tool 49 papers
-
The circuit is adapted from the construction introduced in Ref. [ref] , and is conceptually equivalent to a reversible subtraction $a-b$, where the sign of the result is extracted without explicitly storing the full difference [ref] .
Demonstration of a quantum comparator on an ion-trap quantum device · Quantum Comparator · 0.96
-
By $m<n$ and the compilation given in Ref. [ref] , add can be implemented by one ancilla qubit and $𝒪(m)$ not, cnot and toffoli gates.
Efficient Quantum Algorithm for All Quantum Wavelet Transforms · Complexity of key subroutines · 0.99
-
We utilize the four adders discussed in the appendix: the Fourier basis adder [ref] , the logarithmic-depth prefix (or carry-lookahead) adder [ref] , the linear-depth majority ripple adder [ref] , and the rippled prefix adder defined in circuits:prefix_adders.
High Performance Quantum Modular Multipliers · Resource Evaluation · 1.00
Compares with it 6 papers
-
We compare our circuit with several known in-place quantum adders: Cuccaro Ripple-Carry Adder (RCA) [ref] , Draper Carry-Lookahead Adder (CLA) [ref] , Takahashi RCA [ref] and Gidney RCA [ref] .
New Circuit for Quantum Adder by Constant · Complexity analysis · 1.00
-
This compares to a KQ for a 32-bit CDKM ripple-carry adder [ref] of 12,474.
A Space-Efficient Design for Reversible Floating Point Adder in Quantum Computing · Metrics for Fault-Tolerant Quantum Circuit · 0.98
-
Note the additional number of qubits is $2n-√(n)$, which is less than twice the minimum $2n$ qubits [ref] .
An $\Theta(\sqrt{n})$-depth Quantum Adder on a 2D NTC Quantum Computer Architecture · Required Space · 0.96
Cites it as background 19 papers
-
Many implementations of addition circuits are known [ref] , but the fault-tolerant preparation of Fourier states has received less attention.
Distillation protocols for Fourier states in quantum computing · Introduction · 0.89
-
This operator is a building block in quantum arithmetic within ripple-carry adders [ref] , which are in turn essential components of numerous quantum algorithms [ref] .
Ancilla-free Quantum Adder with Sublinear Depth · MCX ladders · 0.91
-
The first method uses Toffoli gates that mirror classical binary compositions [ref] .
Truncated phase-based quantum arithmetic: error propagation and resource reduction · Introduction · 0.80
Discussion
Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.