Pith. Sign in

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

How this review was made: An AI referee (selfhosted/deepseek-v4.1-flash) read the paper on October 29, 2026 and answered a fixed list of questions about it. T0 is the starting level every paper gets. The levels describe how deeply Pith has checked the paper, never the authors.

  1. T0 AI review An AI read the paper and answered a fixed list of questions.
  2. T1 Audit Automatic checks that the references and files the paper relies on exist and match.
  3. T2 Compute The paper's code or calculations re-run with the same results.
  4. T3 Formal statement The claims written out in a formal math language a computer can read.
  5. T4 Proof Those claims proved, and the proof checked by computer.

How Pith checks papers →

· 1 major objection · 7 minor · Ask about this paper · The compiled record · Read the full review →
Challenge this review Comment (0) Read on arXiv ↗
Cite ▾
arXiv IDquant-ph/0410184 (version 1)
Pith IDMK5HG3Y6, Pith's permanent record of this paper and its review
CitationDavid Petrie Moulton, Samuel A. Kutin, Steven A. Cuccaro, Thomas G. Draper. "A new quantum ripple-carry addition circuit." arXiv:quant-ph/0410184 (2004). https://pith.science/paper/MK5HG3Y6
Cite this reviewBibTeX for Pith's review of this paper
Claim paper

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

The paper sets out to build a reversible circuit that adds two $n$-bit numbers in place, writing the sum back into one of the inputs, and to do it with a single ancillary qubit rather than the $n-O(1)$ scratch qubits the standard ripple-carry construction requires. The authors care because addition is the primitive underneath essentially every quantum arithmetic routine, and scratch qubits are expensive: they must be initialized, kept coherent, and error-corrected. Their circuit keeps the classical ripple-carry shape, sweeping carries up from the low-order bit and then sweeping back down to erase them, but fuses the two sweeps into a matched pair of gates. For $n$-bit inputs the result uses $2n-1$ Toffoli gates, $5n-3$ CNOTs and $2n-4$ negations, at depth $2n+4$, against $4n+O(1)$ Toffolis, $4n+O(1)$ CNOTs and linearly many ancillae for the earlier construction. The same machinery is then trimmed into a modulo-$2^n$ adder, an adder that accepts an incoming carry, a circuit that computes only the high bit, and, by complementing one input, a comparator.

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

Editorial extensions of the paper, not claims the author makes directly.

  • 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.

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-23: 1 request, 2,825 input tokens.

What the abstract itself states, as probabilities: claims first 0.12 · states limitation 0.06 · human participants 0.02 · controlled comparison 0.42 · randomized assignment 0.01 · states quantitative result 0.90 · compares with prior results 0.98 · mentions code or data availability 0.03.

The abstract, sentence by sentence

arXiv listing abstract v1. Results and the main claim are underlined; .

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

What the classifier reports for each sentence. The number is the probability it gave the label.
#sentencerolethe authors' own workstates the main conclusionstrength
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 kind of paper the classifier reports this is: method or tool 1.00 · evidence from proof or derivation 0.70.

What was examined, and what was not

sources read
  • arXiv listing abstract v1
not examined
  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers
levels run
  • P abstract
not run
  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. Every number in the measurements table is the authors', checked by code. Record as JSON

Figures
Figure 1. The in-place majority gate MAJ The second component, depicted in
Figure 2. Two implementations of the UMA gate The effect of using these two gates together is shown in
Figure 3. Combining the MAJ and UMA gates 0 = c0 M c0 ⊕ a0 U 0 b0 A b0 ⊕ a0 M s0 a0 J M c1 ⊕ a1 U A a0 b1 A b1 ⊕ a1 M s1 a1 J M c2 ⊕ a2 U A a1 b2 A b2 ⊕ a2 M s2 a2 J M c3 ⊕ a3 U A a2 b3 A b3 ⊕ a3 M s3 a3 J M c4 ⊕ a4 U A a3 b4 A b4 ⊕ a4 M s4 a4 J M c5 ⊕ a5 U A a4 b5 A b5 ⊕ a5 M s5 a5 J c6 r A a5 z z ❡ z ⊕ s6
Figure 4. A simple ripple-carry adder for n = 6. 3 Improving the circuit We can reduce the depth of the basic circuit of
Figure 5. The ripple-carry adder for n ≥ 4. Each line of pseudocode corresponds to a single time-slice. b0 r r ❡ s0 a0 r r r a0 0 ❡ ❡ r r r ❡ ❡ 0 b1 ❡ r ❡ ❡ r ❡ ❡ s1 a1 r r ❡ ❡ r r r ❡ ❡ r r a1 b2 ❡ r ❡ ❡ r ❡ ❡ s2 a2 r r ❡ ❡ r r r ❡ ❡ r r a2 b3 ❡ r ❡ ❡ r ❡ ❡ s3 a3 r r ❡ ❡ r r r ❡ ❡ r r a3 b4 ❡ r ❡ ❡ r ❡ ❡ s4 a4 r r ❡ ❡ r r ❡ ❡ r r a4 b5 ❡ r ❡ ❡ s5 a5 r r r r r a5 z ❡ ❡ z ⊕ s6
Figure 6. The ripple-carry adder for n = 6. 4
Figure 7. 5-bit ripple carry adder written in terms of contro

Figures reproduced from arXiv:quant-ph/0410184 by the authors.

References
How later papers used it

119 later papers cite it

Evidence: substantial. 119 of the citing papers share no author with it, and 55 of those carry a confident label from Pith's citation classifier.

Pith read 28 of the 188 citing sentences, choosing only those whose citation markers point at this paper alone, and wrote the paraphrases from them. The summary, the counts, the evidence level, the links and the quotes come from code; the summary counts the papers listed below. A later paper is listed under a label when Pith's citation classifier gives one of its sentences that label at probability 0.8 or more (0.95 for support), Pith's reading finds that the citing paper itself did it, and a second check confirms the paraphrase against the sentence. This section lists uses only. It does not list criticism or disagreement, so their absence here says nothing about how the paper has been received. Papers that share an author with this one are listed apart, under "By the same authors". A quote is the citing authors' own sentence, shown when their paper's licence is CC BY, CC BY-SA or CC0. JSON

Uses its method or tool 10 of 48 papers with this label
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

Each citing sentence is taken from the citing paper's LaTeX source and typed by Pith's classifier. A label appears at probability 0.8 or more (0.95 for support), a contest at 0.7 or more; the quoted words are the citing authors'. How each label was checked · JSON

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
Cites it as background 19 papers

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.