A Meet-in-the-Middle Algorithm for Fast Synthesis of Depth-Optimal Quantum Circuits
Open accessThe DOI matches its Crossref record; 43 of the 43 references it cites were found in a registry or an index.
Abstract
We present an algorithm for computing depth-optimal decompositions of logical operations, leveraging a meet-in-the-middle technique to provide a significant speedup over simple brute force algorithms. As an illustration of our method, we implemented this algorithm and found factorizations of commonly used quantum logical operations into elementary gates in the Clifford+Tset. In particular, we report a decomposition of the Toffoli gate over the set of Clifford andTgates. Our decomposition achieves a totalT-depth of 3, thereby providing a 40% reduction over the previously best known decomposition for the Toffoli gate. Due to the size of the search space, the algorithm is only practical for small parameters, such as the number of qubits, and the number of gates in an optimal implementation.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“For this reason, many algorithms try to reduce quantum circuits to the minimal number of T gates to give an estimation of the difficulty of classically simulating a circuit (Amy et al. , 2013; Amy and Mosca, 2019; Gosset et al. , 2013; Heyfron and Campbell, 2018; Kissinger and van de Wetering, 2019).”
From Noisy intermediate-scale quantum algorithms (2022) · cites this paper as Amy et al., 2013
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Quantum Computation and Quantum Information
Wang, Y.-Z. (2012) · Statistical Science · doi:10.1214/11-sts378 · Cited by 25,213 · cited 2×
“Their algorithm, offering a constructive proof of the Solovay-Kitaev theorem [19], quickly finds a logarithmic (in the precision) depth -approximation for a given unitary, though the circuit produced may be far from optimal [3,17].”
BackgroundQuantum Computation and Quantum Information
Nielsen, M. A., Chuang, I., & Grover, L. K. (2002) · American Journal of Physics · doi:10.1119/1.1463744 · Cited by 21,895
Quantum computation and quantum information
Law, J. (2001) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/505482.505499 · Cited by 18,842
Feynman, R. P. (1986) · Foundations of Physics · doi:10.1007/bf01886518 · Cited by 1,770
Improved simulation of stabilizer circuits
Aaronson, S., & Gottesman, D. (2004) · Physical Review A · doi:10.1103/physreva.70.052328 · Cited by 1,515 · cited 1×
“In practice, computing each phase factor causes a significant performance hit, so we sought a more efficient way of removing phase equivalences.”
MethodFeynman, R. P. (1985) · Optics News · doi:10.1364/on.11.2.000011 · Cited by 1,023
Britton, J. W., Sawyer, B. C., Keith, A. C., Wang, C.-C. J., Freericks, J. K., Uys, H., Biercuk, M. J., & Bollinger, J. J. (2012) · Nature · doi:10.1038/nature10981 · Cited by 941 · cited 1×
“With recent advances in quantum information processing technologies [5], [6], [8], [24], and improvements to faulttolerant thresholds [4], [12], [13], larger quantum devices are becoming increasingly attainable; as the complexity and size of these devices grow, hand optimizations will become less feasible, and instead…”
BackgroundReversible logic and quantum computers
Peres, A. (1985) · Physical Review A · doi:10.1103/physreva.32.3266 · Cited by 892 · cited 1×
“Some 3-qubit unitaries with minimal depth implementations found include the well-known Toffoli gate (controlledCNOT ), Fredkin gate (controlled-SWAP), quantum OR (defined as the unitary mapping |a〉|b〉|c〉 → |a〉|b〉|c ⊕ a ∨ b〉), and Peres gate [22] (see Fig.”
BackgroundExponential algorithmic speedup by a quantum walk
Childs, A. M., Cleve, R., Deotto, E., Farhi, E., Gutmann, S., & Spielman, D. A. (2003) · Proceedings of the thirty-fifth annual ACM symposium on Theory of computing · doi:10.1145/780542.780552 · Cited by 825 · cited 2×
“each controlled-Hgate a cost of [2;2;1;2] and for each controlled-Pgate a cost of [0;0;2;3]. From Figures 5 and 6 we obtain costs for each controlled-CNOT(i.e., Tooli) and each controlled-T gate of [2;0;6;7] and [4;2;12;9], respectively. Since the total cost is linear in the costs of the gates, we obtain that claimed…”
MethodAn Introduction to Quantum Computing
Kaye, P., Laflamme, R., & Mosca, M. (2006) · Oxford University Press eBooks · doi:10.1093/oso/9780198570004.001.0001 · Cited by 714 · cited 1×
“It is a well known fact that the controlled version of any circuit can be generated by replacing each individual gate with a controlled version of that gate, with the control qubit of the entire circuit functioning as the control qubit of each gate [16].”
BackgroundSelf-citation
Research works printed but not linked: 2
- [6] K. R. Brown et al. , Single-qubiT gate error below 10 -4 in a trapped ion . Phys. Rev. A 84, 030303(R), 2011, arXiv:1104.2552. - · arXiv
- [23] QCViewer: a tool for displaying, editing, and simulating quantum circuits. Available at http://qcirc.iqc.uwaterloo.ca/ , ver. 0.8, May 2012. -
Cited by
Items 501–541 of 541
Improving Quantum Resource Usage Through Automated Circuit Scheduling
Alvarado-Valiente, J., Romero-Álvarez, J., Moguel, E., Haghparast, M., García-Alonso, J., Mikkonen, T., & Murillo, J. M. (2026) · IT Professional · doi:10.1109/mitp.2026.3651892
Compile‐Once Block Encodings for Masked Similarity‐Transformed Effective Hamiltonians
Peng, B., Liu, Y., & Kowalski, K. (2026) · Advanced Quantum Technologies · doi:10.1002/qute.70410
“( ) Since depth ( 𝑈 for the compiled branch pool, the counted generator-simulation depth is depth ) .”
Differentiable Logical Programming for Quantum Circuit Discovery and OptimizationPreprint
Sulc, A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2602.08880
“Other non-differentiable search methods, such as evolutionary algorithms [12] or SAT solvers for circuit synthesis [13, 14], must rely on heuristic search strategies and cannot leverage the highly-efficient, gradient-based optimization tools that have revolutionized machine learning.”
A Framework for Quantum Circuit Optimization: Comparators as a Case Study
Orts, F. J., & Gil-Merino, R. (2025) · IEEE Transactions on Computers · doi:10.1109/tc.2025.3642981
“In particular, the Toffoli gate is evaluated according to the ancilla-free decomposition proposed by Amy et al. [28], which is the most commonly adopted reference implementation in the literature.”
Lee, Y.-S., Lee, J., & Kang, Y. (2026) · ETRI Journal · doi:10.4218/etrij.2025-0299 · Cited by 1
“The use of T gates is particularly significant in FTQC environments, as they require resource-intensive processes such as magic state distillation and contribute heavily to the overall physical qubit overhead [9].”
Malarchick, R. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2601.20871
“Amy et al. [20] proposed meet-in-the-middle algorithms for T-count optimization, while Maslov et al. [21] developed methods for quantum circuit simplification and level compaction.”
Logarithmic-depth MCT gate implementation method on a given arbitrary number of clean ancillae
Lee, J., & Kang, Y. (2026) · Quantum Information Processing · doi:10.1007/s11128-026-05056-w
Efficient Floating-Point Arithmetic on Fault-Tolerant Quantum Computers
Serrall'es, J. E. C., Ogunkoya, O., Kurkccuoglu, D. M., Bornman, N., Tubman, N., Grassellino, A., Zorzetti, S., & Lattanzi, R. (2025) · doi:10.2172/3025826
“In contrast, the Clifford+T-based arithmetic design relies on Clifford gates along with T gates, which are used to decompose the Toffoli gate into a composition of one H gate, seven T gates, and six CNOT operations [25].”
Su, Y., Chundury, S., Li, J., & Mueller, F. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2510.14172
“Depending on the target workload, simulators adopt different numerical strategies, such as state vector evolution for general-purpose circuits [12], unitary simulation [1] for analyzing circuit matrices, or Hamiltonian-based techniques for time evolution [16] and physics inspired models [33].”
A quantum circuit parameterized decomposition method based on local synthesis
Zhang, Y., Cheng, X., Ding, F., Zhu, P., Guan, Z., & Gu, H. (2025) · Quantum Information Processing · doi:10.1007/s11128-025-04941-0
“Amy et al. [11] proposed the MITM search, which maintains exponential complexity but significantly reduces constant factors, making it practical for depth-optimal synthesis of small-scale circuits.”
Domain-Aware Probability Sampling for Hybrid Quantum Systems using Bayesian OptimizationPreprint
DiBrita, N. S., Han, J. J., Bhatia, K., Cho, Y., Luo, H., & Patel, T. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2510.00145
“Traditional circuit synthesis relies on algebraic, rule-based, or template-matching approaches [2], [35], [42], [36], [62], [37], [39], [65], [3].”
von Neumann measurement and quantum phase estimation of block-encoded Hamiltonians
Skelton, S. E. (2026) · Quantum Science and Technology · doi:10.1088/2058-9565/ae7752 · Cited by 1
“Now we can use [1] to ensure that the scaling of controlling the block-encodings is linear.”
QIRopt: An Optimization Method for Quantum Intermediate Representation
Luo, J.-J., Zhang, H.-Y., & Zhao, J.-J. (2025) · International Conference on Quantum Computing and Engineering · doi:10.1109/qce65121.2025.00058
“Amy et al. [34] proposed an algorithm to find the minimum-depth quantum circuit for a given operation, significantly speeding up many critical quantum operations.”
Kupryianau, H., & Niemiec, M. (2025) · Electronics · doi:10.3390/electronics15112334
OrQstrator: An AI-Powered Framework for Advanced Quantum Circuit Optimization
Baird, L., & Moin, A. (2025) · IEEE International Conference on Quantum Computing and Engineering (QCE) · doi:10.1109/qce65121.2025.10378 · Cited by 1
“While optimization strategies, such as rule-based rewriting [3], [4], domain-specific numeric methods [5], [6], and Deep Reinforcement Learning (DRL) [7], [8] have demonstrated their benefits, they were developed and evaluated in isolation, and only tackle one of the optimization problems at a time.”
Yang, S., Al-bayaty, A., & Perkowski, M. (2025) · doi:10.48550/arxiv.2506.20098
“22: A 3-bit Toffoli gate decomposition by Amy et al. [52].”
Reducing the Cost of Clifford+T Quantum Gates
Ishioka, T., Lukáč, M., & Nagayama, S. (2025) · IEEE International Symposium on Multiple-Valued Logic (ISMVL) · doi:10.1109/ismvl64713.2025.00029
“As a result, a large amount of work has been done on the level of synthesis of quantum circuits for various purposes [14], [15], [16], [17], [18], while the work on scaling up the Toffoli gate to C n NOT gates without the additional cost of Barenco et al. implementation has been studied in a lesser…”
A Scalable Synthesis Algorithm for Reversible Functions
Sarvaghad-Moghaddam, M., Zamani, M. S., & Sedighi, M. (2025) · arXiv.org · doi:10.48550/arxiv.2504.02632
“To this end, the authors of [4] used references [5,28] and presented the synthesis results of multi-qubit control gates in terms of the number of T levels.”
Quantum Quest: Resource Requirement of RC4 Cryptanalysis under Grover’s Lens
Sen, S., Bajpayee, S., Mukherjee, I., Paul, G., & Singh, B. (2024) · 2024 IEEE Calcutta Conference (CALCON) · doi:10.1109/calcon63337.2024.10914073
“We adhere to the approach of decomposing T − gates into Clifford and T − gates as outlined in [26].”
Resource-compact time-optimal quantum computation
Kim, T., Baek, K., Hwang, Y., & Bang, J. (2025) · Quantum Information Processing · doi:10.1007/s11128-025-04797-4 · Cited by 2
“For this purpose, several studies have been conducted and are still in progress [4, 5, 6, 7, 8].”
A T-depth two Toffoli gate for 2D square lattice architectures
Paler, A., Dobbs, E., & Friedman, J. S. (2023) · IEEE/ACM International Symposium on Nanoscale Architectures · doi:10.1145/3611315.3633270
“One option for lowering the costs of designing architecture-aware quantum circuits is to use SWAP-free gate decompositions.”
MethodQuantum Implementation of Core Operations in Classic McEliece
Oh, Y., Jang, K., Lim, S., Yang, Y., & Seo, H. (2023) · International Conference on Platform Technology and Service · doi:10.1109/platcon60102.2023.10255218
“We decompose one Toffoli gate into 7 T gates + 8 Clifford gates, T -depth 4, full depth 8 following one of the decomposition methods in [10].”
MethodMuttakin, M. N. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2204.10199
Quantum Key Recovery Attack on SIMON Block CipherPreprint
Liu, H., & Yang, L. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2012.08321
“4: The decomposition of Toffoli gate in [2]”
BackgroundMethodInfluentialArchitectures and automation for beyond-CMOS technologies
Bhattacharjee, D. (2018) · doi:10.32657/10220/47437
Latency-Optimal Quantum Circuits for IoT Networks
Glisic, S., & Lorenzo, B. (2025) · IEEE Access · doi:10.1109/access.2025.3649805
“This crucial observation enables a significant reduction in the search space and is the foundation of what is referred to as the ‘‘meet-in-the-middle’’ ( mm ) algorithm [34].”
InfluentialImproved Quantum Cryptanalysis of MD5 and SHA-1
Jang, K.-H., Seo, H., & Chattopadhyay, A. (2026) · IEEE Access · doi:10.1109/access.2026.3680947
“In this work, we decompose a single Toffoli gate into 6 CNOT gates, 2 H gates, and 7 T gates, resulting in a total depth of 8 (with a T -depth of 4), following one of the constructions presented in [15].”
InfluentialConcrete Quantum Sieve for Shortest Vector Problem With Application to Lattice-Based Cryptography
Kim, H., Jang, K., Baksi, A., Wang, S.-Y., Chakraborty, S., Chattopadhyay, A., & Seo, H. (2026) · IEEE Access · doi:10.1109/access.2026.3706759
“Because the Toffoli gate uses more quantum resources, many methods have been proposed to make it more efficient [28], [29], [30].”
Performance-Oriented Layout Synthesis for Quantum Computing
Kao, C., & Lin, H.-Y. (2024) · Computer Systems Science and Engineering · doi:10.32604/csse.2024.055073
“Others leverage mixed integer programming (MIP) and satisfiability modulo theories (SMT) solvers [14], time planners for quantum approximate optimization algorithms [15], and fidelity maximization using SMT solvers [16].”
Hybrid Approach to Public-Key Algorithms in the Near-Quantum Era
Cinal, A., Wechta, G., & Wroński, M. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-63778-0_27
“Toffoli gates can be implemented using 7 T gates and a T -depth varying between 4 and 1 [1, 28], thus we shall translate the Toffoli-count (Toffoli-depth) estimates found in the literature to the T -counts ( T -depths) and use these as a common denominator.”
Hybrid Control of Toffoli and Peres Gates
Moraga, C. (2021) · Springer eBooks · doi:10.1007/978-3-030-68071-8_8 · Cited by 1
Zulehner, A., & Wille, R. (2020) · Springer eBooks · doi:10.1007/978-3-030-41753-6_15
Zulehner, A., & Wille, R. (2020) · Springer eBooks · doi:10.1007/978-3-030-41753-6_2 · Cited by 1
Hartmanis, J. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-05153-2
Novel Resource Efficient Circuit Designs for Rebooting Computing
Thogarcheti, S. S. V. (2017) · UKnowledge (University of Kentucky) · doi:10.13023/etd.2017.474
“5: T gate implementation of Toffoli gate [1]”
BackgroundInfluentialOptimizations and Complexity Analysis on the Reversible Level
Abdessaied, N., & Drechsler, R. (2016) · Springer eBooks · doi:10.1007/978-3-319-31937-7_3 · Cited by 1
Ying, M. (2016) · Elsevier eBooks · doi:10.1016/b978-0-12-802306-8.00008-2
Optimizations and Complexity Analysis on the Quantum Level
Abdessaied, N., & Drechsler, R. (2016) · Springer eBooks · doi:10.1007/978-3-319-31937-7_5 · Cited by 2
Optimization and Complexity Analysis on the Mapping Level
Abdessaied, N., & Drechsler, R. (2016) · Springer eBooks · doi:10.1007/978-3-319-31937-7_4 · Cited by 1
Krivine, J., & Stefani, J. (2015) · Lecture notes in computer science · doi:10.1007/978-3-319-20860-2 · Cited by 13
“The restarting automaton was introduced in [4] as a formal device to model the linguistic technique of analysis by reduction.”
BackgroundMethodInfluentialContributions to Information-Based Complexity and to Quantum Computing
Petras, I. (2013) · doi:10.7916/d80v8m04
“• The C1-H gate [5] • H • H T † H • H H = S† • H T H S”
Influential
Metadata
- Authors
- Amy, M., Maslov, D., Mosca, M., & Roetteler, M.
- Affiliations
- University of Waterloo (CA)
- U.S. National Science Foundation (US)
- Venue
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2013-06
- Volume
- 32
- Issue
- 6
- Pages
- 818-830
- ISSN
- 0278-0070 (ISSN-L)
- 1937-4151
- OpenAlex
- W2150528339
- Semantic Scholar
- e819f76fda4fe5b4419871f8f7deba76fe70d705
- Cited by
- 549
- References
- 32
- Citations by year
- 2026: 40 · 2025: 47 · 2024: 60 · 2023: 56 · 2022: 59 · 2021: 39 · 2020: 70 · 2019: 39 · 2018: 32 · 2017: 28 · 2016: 27 · 2015: 13 · 2014: 16 · 2013: 19
- FWCI
- 27.65
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Physics and Astronomy › Atomic and Molecular Physics, and Optics › Quantum Computing Algorithms and Architecture
- Physical Sciences › Physics and Astronomy › Atomic and Molecular Physics, and Optics › Quantum Information and Cryptography
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Quantum-Dot Cellular Automata
- Keywords
- quantum circuit synthesis, gate decomposition, Clifford+T gates, Toffoli gate, T-depth, logical operations
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.