netket.experimental.operator.fermion.identity#

netket.experimental.operator.fermion.identity(hilbert, dtype=None)[source]#

Builds the \(\mathbb{I}\) identity operator.

Parameters:
  • hilbert (AbstractHilbert) – The hilbert space.

  • dtype (Any) – The datatype to use for the matrix elements.

Returns:

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