Сomparative analysis of quantum subtraction circuits in the basis of modern quantum processors
DOI:
https://doi.org/10.33216/1998-7927-2026-301-3-25-32Keywords:
quantum computing, quantum arithmetic, quantum subtraction, subtractor, Qiskit, Clifford T, ripple-borrow, carry-lookahead, Kogge-Stone, QFT, Draper adderAbstract
The paper investigates six quantum subtraction circuits implemented in the Qiskit framework: the out-of-place ripple-borrow subtractor, in-place ripple-borrow subtractor, Cuccaro ripple-carry subtractor, parallel carry-lookahead subtractor, parallel-prefix Kogge–Stone subtractor, and the QFT-based subtractor following Draper’s approach. The aim of the study is to compare these circuits in terms of qubit count, gate count, circuit depth, CNOT count, CNOT depth, T-count, and T-depth after transpilation to the {CX, T, T†, H, X, S, S†} basis. It is shown that for three-bit operands, the in-place ripple-borrow and QFT-based circuits require the fewest qubits, while the Parallel Carry-lookahead subtractor demonstrates the smallest transpiled depth. The QFT-based circuit has a low number of CNOT gates; however, after decomposing controlled phase rotations (CP) into the Clifford+T basis, its T-cost becomes several orders of magnitude higher than that of the other circuits. The obtained results confirm that the choice of subtractor architecture depends on the target computational model: for fault-tolerant Clifford+T implementations, circuits with controlled T-complexity are preferable, whereas the QFT approach is more appropriate to evaluate in native phase bases.
Overall, the results show that for small bit-widths and Clifford+T-oriented implementations, the most balanced choice is the Parallel Carry-lookahead subtractor, while ripple-borrow circuits remain attractive under qubit-limited conditions. The QFT-based approach requires separate analysis in hardware models where phase shifts are cheaper or natively supported.
From a teaching and methodological perspective, such an analysis is important for developing students’ practical understanding of the architectural diversity of quantum arithmetic circuits. Comparing different types of subtractors demonstrates that the same operation can be implemented using fundamentally different approaches, which manifest differently at both logical and physical levels. This enables students to realize that the choice of an algorithm or circuit implementation depends not only on the mathematical formulation of the problem, but also on the target quantum architecture, the native gate set, the number of available qubits, and the requirements for fault-tolerant execution.
References
1. Feynman, R. P. Simulating Physics with Computers. International Journal of Theoretical Physics. 1982. Vol. 21. P. 467–488. DOI: https://doi.org/10.1007/bf02650179
2. Nielsen, M. A., Chuang, I. L. Quantum Computation and Quantum Information. 10th Anniversary ed. Cambridge: Cambridge University Press, 2010. 702 p.
3. Wong, T. G. Introduction to Classical and Quantum Computing. Omaha, NE: Rooted Grove, 2022. 400 p.
4. Preskill, J. Course Information for Physics 219/Computer Science 219: Quantum Computation. California Institute of Technology, 2015–2025. URL: https://www.preskill.caltech.edu/ph219/
5. Vedral, V., Barenco, A., Ekert, A. Quantum networks for elementary arithmetic operations. Physical Review A. 1996. Vol. 54, No. 1. P. 147–153. DOI: https://doi.org/10.1103/PhysRevA.54.147
6. Cuccaro, S. A., Draper, T. G., Kutin, S. A., Moulton, D. P. A new quantum ripple-carry addition circuit. arXiv:quant-ph/0410184, 2004. URL: https://arxiv.org/abs/quant-ph/0410184
7. Draper, T. G., Kutin, S. A., Rains, E. M., Svore, K. M. A logarithmic-depth quantum carry-lookahead adder. Quantum Information and Computation. 2006. Vol. 6, No. 4–5. P. 351–369. DOI: https://doi.org/10.26421/QIC6.4-5-4
8. Kogge, P. M., Stone, H. S. A parallel algorithm for the efficient solution of a general class of recurrence equations. IEEE Transactions on Computers. 1973. Vol. C-22, No. 8. P. 786–793. DOI: https://doi.org/10.1109/TC.1973.5009159
9. Gidney, C. Halving the cost of quantum addition. Quantum. 2018. Vol. 2. Article 74. DOI: https://doi.org/10.22331/q-2018-06-18-74
10. Ruiz-Perez, L., Garcia-Escartin, J. C. Quantum arithmetic with the Quantum Fourier Transform. Quantum Information Processing. 2017. Vol. 16. Article 152. DOI: https://doi.org/10.1007/s11128-017-1603-1
11. Draper, T. G. Addition on a Quantum Computer. arXiv:quant-ph/0008033, 2000. URL: https://arxiv.org/abs/quant-ph/0008033
12. Mykhailova, M. Quantum Programming in Depth: Solving Problems with Q# and Qiskit. Manning Publications, 2025.
13. Norlén, H. Quantum Computing in Practice with Qiskit® and IBM Quantum Experience®. Birmingham: Packt Publishing, 2020. 354 p.
14. Loredo, J. Learn Quantum Computing with Qiskit. 2nd ed. Birmingham: Packt Publishing, 2024.
p.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ю.В. Полупан

This work is licensed under a Creative Commons Attribution 4.0 International License.