quantax.operator.sigma_z#
- quantax.operator.sigma_z(*index) Operator#
\(\sigma^z\) operator for spin and fermion systems.
For spin systems,
\[\begin{split}\sigma^z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}\end{split}\]- Parameters:
index – Site to act on, as a flat index or lattice coordinates; see the module docstring for the convention.