netket.operator.KineticEnergy¶
-
class
netket.operator.
KineticEnergy
(hilbert, mass, dtype=None)¶ Bases:
netket.operator.ContinuousOperator
This is the kinetic energy operator (hbar = 1). The local value is given by: \(E_{kin} = -1/2 ( \sum_i \frac{1}{m_i} (\log(\psi))'^2 + (\log(\psi))'' )\)
- Inheritance
-
__init__
(hilbert, mass, dtype=None)[source]¶ Args: hilbert: The underlying Hilbert space on which the operator is defined mass: float if all masses are the same, list indicating the mass of each particle otherwise dtype: Data type of the matrix elements. Defaults to np.float64
- Parameters
hilbert (netket.hilbert.AbstractHilbert) –
dtype (Optional[Any]) –
- Attributes
-
H
¶ Returns the Conjugate-Transposed operator
- Return type
-
T
¶ Returns the transposed operator
- Return type
-
hilbert
¶ The hilbert space associated to this operator.
- Return type
-
is_hermitian
¶
-
mass
¶
-
- Methods
-
collect
()¶ Returns a guranteed concrete instancce of an operator.
As some operations on operators return lazy wrapperes (such as transpose, hermitian conjugate…), this is used to obtain a guaranteed non-lazy operator.
- Return type
-
conj
(*, concrete=False)¶ - Return type
-
conjugate
(*, concrete=False)¶ Returns the complex-conjugate of this operator.
- Parameters
concrete – if True returns a concrete operator and not a lazy wrapper
- Return type
- Returns
if concrete is not True, self or a lazy wrapper; the complex-conjugated operator otherwise
-
transpose
(*, concrete=False)¶ Returns the transpose of this operator.
- Parameters
concrete – if True returns a concrete operator and not a lazy wrapper
- Return type
- Returns
if concrete is not True, self or a lazy wrapper; the transposed operator otherwise
-