Table of Contents
Fetching ...

Multi-qubit Toffoli with exponentially fewer T gates

David Gosset, Robin Kothari, Chenyi Zhang

TL;DR

This work shows that exact exponential-to-precision barriers for multi-qubit Toffoli gates in the Clifford+$T$ framework can be overcome by allowing a tiny diamond-distance error, achieving $\mathcal{T}^{\mathrm{mixed}}_\epsilon(\mathrm{Toff}_n) = O(\log(1/\epsilon))$ gates. The core technique reduces Toffoli to a mixture of small, Clifford+$T$ circuits via random parity (XOR) sampling to approximate OR, yielding an efficient, scalable construction that generalizes to other Boolean functions. The authors develop a Fourier-analytic framework (Fourier 1-norm) and connect $T$-count to non-adaptive/paritized decision-tree complexities, providing both upper and lower bounds and demonstrating broad applicability to many functions (OR, HW, CW, MEQ, RankOne, GT, INC, ADD, MAJ). These results offer practical reductions in magic-state overhead for fault-tolerant quantum computation and deepen the understanding of when low-$T$-count approximations are viable. The work also establishes limits via stabilizer-nullity and-adaptive lower bounds, and discusses concurrent work and potential applications in learning and simulation of low-$T$ circuits.

Abstract

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

Multi-qubit Toffoli with exponentially fewer T gates

TL;DR

This work shows that exact exponential-to-precision barriers for multi-qubit Toffoli gates in the Clifford+ framework can be overcome by allowing a tiny diamond-distance error, achieving gates. The core technique reduces Toffoli to a mixture of small, Clifford+ circuits via random parity (XOR) sampling to approximate OR, yielding an efficient, scalable construction that generalizes to other Boolean functions. The authors develop a Fourier-analytic framework (Fourier 1-norm) and connect -count to non-adaptive/paritized decision-tree complexities, providing both upper and lower bounds and demonstrating broad applicability to many functions (OR, HW, CW, MEQ, RankOne, GT, INC, ADD, MAJ). These results offer practical reductions in magic-state overhead for fault-tolerant quantum computation and deepen the understanding of when low--count approximations are viable. The work also establishes limits via stabilizer-nullity and-adaptive lower bounds, and discusses concurrent work and potential applications in learning and simulation of low- circuits.

Abstract

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

Paper Structure

This paper contains 20 sections, 24 theorems, 91 equations, 1 table, 2 algorithms.

Key Result

Theorem 1

For any positive integer $n$ and $\epsilon>0$, we have

Theorems & Definitions (45)

  • Theorem 1
  • Theorem 2
  • Theorem 3
  • Theorem 4
  • Theorem 5
  • Theorem 6
  • Definition 7: Diamond distance
  • Definition 9: Unitary Clifford+$T$ circuit
  • Definition 10: Mixed Clifford+$T$ circuit
  • Definition 11: Adaptive Clifford+$T$ circuit
  • ...and 35 more