netket.operator.spin.sigmap

Contents

netket.operator.spin.sigmap#

netket.operator.spin.sigmap(hilbert, site, dtype=None, *, cls=<class 'netket.operator._local_operator.jax.LocalOperatorJax'>)[source]#

Builds the \(\sigma^{+} = \frac{1}{2}(\sigma^x + i \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 (Union[None, str, type[Any], dtype, _SupportsDType]) – The datatype to use for the matrix elements.

  • cls (type[_LocalOperatorT])

Return type:

TypeVar(_LocalOperatorT, bound= LocalOperatorBase)

Returns:

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