English

Optimising quantum circuits is generally hard

Quantum Physics 2024-08-13 v3 Computational Complexity

Abstract

In order for quantum computations to be done as efficiently as possible it is important to optimise the number of gates used in the underlying quantum circuits. In this paper we find that many gate optimisation problems for approximately universal quantum circuits are NP-hard. In particular, we show that optimising the T-count or T-depth in Clifford+T circuits, which are important metrics for the computational cost of executing fault-tolerant quantum computations, is NP-hard by reducing the problem to Boolean satisfiability. With a similar argument we show that optimising the number of CNOT gates or Hadamard gates in a Clifford+T circuit is also NP-hard. Again varying the same argument we also establish the hardness of optimising the number of Toffoli gates in a reversible classical circuit. We find an upper bound to the problems of T-count and Toffoli-count of NPNQP\text{NP}^{\text{NQP}}. Finally, we also show that for any non-Clifford gate GG it is NP-hard to optimise the GG-count over the Clifford+GG gate set, where we only have to match the target unitary within some small distance in the operator norm.

Keywords

Cite

@article{arxiv.2310.05958,
  title  = {Optimising quantum circuits is generally hard},
  author = {John van de Wetering and Matt Amy},
  journal= {arXiv preprint arXiv:2310.05958},
  year   = {2024}
}

Comments

v3: Changed title from "Optimising T-count is NP-hard", rewrote paper with additional results about other optimisation problems

R2 v1 2026-06-28T12:45:00.221Z