T-count, the price tag

Why would a compiler metric end up on an invoice?

On an error-corrected machine, T gates have been the expensive ones, because each consumes a specially prepared magic state. Newer methods aim to make those states far cheaper, and how far they succeed is still argued. Counting them turns a circuit into qubits and machine-hours.

Measured

  • 15 → 1 — noisy magic states in, one cleaner state out (Bravyi and Kitaev 2004)
  • 4 h — 10⁸ T gates on 55,000 qubits at 0.01% error (estimate) (on superconducting machines) (Litinski 2018)
  • <10^6 qubits — to factor RSA-2048 in under a week (estimate) (on superconducting machines) (Gidney 2025)
  • 5.1(2.7)×10⁻⁴ — logical magic-state infidelity (at most), 28 qubits on H2 (on trapped ions) (Daguerre et al. 2025)
  • 1 million — T gates in the largest ion workload decoded (simulation) (on trapped ions) (Ye et al. 2026)

Who builds it

Who studies it

Sergey Bravyi, Daniel Litinski, Craig Gidney, A. D. Ludlow, Ronald Walsworth, Alexei Kitaev, Bryan Eastin, Emanuel Knill, Naomi H. Nickerson, Mikhail D. Lukin, Achim Peters, David Hayes

Read

Everyone whose work this draws on