netket.operator.spin.sigmaz#
- netket.operator.spin.sigmaz(hilbert, site, dtype=None, *, cls=<class 'netket.operator._local_operator.jax.LocalOperatorJax'>)[source]#
Builds the \(\sigma^z\) operator acting on the site-th of the Hilbert space hilbert.
If hilbert is a non-Spin space of local dimension M, it is considered as a (M-1)/2 - spin space.
- Parameters:
- Return type:
TypeVar
(_LocalOperatorT
, bound=LocalOperatorBase
)- Returns:
An instance of {class}`nk.operator.LocalOperator`.