English

Optimizing Gate Decomposition for High-Level Quantum Programming

Quantum Physics 2025-03-12 v2

Abstract

This paper presents novel methods for optimizing multi-controlled quantum gates, which naturally arise in high-level quantum programming. Our primary approach involves rewriting U(2)U(2) gates as SU(2)SU(2) gates, utilizing one auxiliary qubit for phase correction. This reduces the number of CNOT gates required to decompose any multi-controlled quantum gate from O(n2)O(n^2) to at most 32n32n. Additionally, we can reduce the number of CNOTs for multi-controlled Pauli gates from 16n16n to 12n12n and propose an optimization to reduce the number of controlled gates in high-level quantum programming. We have implemented these optimizations in the Ket quantum programming platform and demonstrated significant reductions in the number of gates. For instance, for a Grover's algorithm layer with 114 qubits, we achieved a reduction in the number of CNOTs from 101,252 to 2,684. This reduction in the number of gates significantly impacts the execution time of quantum algorithms, thereby enhancing the feasibility of executing them on NISQ computers.

Keywords

Cite

@article{arxiv.2406.05581,
  title  = {Optimizing Gate Decomposition for High-Level Quantum Programming},
  author = {Evandro C. R. Rosa and Eduardo I. Duzzioni and Rafael de Santiago},
  journal= {arXiv preprint arXiv:2406.05581},
  year   = {2025}
}