With , the CCZ state is
is in the third level of the Clifford hierarchy: it maps each Pauli operator to a Clifford operator under conjugation (for example ). Consequently one copy of , consumed by gate teleportation (Gottesman and Chuang), applies a CCZ gate to three data qubits with only Clifford corrections chosen by measurement outcomes. Conjugating a target by Hadamard gates turns CCZ into a Toffoli gate.
A CCZ gate can be built from gates and Clifford gates; with an ancilla and a measurement, four gates suffice for a Toffoli gate, against seven in the standard ancilla-free circuit (Jones). Factories that output CCZ states directly can be cheaper per Toffoli than factories for four separate T states. Gidney and Fowler also give a catalysed conversion that turns one CCZ state into two T states, using one extra T state that is returned at the end.