- Open Access
Nontrivial Multiproduct Commutation Relation Toward Reducing -Count in Sequential Pauli-Based Computation
PRX Quantum 7, 020345 – Published 1 June, 2026
DOI: https://doi.org/10.1103/qw5z-3bwz
Abstract
Quantum compilers that reduce the number of gates are essential for minimizing the overhead of fault-tolerant quantum computation. Achieving further -count reduction calls for identifying equivalent circuit transformation rules beyond those utilized in existing tools. In this paper, we rewrite any given circuit using a Clifford block followed by a sequential Pauli-based computation and introduce a nontrivial, ancilla-free transformation rule, the multiproduct commutation relation (MCR). MCR constructs gate sequences based on specific commutation properties among multi-Pauli operators, yielding seemingly noncommutative instances that can be commuted, thereby enabling gate orderings that cannot be derived from pairwise commutation alone. We also propose the MCR Compiler, which incorporates MCR-based transformations as an optimization pass. To evaluate its effect, we use a benchmark circuit dataset generated through quantum circuit unoptimization. This approach intentionally adds redundancy to the circuit while keeping its equivalence, allowing a quantitative evaluation of compiler performance by comparison with the original circuit. Our numerical experiments reveal that the MCR Compiler achieves further -count reduction beyond current compilers, establishing MCR-based transformations as a practical optimization primitive. These results highlight an untapped opportunity to enhance the optimization capabilities of quantum compilers.
Physics Subject Headings (PhySH)
Popular Summary
Quantum compilers play a central role in enabling the efficient execution of quantum algorithms on physical quantum hardware. One of their key objectives is the reduction of the T-count as it largely determines the required number of qubits and execution time in fault-tolerant quantum computation. Despite substantial progress, conventional quantum compilers remain limited to local rewrite rules and pairwise commutation relations between gates. As a result, fundamental improvements in compiler performance require nonlocal transformation rules that go beyond existing circuit reasoning.
In this paper, we introduce the multiproduct commutation relation (MCR), a framework that substantially expands the range of equivalent circuit transformations. MCR enables the construction of gate sequences based on specific commutation properties among multi-Pauli rotations, resulting in cases where seemingly noncommutative gates can be commuted. This approach allows for gate orderings that are not accessible through conventional pairwise commutation rules. Numerical experiments indicate that state-of-the-art T-count optimization compilers struggle to simplify circuits that rely on these transformations, whereas an MCR-aware compiler successfully optimizes such circuits. Additionally, MCR enhances optimization performance for practical circuits, including those derived from physically motivated spin models.
Our results suggest that MCR establishes a new paradigm for quantum compilers. In particular, MCR extends the scope of compilation strategies, enabling the recognition and exploitation of hidden circuit transformations that were previously out of reach for existing optimization frameworks. Developing more efficient compilers that systematically leverage MCR-based principles can advance resource-efficient quantum computation toward practical implementation.
Article Text
References (56)
- P. W. Shor, in Proceedings 35th Annual Symposium on Foundations of Computer Science (IEEE Computer Society Press, Los Alamitos, CA, 1994), pp. 124–134.
- L. K. Grover, in Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing (Association for Computing Machinery, New York, NY, 1996), pp. 212–219.
- S. Lloyd, Universal quantum simulators, Science 273, 1073 (1996).
- I. M. Georgescu, S. Ashhab, and F. Nori, Quantum simulation, Rev. Mod. Phys. 86, 153 (2014).
- P. W. Shor, in Proceedings of 37th Conference on Foundations of Computer Science (IEEE, Los Alamitos, CA, 1996), pp. 56–65.
- Google Quantum AI and Collaborators, Quantum error correction below the surface code threshold, Nature 638, 920 (2025).
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition (Cambridge University Press, Cambridge, UK, 2010).
- S. Bravyi and A. Kitaev, Universal quantum computation with ideal Clifford gates and noisy ancillas, Phys. Rev. A 71, 022316 (2005).
- K. Svore, A. Aho, A. Cross, I. Chuang, and I. Markov, A layered software architecture for quantum computing design tools, Computer 39, 74 (2006).
- T. Häner, D. S. Steiger, K. Svore, and M. Troyer, A software methodology for compiling quantum programs, Quantum Sci. Technol. 3, 020501 (2018).
- F. T. Chong, D. Franklin, and M. Martonosi, Programming languages and compiler design for realistic quantum hardware, Nature 549, 180 (2017).
- V. A. Alfred, S. L. Monica, and D. U. Jeffrey, Compilers Principles, Techniques & Tools (Pearson Education, Boston, MA, 2007).
- V. Shende, S. Bullock, and I. Markov, Synthesis of quantum-logic circuits, IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 25, 1000 (2006).
- C. M. Dawson and M. A. Nielsen, The Solovay–Kitaev algorithm, arXiv preprint arXiv:quant-ph/0505030.
- N. J. Ross and P. Selinger, Optimal ancilla-free approximation of -rotations, Quantum Inf. Comput. 16, 901 (2016).
- A. Cowtan, S. Dilkes, R. Duncan, A. Krajenbrink, W. Simmons, and S. Sivarajah, in 14th Conference on the Theory of Quantum Computation, Communication and Cryptography (TQC 2019), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 135, edited by W. van Dam and L. Mančinska (Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 2019), pp. 5:1–5:32.
- M. Treinish et al., Qiskit/qiskit-terra: Qiskit terra 0.22.3, 2022, doi:10.5281/zenodo.7352457
- S. Sivarajah, S. Dilkes, A. Cowtan, W. Simmons, A. Edgington, and R. Duncan, : A retargetable compiler for NISQ devices, Quantum Sci. Technol. 6, 014003 (2021).
- M. Amy and V. Gheorghiu, staq—A full-stack quantum processing toolkit, Quantum Sci. Technol. 5, 034016 (2020).
- B. Coecke and R. Duncan, Interacting quantum observables: Categorical algebra and diagrammatics, New J. Phys. 13, 043016 (2011).
- R. Duncan, A. Kissinger, S. Perdrix, and J. Van De Wetering, Graph-theoretic simplification of quantum circuits with the -calculus, Quantum 4, 279 (2020).
- A. Kissinger and J. van de Wetering, Reducing the number of non-Clifford gates in quantum circuits, Phys. Rev. A 102, 022406 (2020).
- M. Amy, D. Maslov, M. Mosca, and M. Roetteler, A meet-in-the-middle algorithm for fast synthesis of depth-optimal quantum circuits, IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 32, 818 (2013).
- M. Amy, D. Maslov, and M. Mosca, Polynomial-time -depth optimization of circuits via matroid partitioning, IEEE Trans. Comput.-Aided Des. Integr. Circuits Syst. 33, 1476 (2014).
- M. Amy and M. Mosca, -count optimization and Reed–Muller codes, IEEE Trans. Inf. Theory. 65, 4771 (2019).
- L. E. Heyfron and E. T. Campbell, An efficient quantum compiler that reduces count, Quantum Sci. Technol. 4, 015004 (2019).
- V. Vandaele, Lower -count with faster algorithms, Quantum 9, 1860 (2025).
- F. J. Ruiz, T. Laakkonen, J. Bausch, M. Balog, M. Barekatain, F. J. Heras, A. Novikov, N. Fitzpatrick, B. Romera-Paredes, J. van de Wetering et al., Quantum circuit optimization with alphatensor, Nat. Mach. Intell. 7, 374 (2025).
- D. Gosset, V. Kliuchnikov, M. Mosca, and V. Russo, An algorithm for the -count, arXiv:1308.4134.
- D. Litinski, A game of surface codes: Large-scale quantum computing with lattice surgery, Quantum 3, 128 (2019).
- Y. Hirano and K. Fujii, in 2025 IEEE International Conference on Quantum Computing and Engineering (QCE) (IEEE, Albuquerque, NM, USA, 2025), pp. 670–680.
- F. Zhang and J. Chen, Optimizing gates in circuit as rotations around paulis, arXiv:1903.12456.
- V. Vandaele, S. Perdrix, and C. Vuillot, Optimal number of parametrized rotations and hadamard gates in parametrized Clifford circuits with non-repeated parameters, arXiv:2407.07846.
- Y. Mori, H. Hakoshima, K. Sudo, T. Mori, K. Mitarai, and K. Fujii, Quantum circuit unoptimization, Phys. Rev. Res. 7, 023139 (2025).
- Y. Kim, A. Eddins, S. Anand, K. X. Wei, E. Van Den Berg, S. Rosenblatt, H. Nayfeh, Y. Wu, M. Zaletel, K. Temme et al., Evidence for the utility of quantum computing before fault tolerance, Nature 618, 500 (2023).
- N. Yoshioka, T. Okubo, Y. Suzuki, Y. Koizumi, and W. Mizukami, Hunting for quantum-classical crossover in condensed matter problems, npj Quantum Inf. 10, 45 (2024).
- F. Arute, K. Arya, R. Babbush, D. Bacon, J. C. Bardin, R. Barends, A. Bengtsson, S. Boixo, M. Broughton, B. B. Buckley et al., Observation of separated dynamics of charge and spin in the Fermi-Hubbard model, arXiv preprint arXiv:2010.07965.
- F. Alam, J. L. Bosse, I. Čepaitė, A. Chapman, L. Clinton, M. Crichigno, E. Crosson, T. Cubitt, C. Derby, O. Dowinton et al., Programmable digital quantum simulation of 2D Fermi-Hubbard dynamics using 72 superconducting qubits, arXiv preprint arXiv:2510.26845.
- H. Yu, Y. Zhao, and T.-C. Wei, Simulating large-size quantum spin chains on cloud-based superconducting quantum computers, Phys. Rev. Res. 5, 013183 (2023).
- P. W. Claeys and A. Lamacraft, Maximum velocity quantum circuits, Phys. Rev. Res. 2, 033032 (2020).
- A. Kissinger and J. van de Wetering, PyZX: Large scale automated diagrammatic reasoning, Electron. Proc. Theor. Comput. Sci. 318, 229 (2020).
- J. Håstad, Tensor rank is NP-complete, J. Algorithms 11, 644 (1990).
- C. Gidney, Stim: A fast stabilizer circuit simulator, Quantum 5, 497 (2021).
- A. W. Cross, L. S. Bishop, J. A. Smolin, and J. M. Gambetta, Open quantum assembly language, arXiv preprint arXiv:1707.03429.
- Reversible logic synthesis benchmarks page, http://webhome.cs.uvic.ca/ dmaslov/ (2011).
- R. Wille, L. Berent, T. Forster, J. Kunasaikaran, K. Mato, T. Peham, N. Quetschlich, D. Rovara, A. Sander, L. Schmid et al., in 2024 IEEE International Conference on Quantum Software (QSW), (IEEE, Shenzhen, China, 2024), pp. 1–8.
- MCR, https://github.com/yforest-osaka/mcr (2025).
- A. Peruzzo, J. McClean, P. Shadbolt, M.-H. Yung, X.-Q. Zhou, P. J. Love, A. Aspuru-Guzik, and J. L. O’brien, A variational eigenvalue solver on a photonic quantum processor, Nat. Commun. 5, 4213 (2014).
- E. Farhi, J. Goldstone, and S. Gutmann, A quantum approximate optimization algorithm, arXiv preprint arXiv:1411.4028.
- Y. Akahoshi, K. Maruyama, H. Oshima, S. Sato, and K. Fujii, Partially fault-tolerant quantum computing architecture with error-corrected Clifford gates and space-time efficient analog rotations, PRX Quantum 5, 010337 (2024).
- R. Toshio, Y. Akahoshi, J. Fujisaki, H. Oshima, S. Sato, and K. Fujii, Practical quantum advantage on partially fault-tolerant quantum computer, Phys. Rev. X 15, 021057 (2025).
- J. van de Wetering, R. Yeung, T. Laakkonen, and A. Kissinger, Optimal compilation of parametrised quantum circuits, Quantum 9, 1828 (2025).
- Y. Nakano, H. Hakoshima, K. Mitarai, and K. Fujii, Markov-chain monte carlo method enhanced by a quantum alternating operator ansatz, Phys. Rev. Res. 6, 033105 (2024).
- D. Gottesman and I. L. Chuang, Demonstrating the viability of universal quantum computation using teleportation and single-qubit operations, Nature 402, 390 (1999).
- J. T. Anderson, On groups in the qubit Clifford hierarchy, Quantum 8, 1370 (2024).
- C. Kiumi and B. Koczor, TE-PAI: Exact time evolution by sampling random circuits, Quantum Sci. Technol. 10, 045071 (2025).
