netket.experimental.operator.fermion.identity#
- netket.experimental.operator.fermion.identity(hilbert, cutoff=1e-10, dtype=None)[source]#
Builds the \(\mathbb{I}\) identity operator.
- Parameters:
hilbert (
AbstractHilbert
) – The hilbert space.dtype (
Optional
[Any
]) – The datatype to use for the matrix elements.cutoff (float)
- Returns:
An instance of {class}`nk.operator.LocalOperator`.