Toffoli Requires Six Quantum Neighbor Gates
Toffoli gates are key building blocks in quantum programs, and on most current quantum computers, they must be implemented with smaller gates. Such an implementation requires five 2-qubit gates if we assume that each gate can operate on any two qubits. However, many current quantum computers have only 2-qubit gates that operate on neighboring qubits; we call them neighbor gates. How many neighbor gates are required to implement a Toffoli gate? In this article, we show that six neighbor gates are necessary and sufficient, and we generalize to a characterization of all 3-qubit diagonal gates.
Authors
- Jens Palsberg (ORCID: https://orcid.org/0000-0003-4747-365X)
- Keli Huang
Institutions
- University of California, Los Angeles (US)
Publication Details
- Journal
- ACM Transactions on Quantum Computing
- Published
- 2026-01-02
- DOI
- https://doi.org/10.1145/3787463
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- article
- Field-Weighted Citation Impact
- 0.00