English

A polynomial time and space heuristic algorithm for T-count

Quantum Physics 2021-11-24 v3

Abstract

This work focuses on reducing the physical cost of implementing quantum algorithms when using the state-of-the-art fault-tolerant quantum error correcting codes, in particular, those for which implementing the T gate consumes vastly more resources than the other gates in the gate set. More specifically, we consider the group of unitaries that can be exactly implemented by a quantum circuit consisting of the Clifford+T gate set, a universal gate set. Our primary interest is to compute a circuit for a given nn-qubit unitary UU, using the minimum possible number of T gates (called the T-count of unitary UU). We consider the problem COUNT-T, the optimization version of which aims to find the T-count of UU. In its decision version the goal is to decide if the T-count is at most some positive integer mm. Given an oracle for COUNT-T, we can compute a T-count-optimal circuit in time polynomial in the T-count and dimension of UU. We give a provable classical algorithm that solves COUNT-T (decision) in time O(N2(c1)mcpoly(m,N))O\left(N^{2(c-1)\lceil\frac{m}{c}\rceil}\text{poly}(m,N)\right) and space O(N2mcpoly(m,N))O\left(N^{2\lceil\frac{m}{c}\rceil}\text{poly}(m,N)\right), where N=2nN=2^n and c2c\geq 2. This gives a space-time trade-off for solving this problem with variants of meet-in-the-middle techniques. We also introduce an asymptotically faster multiplication method that shaves a factor of N0.7457N^{0.7457} off of the overall complexity. Lastly, beyond our improvements to the rigorous algorithm, we give a heuristic algorithm that outputs a T-count-optimal circuit and has space and time complexity poly(m,N)\text{poly}(m,N), under some assumptions. While our heuristic method still scales exponentially with the number of qubits (though with a lower exponent, there is a large improvement by going from exponential to polynomial scaling with mm.

Keywords

Cite

@article{arxiv.2006.12440,
  title  = {A polynomial time and space heuristic algorithm for T-count},
  author = {Michele Mosca and Priyanka Mukhopadhyay},
  journal= {arXiv preprint arXiv:2006.12440},
  year   = {2021}
}

Comments

Accepted in Quantum Science and Technology journal (not the exact journal version)

R2 v1 2026-06-23T16:31:46.473Z