[Paper Review] Reversible addition circuit using one ancillary bit with application to quantum computing
This paper presents a reversible quantum addition circuit that performs in-place addition of two n-bit numbers using only one ancillary qubit and O(n³) Toffoli gates. The method leverages controlled incrementation circuits based on classical reversible logic, avoiding the need for quantum Fourier transform or high-precision rotation gates, thus enabling efficient quantum arithmetic with minimal qubit overhead.
Most of the work on implementing arithmetic on a quantum computer has borrowed from results in classical reversible computing (e.g. [VBE95], [BBF02], [DKR04]). These quantum networks are inherently classical, as they can be implemented with only the Toffoli gate. Draper [D00] has proposed an inherently "quantum" network for addition based on the quantum Fourier transform. His approach has the advantage that it requires no carry qubits (the previous approaches required O(n) carry qubits). The network in [D00] uses quantum rotation gates, which must either be implemented with exponential precision, or else be approximated. In this paper I give a network of O(n^3) Toffoli gates for reversibly performing in-place addition with only a single ancillary bit, demonstrating that inherently quantum techniques are not required to achieve this goal (provided we are willing to sacrifice quadratic circuit depth). After posting the original version of this note it was pointed out to me by C. Zalka that essentially the same technique for addition was used in [BCD+96]. The scenario in that paper was different, but it is clear how the technique they described generalizes to that in this paper.
Motivation & Objective
- To design a reversible quantum addition circuit that minimizes ancillary qubit usage, addressing the high resource cost of qubits in quantum computing.
- To demonstrate that inherently quantum techniques like the quantum Fourier transform are not necessary for low-ancilla addition.
- To achieve in-place addition of two n-bit numbers modulo 2ⁿ using only a single ancillary bit.
- To provide a classically reversible circuit based on Toffoli gates that can be directly implemented in quantum networks.
- To show that O(n³) circuit depth is a feasible trade-off for achieving minimal qubit usage in quantum arithmetic.
Proposed method
- The circuit uses a sequence of controlled-incrementation operations, where each increment is conditioned on a bit of the addend a.
- Each controlled increment is implemented using a cascade of controlled NOT gates, including zero-controlled NOT gates for handling the carry flag.
- A single ancillary qubit acts as a carry flag that signals when a bit flip from 0 to 1 occurs during incrementation, enabling termination of the carry propagation.
- The controlled increment operation is constructed by adding control qubits to each gate in the increment circuit, ensuring the operation is conditional on a specific bit of a being 1.
- The circuit structure is derived from a classical reversible incrementation circuit, adapted for conditional application across all bits of the addend.
- The final addition circuit applies controlled increments in MSB-to-LSB order, ensuring correct modular addition modulo 2ⁿ.
Experimental results
Research questions
- RQ1Can in-place addition of two n-bit numbers be implemented with only one ancillary qubit using classically reversible logic?
- RQ2Is it possible to avoid the use of quantum Fourier transform or high-precision rotation gates in quantum addition circuits?
- RQ3What is the circuit depth and gate count of a reversible addition circuit that uses only one ancillary qubit?
- RQ4Can the technique used in [BCD+96] for classical reversible computation be generalized to quantum addition with minimal ancilla?
- RQ5Does a Toffoli-gate-based circuit achieve modular addition with O(n³) depth and single ancilla while remaining fully reversible?
Key findings
- The proposed addition circuit uses only one ancillary qubit, significantly reducing qubit resource requirements compared to prior methods that required O(n) ancillary qubits.
- The circuit depth is O(n³), specifically bounded by (2/3)n³ + (3/2)n² - (25/6)n + 8 for n ≥ 3, which is a trade-off for minimal ancilla usage.
- The circuit is composed solely of Toffoli, CNOT, and NOT gates, making it classically reversible and directly implementable in quantum circuits.
- The method avoids the need for quantum rotation gates or exponential-precision implementations, which are problematic in physical quantum systems.
- The approach generalizes a technique from [BCD+96], confirming that the same logic can be adapted for quantum arithmetic with minimal ancilla.
- The final state of the ancillary qubit is 1 after computation, allowing it to be reused, which supports modular and iterative quantum algorithms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.