netket.operator.boson.create
netket.operator.boson.create#
- netket.operator.boson.create(hilbert, site, dtype=<class 'float'>)[source]#
Builds the boson creation operator \(\hat{a}^\dagger\) acting on the site-th of the Hilbert space hilbert.
If hilbert is a non-Bosonic space of local dimension M, it is considered as a bosonic space of local dimension M.
- Parameters
hilbert (
AbstractHilbert
) – The hilbert spacesite (
int
) – the site on which this operator actsdtype (Any) –
- Return type
- Returns
The resulting Local Operator