netket.operator.spin.sigmay

Contents

netket.operator.spin.sigmay#

netket.operator.spin.sigmay(hilbert, site, dtype=None)[source]#

Builds the \(\sigma^y\) 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 (DiscreteHilbert) – The hilbert space.

  • site (int) – The site on which this operator acts.

  • dtype (Any) – The datatype to use for the matrix elements.

Return type:

LocalOperator

Returns:

An instance of {class}`nk.operator.LocalOperator`.