netket.operator.boson.destroy#
- netket.operator.boson.destroy(hilbert, site, dtype=None)[source]#
Builds the boson destruction operator \(\hat{a}\) 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 (
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:
- Returns:
An instance of {class}`nk.operator.LocalOperator`.