triqs.operators.util.hamiltonians
Standard local interaction Hamiltonians as Operator objects.
Provides factory functions for the most common interaction Hamiltonians used in multi-orbital impurity problems (Slater, Kanamori, density-density), together with utilities for extracting their density part and converting them to a purely real operator.
Functions
|
Validate and normalize the orbital count for backward compatibility. |
Extract the density part from a many-body operator. |
|
|
Create a density-density Hamiltonian. |
|
Create a Kanamori Hamiltonian with density-density, spin-flip and pair-hopping interactions. |
|
Create a Slater Hamiltonian using fully rotationally-invariant 4-index interactions. |
|
Return the real part of an operator, checking that its imaginary part is below tolerance. |