netket.operator.spin.sigmazΒΆ

netket.operator.spin.sigmaz(hilbert, site, dtype=<class 'float'>)[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
  • hilbert (AbstractHilbert) – The hilbert space

  • site (int) – the site on which this operator acts

  • dtype (Any) –

Return type

LocalOperator

Returns

a nk.operator.LocalOperator