netket.operator.spin.sigmapΒΆ
-
netket.operator.spin.
sigmap
(hilbert, site, dtype=<class 'float'>)[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 (
AbstractHilbert
) β The hilbert spacesite (
int
) β the site on which this operator actsdtype (Any) β
- Return type
- Returns
a nk.operator.LocalOperator