quantum-gate-ccz
CCZ gate (Controlled-Controlled-Z)
Table of Contents
CCZ gate (Controlled-Controlled-Z)
CCZ (Controlled-Controlled-Z or Doubly-Controlled-Z) is a three-qubit gate: applies a phase to the target qubit if both control qubits are . Like CZ but doubly-controlled, it is symmetric in all three qubits and less commonly used than CCX on most platforms.
Action: where only the state gets a phase.
Basis state mapping: identity on all states except . Maps .
Properties
- Self-inverse:
- Symmetric: all three qubits play equivalent roles; is invariant under qubit permutations
- Diagonal: only applies phases, like CZ
- Related to CZ: extends the two-qubit CZ to three qubits
Uses
- Alternative to CCX: some algorithms use CCZ instead of CCX for phase-based operations
- Quantum simulation: simulating Hamiltonians with three-body interactions
- Stabilizer codes: appears in some error correction schemes
- Graph states: generates certain entangled graph states
Decomposition
CCZ can be decomposed using CCX and Hadamard gates:
Alternatively, decompose into CX/CZ chains. Gate count: two Hadamard gates and one CCX, or ~6 CX gates.
Parametric version
- CCZ(): applies phase to ;
- Use: tunable three-body interactions in parametric systems
Implementation
- Superconducting qubits: typically decomposed into CX chains or via CCX; native implementation uncommon
- Trapped ions: three-body interactions possible with laser pulse sequences
- Photonic: challenging; usually decomposed
Relations
- CCX: doubly-controlled X; related via Hadamard conjugation
- CCY: doubly-controlled Y; related to CCZ by phase gate conjugation
- CZ: two-qubit version; CCZ extends to three qubits
- Pauli Z: the gate applied to target when both controls are
- Three-qubit gates: general category
quantum-gate-ccz.md · Last modified:
