Skip to main content
KetQat

Appearance

Definition · advanced

CCZ state

The three-qubit magic state obtained by applying the controlled-controlled-Z gate to three plus states. With Clifford operations, measurement and feed-forward it applies one CCZ or Toffoli gate, and it is the output of many magic state factories.

Established definitionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

With CCZ=I−2∣111⟩⟨111∣\mathrm{CCZ} = I - 2\ketbra{111}{111}, the CCZ state is

∣CCZ⟩  =  CCZ ∣+⟩⊗3  =  122∑a,b,c∈{0,1}(−1)abc∣abc⟩.\ket{\mathrm{CCZ}} \;=\; \mathrm{CCZ}\, \ket{+}^{\otimes 3} \;=\; \frac{1}{2\sqrt{2}} \sum_{a,b,c \in \{0,1\}} (-1)^{abc} \ket{abc} .

CCZ\mathrm{CCZ} is in the third level of the Clifford hierarchy: it maps each Pauli operator to a Clifford operator under conjugation (for example CCZ X1 CCZ†=X1 CZ23\mathrm{CCZ}\, X_1\, \mathrm{CCZ}\dagg = X_1\, \mathrm{CZ}_{23}). Consequently one copy of ∣CCZ⟩\ket{\mathrm{CCZ}}, 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 TT gates and Clifford gates; with an ancilla and a measurement, four TT 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.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Cody Jones (2013). Novel constructions for the fault-tolerant Toffoli gate. Physical Review A 87, 022328. doi:10.1103/PhysRevA.87.022328arXiv:1212.5069
  2. Craig Gidney, Austin G. Fowler (2019). Efficient magic state factories with a catalyzed |CCZ> to 2|T> transformation. Quantum 3, 135. doi:10.22331/q-2019-04-30-135arXiv:1812.01238
  3. Daniel Gottesman, Isaac L. Chuang (1999). Demonstrating the viability of universal quantum computation using teleportation and single-qubit operations. Nature 402, 390-393. doi:10.1038/46503

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Numerically verified CCZ X_1 CCZ† = X_1 CZ_23 and the state expansion; four-T Toffoli compared with Jones abstract (arXiv:1212.5069); catalysed CCZ -> 2T conversion with a returned T catalyst and the CCZ-factory advantage compared with the Gidney-Fowler abstract (arXiv:1812.01238).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision c401b8f480803377. Source file knowledge/records/definition/ccz-state.md in the content repository (readable there once it is public).