Pauli Z gate (source code)

= Pauli Z gate
{c}
{title2=$Z$}

= Phase flip
{synonym}

= Phase-flip gate
{synonym}

The Pauli $Z$ gate fixes $|0\rangle$ and maps $|1\rangle$ to $-|1\rangle$.

This gate acts by the corresponding <Pauli matrix>, viewed as a unitary operator on one qubit.