REVIEW 2 major objections 4 minor 23 references
Construction of Boolean Logic Gates Using QFT-Based Adder Architecture
T0 review · 2 major / 4 minor · reviewed 2026-08-16 · deepseek-v4-flash
Pith's one-line read This paper presents a QFT-based adder circuit that implements AND, OR, XOR, NOR, and NAND reversibly, with an $N$-input NAND costing $N+\log_2 N$ qubits.
desk verdict The 2-input QFT-adder gates are correct but known; the N-input scaling claim is false as stated. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The central object is the QFT-based adder as a reversible half-adder: input qubits $|q_0\rangle$ and $|q_1\rangle$ plus ancilla $|A\rangle$ initialized to $|0\rangle$, with QFT, conditional phase gates, and inverse QFT, so that measuring $|A\rangle$ gives the carry bit and measuring $|q_0\rangle$ gives the sum bit. This one circuit carries the entire argument because every logic gate in the paper is the same adder with fixed pre- or post-processing: the carry channel already computes AND, the sum channel already computes XOR, and the NOT gates implement De Morgan's identities that convert AND into OR and NAND into NOR.
What would settle it
On a statevector simulator, build the $N=3$ QFT-adder circuit exactly as specified and feed it all eight computational basis states; if the measured ancilla does not equal the AND of the three data bits in every case, the carry-out-as-NAND construction and the $N+\log_2 N$ qubit count collapse.
Extended reading notes
Core claim
The paper's central claim is that the QFT-based adder already contains the Boolean gates it appears to lack. Because the adder's ancillary qubit $|A\rangle$ carries the AND of the two data inputs and its first data qubit $|q_0\rangle$ carries their XOR, no new arithmetic structure is needed to realize logic: an X gate on the ancilla turns AND into NAND, X gates on both data inputs turn the carry into OR by De Morgan's law, the same two X gates without the post-processing X give NOR, and a SWAP between the ancilla and the first data qubit moves the XOR to the measured channel. The paper extends the two-input construction to $N$ inputs by reading the carry-out bit, obtaining an $N$-input NAND with $N+\log_2 N$ qubits.
Load-bearing premise
The entire gate set rests on the assumption, taken from prior QFT-adder work and checked only on a two-input composer truth table, that after the inverse transform the ancilla holds the AND (carry) and the first data qubit holds the XOR (sum); if that mapping is wrong for larger inputs, every constructed gate fails.
Editorial extensions
If this is right
- All five basic Boolean functions are reachable from one fixed adder template by choosing which wires get an X gate or a SWAP.
- An $N$-input NAND requires $N+\log_2 N$ qubits rather than the $2N-1$ qubits of a Toffoli-based construction, so the qubit advantage grows with input count.
- The same circuit can serve as an arithmetic unit and a logic unit, since addition and Boolean operations share the same QFT-adder core.
- Because the output is read from a single ancilla after a fixed set of single-qubit or SWAP gates, the method gives a uniform measurement pattern for all five gates.
Reading between the lines
- Beyond the paper, the same carry/sum extraction could be applied to a QFT-based full adder to produce multi-bit AND/XOR masks, letting the logic block scale beyond single-bit operations without a separate gate set.
- The paper's verification is limited to two-input truth tables; a natural check is to run the stated $N$-input NAND construction for $N=3$ and $N=4$ on a statevector simulator, where any mismatch between the measured ancilla and the $N$-input AND would falsify the resource claim.
- If the resource count survives that check, the practical trade-off worth measuring is circuit depth and gate count versus qubit savings, since QFT-based adders use more elementary gates for small inputs.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper presents a quantum Fourier transform (QFT)-based adder circuit used as a half-adder, and it implements two-input reversible Boolean gates (AND, NAND, OR, NOR, XOR) by applying pre- and post-processing gates around that adder. The truth tables for all five two-input gates are verified on the IBM Quantum Composer. The paper further claims that an N-input NAND gate can be obtained by extracting the carry-out bit of a one-bit N-input QFT-based adder, with a total qubit count of N + log2 N, and that this scaling offers a resource advantage over Toffoli-based designs.
Significance. The two-input gate constructions are correct: the carry output of the half-adder yields AND, the sum output yields XOR, and the De Morgan based pre- and post-processing for OR and NOR is sound and matches the expected truth tables for all four input states. The IBM Quantum Composer verification provides concrete evidence for these gates. However, the paper's advertised significance rests on the N-input scaling claim, which is false as stated for general N: the carry-out of the sum of N one-bit inputs does not equal the AND of all inputs except in special cases. This undermines the claimed qubit-count advantage over Toffoli-based designs, which the abstract, Section 3, and the Conclusion all present as the main motivation. The contribution is therefore reduced to a straightforward application of the known QFT half-adder to two-input gates.
major comments (2)
- [Section 3 (Results and Discussion), paragraph beginning 'Quantum equivalents of classical logic gates have also been…] The claim that extracting the carry-out bit from a one-bit N-input QFT-based adder implements N-input NAND is incorrect for general N. For N=3 with input state |110> (i.e., q0=1, q1=1, q2=0), the integer sum is 2, so the most significant bit of the sum (carry-out) is 1; inverting it gives 0, whereas NAND(1,1,0)=1. The carry-out of the sum of N one-bit inputs indicates whether the sum has reached a power-of-two threshold, not whether all N inputs are 1. The equality holds only in special cases (e.g., N=2, or N=2^k with an appropriately defined carry), and the paper states no such restriction. Since the N+log2 N qubit claim and the resource-efficiency advantage over Toffoli designs rest on this construction, this is a load-bearing error.
- [Section 3 (Results and Discussion), same paragraph; also Section 4 (Conclusion)] The paper does not provide a definition or circuit diagram for the 'one-bit (n=1) N-input QFT-based adder', nor does it prove the carry-out mapping claimed for NAND. The N+log2 N qubit count is asserted by citing the authors' own reference [13], which is listed without volume, page, or year and is not accessible to the reader. Because this scaling claim is the central motivation of the manuscript, the construction should be fully specified and the carry-AND relation either derived or explicitly restricted to the cases where it actually holds.
minor comments (4)
- [Section 2.C] The sentence 'the measurement is applied on the |A⟩ qubit gives the Carry-bit encoded in c1 bit' is ungrammatical and should be revised for clarity.
- [Introduction and Conclusion] The claim that the approach 'reduces noise arising from interference between quantum channels' is not supported by any data or reference in the manuscript; it should be substantiated or removed.
- [References] Reference [13] is incomplete; full bibliographic details (volume, page, year, DOI if available) should be provided.
- [Section 3, N-input paragraph] The formula N + log2 N is used without stating that N must be a power of two; for non-integer log2 N the count is ill-defined, so the intended domain of the claim should be made explicit if it is retained.
Circularity Check
N-input NAND resource scaling is supported only by the authors' own prior work; the 2-input gate constructions are otherwise self-contained.
-
self citation load bearing
[Sec. 3 (Results and Discussion), paragraph on N-input NAND and qubit reduction, page 4]
"By extracting the carry-out bit from a one-bit ( n = 1) N-input QFT-based adder circuit, the NAND operation can be efficiently achieved. This method reduces the total qubit requirement to N + log2 N, providing a scalable and resource-efficient solution for implementing multi-input NAND logic in quantum circuits [13]."
The paper's main scalability advantage -- N+log2 N qubits for N-input NAND via the carry-out bit -- is nowhere derived in this manuscript; the only support is Ref. [13], whose authors overlap with the present paper. The 2-input gate implementations in Secs. 3A-3E cannot establish the N-input behavior, so the N-input claim reduces to an unverified self-citation rather than to an independent derivation. The premise that the carry-out of a one-bit N-input adder realizes NAND is likewise imported from [13] without proof or counting argument.
full rationale
The 2-input AND, NAND, OR, NOR, and XOR circuits are self-contained constructions built from the standard QFT-adder half-adder behavior (carry = AND, sum = XOR), with pre/post processing by X and SWAP gates implementing De Morgan equivalences. These are verified by direct truth tables and do not rely on any fitted parameter or on a circular definition. The only circularity found is the load-bearing N-input scaling claim: the advertised reduction to N+log2 N qubits and the identification of the carry-out with NAND are asserted with a citation to the authors' own prior work, not derived in this paper. I do not count the possible mathematical incorrectness of carry-out = NAND for N>2 as circularity; that is a correctness risk. Because the central 2-input demonstrations stand independently, the score is 4 rather than higher.
Assumptions & free parameters
assumptions (3)
- domain assumption The QFT-based adder computes a half-adder: the ancilla |A> measures the carry (AND) and the first data qubit |q0> measures the sum (XOR).
- ad hoc to paper An N-input QFT-adder-based NAND needs N + log2 N qubits and its carry-out gives the NAND of all inputs.
- standard math De Morgan's laws allow OR and NOR to be obtained by negating inputs and/or output of an AND gate.
Cite this review
Pith. "Pith review of Construction of Boolean Logic Gates Using QFT-Based Adder Architecture." pith.science (2026). https://pith.science/paper/YLHBR7VO
@misc{pith2026250417090,
author = {Pith},
title = {Pith review of: Construction of Boolean Logic Gates Using QFT-Based Adder Architecture},
year = {2026},
howpublished = {\url{https://pith.science/paper/YLHBR7VO}},
note = {Machine review of arXiv:2504.17090}
}
read the original abstract
In this study, we construct the quantum reversible counterparts of the logical AND, OR, XOR, NOR, and NAND gates. We utilize a quantum Fourier transform (QFT)-based adder circuit that replicates the functionality of a digital half-adder, which computes the sum and carry of two input bits using XOR and AND gates, respectively. To realize different logic gate operations, we apply pre- and post-processing to the QFT-adder using quantum gates, leveraging Boolean algebra properties to enable conversions between various logical functions. Although the number of elementary quantum logic gates increases for a small number of inputs-making the approach appear inefficient at first glance-the overall required qubit count is reduced compared to non-QFT-based designs as the number of inputs increases.
Figures
Figures from the paper (7 more)
Reference graph
Works this paper leans on
-
[13]
Çakmak, S., Kurt, M., Gençten, A.: Quantum Fourier Transform-Based Arithmetic Logic Unit on a Quantum Processor. Annalen der Physik
-
[1]
Bennett, C.H., DiVincenzo, D.P .: Quantum information and computation. Nature. 404, 247–255 (2000)
work page 2000
-
[2]
Chae, E., Choi, J., Kim, J.: An elementary review on basic principles and developments of qubits for quantum computing. Nano Conver- gence. 11, 11 (2024)
work page 2024
-
[3]
Harrow, A.W., Montanaro, A.: Quantum computational supremacy. Nature. 549, 203–209 (2017)
work page 2017
-
[4]
Boixo, S., Isakov, S.V., Smelyanskiy, V.N., Babbush, R., Ding, N., Jiang, Z., Bremner, M.J., Martinis, J.M., Neven, H.: Characterizing quantum supremacy in near-term devices. Nature Phys. 14, 595–600 (2018)
work page 2018
-
[5]
Arute, F ., Arya, K., Babbush, R., et al.: Quantum supremacy using a programmable superconducting processor. Nature. 574, 505–510 (2019). https://doi.org/10.1038/s41586-019-1666-5
-
[6]
Cambridge University Press (2012)
Nielsen, M.A., Chuang, I.L.: Quantum Computation and Quantum Information: 10th Anniversary Edition. Cambridge University Press (2012)
work page 2012
-
[7]
Shor, P .W.: Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer. SIAM J. Comput. 26, 1484–1509 (1997)
work page 1997
Show all 23 references
-
[8]
In: Proceedings of the twenty-eighth annual ACM symposium on The- ory of computing - STOC ’96
Grover, L.K.: A fast quantum mechanical algorithm for database search. In: Proceedings of the twenty-eighth annual ACM symposium on The- ory of computing - STOC ’96. pp. 212–219. ACM Press, Philadelphia, Pennsylvania, United States (1996)
1996
-
[9]
Numerical Linear Algebra App
Camps, D., Van Beeumen, R., Y ang, C.: Quantum Fourier transform revisited. Numerical Linear Algebra App. 28, e2331 (2021)
2021
-
[10]
Draper, T.G.: Addition on a Quantum Computer, https://arxiv.org/abs/quant-ph/0008033, (2000)
2000 arXiv
-
[11]
Quantum Inf Process
Ruiz-Perez, L., Garcia-Escartin, J.C.: Quantum arithmetic with the quantum Fourier transform. Quantum Inf Process. 16, 152 (2017)
2017
-
[12]
¸ Sahin, E.: Quantum arithmetic operations based on quantum fourier transform on signed integers. Int. J. Quantum Inform. 18, 2050035 (2020)
2020
-
[14]
In: 2020 IEEE Third International Conference on Artificial Intelligence and Knowledge Engi- neering (AIKE)
Abdelgaber, N., Nikolopoulos, C.: Overview on Quantum Comput- ing and its Applications in Artificial Intelligence. In: 2020 IEEE Third International Conference on Artificial Intelligence and Knowledge Engi- neering (AIKE). pp. 198–199. IEEE, Laguna Hills, CA, USA (2020)
2020
-
[15]
Jozsa, R.: Quantum algorithms and the Fourier transform. Proc. R. Soc. Lond. A. 454, 323–337 (1998)
1998
-
[16]
Barenco, A., Ekert, A., Suominen, K.-A., Törmä, P .: Approximate quan- tum Fourier transform and decoherence. Phys. Rev. A. 54, 139–146 (1996)
1996
-
[17]
Cao, Y ., Peng, S.-G., Zheng, C., Long, G.-L.: Quantum Fourier Trans- form and Phase Estimation in Qudit System. Commun. Theor. Phys. 55, 790–794 (2011)
2011
-
[18]
Pavlidis, A., Floratos, E.: Quantum-Fourier-transform-based quantum arithmetic with qudits. Phys. Rev. A. 103, 032417 (2021)
2021
-
[19]
Kurt, M., Kaltehei, A., Gençten, A., Çakmak, S.: Scalable quantum cir- cuit design for QFT -based arithmetic, https://arxiv.org/abs/2411.00260, (2024)
2024 arXiv
-
[20]
IBM Quantum Composer
IBM Quantum. IBM Quantum Composer. Available at: https://quantum. ibm.com/composer. Accessed April 23, 2025
2025
-
[21]
Renaud, N., Joachim, C.: Classical Boolean logic gates with quantum systems. J. Phys. A: Math. Theor. 44, 155302 (2011)
2011
-
[22]
In: Kumar, S., Sharma, H., Balachandran, K., Kim, J.H., and Bansal, J.C
Paul, B., Choudhury, N., Saikia, E., Trivedi, G.: Digital Boolean Logic Equivalent Reversible Quantum Gates Design. In: Kumar, S., Sharma, H., Balachandran, K., Kim, J.H., and Bansal, J.C. (eds.) Third Congress on Intelligent Systems. pp. 253–271. Springer Nature Singapore, Si...
2023
-
[23]
In: Proc
Miller, D.M., Wille, R., Sasanian, Z.: Elementary Quantum Gate Re- alizations for Multiple-Control Toffoli Gates. In: Proc. 41st IEEE In- ternational Symposium on Multiple-Valued Logic, pp. 288–293. IEEE (2011)
2011
Reviewed August 16, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.