quantum gate directory
Pauli-Z
Symbol
$Z$
Qubits: $1$
hermitian
Description:
Phase-flip gate that leaves $|0\rangle$ unchanged and flips the phase of $|1\rangle$.
Alternate notations:
- $Z$
- $\sigma_z$
- $\sigma^z$
- $\sigma_3$
Controlled variant: Controlled-Z
SDK Support
| SDK | Name |
|---|---|
| Qiskit |
qiskit.circuit.library.ZGate
|
| PennyLane |
pennylane.PauliZ
|
| Cirq |
cirq.Z
|
| Q# |
Std.Intrinsic.Z
|
| PyQuil |
pyquil.gates.Z
|
| Braket |
braket.circuits.gates.Z
|
| BQSKit |
bqskit.ir.gates.ZGate
|
| Qibo |
qibo.gates.Z
|
| pytket |
pytket.circuit.OpType.Z
|
| Stim |
Z
|
| OpenQASM |
stdgates.inc: z
|
Groups
This gate is contained in the following groups:
The Pauli-$Z$ gate applies a relative phase of $-1$ to the $|1\rangle$ component.
$$ Z = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix} $$
Properties
- Hermitian and self-inverse: $Z^\dagger = Z$ and $Z^2 = I$.
- Equivalent to a $\pi$ rotation about $z$ up to global phase.
Back to home