English

Multi-qubit Toffoli with exponentially fewer T gates

Quantum Physics 2025-10-09 v1

Abstract

Prior work of Beverland et al. has shown that any exact Clifford+TT implementation of the nn-qubit Toffoli gate must use at least nn TT gates. Here we show how to get away with exponentially fewer TT gates, at the cost of incurring a tiny 1/poly(n)1/\mathrm{poly}(n) error that can be neglected in most practical situations. More precisely, the nn-qubit Toffoli gate can be implemented to within error ϵ\epsilon in the diamond distance by a randomly chosen Clifford+TT circuit with at most O(log(1/ϵ))O(\log(1/\epsilon)) TT gates. We also give a matching Ω(log(1/ϵ))\Omega(\log(1/\epsilon)) lower bound that establishes optimality, and we show that any purely unitary implementation achieving even constant error must use Ω(n)\Omega(n) TT gates. We also extend our sampling technique to implement other Boolean functions. Finally, we describe upper and lower bounds on the TT-count of Boolean functions in terms of non-adaptive parity decision tree complexity and its randomized analogue.

Keywords

Cite

@article{arxiv.2510.07223,
  title  = {Multi-qubit Toffoli with exponentially fewer T gates},
  author = {David Gosset and Robin Kothari and Chenyi Zhang},
  journal= {arXiv preprint arXiv:2510.07223},
  year   = {2025}
}
R2 v1 2026-07-01T06:24:25.506Z