quantum gate directory
Controlled-Z
Symbol
$\mathrm{C}Z$
Qubits: $2$
hermitian
Description:
Applies a $-1$ phase to $|11\rangle$.
Alternate notations:
- $\Lambda(Z)$
- $\text{controlled-}Z$
Controlled version of: Pauli-Z
Controlled variant: Controlled-CZ
SDK Support
| SDK | Name |
|---|---|
| Qiskit |
qiskit.circuit.library.CZGate
|
| PennyLane |
pennylane.CZ
|
| Cirq |
cirq.CZ
|
| Q# |
Std.Canon.CZ
|
| PyQuil |
pyquil.gates.CZ
|
| Braket |
braket.circuits.gates.CZ
|
| BQSKit |
bqskit.ir.gates.CZGate
|
| Qibo |
qibo.gates.CZ
|
| pytket |
pytket.circuit.OpType.CZ
|
| Stim |
CZ
|
| OpenQASM |
stdgates.inc: cz
|
Groups
This gate is contained in the following groups:
The controlled-$Z$ gate is a two-qubit diagonal entangling gate.
$$ \mathrm{C}Z = \begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & -1 \end{bmatrix} $$
Properties
- Clifford, Hermitian, and self-inverse.
- Related to CNOT by Hadamards on the target: $\mathrm{CNOT} = (I \otimes H)\,\mathrm{CZ}\,(I \otimes H)$.
- Symmetric under exchange of the two qubits.
Usage
- Native entangling gate on several hardware platforms.
- Controlled phase flips and stabilizer circuits.
Back to home