triqs_modest.misc.double_counting
- triqs_modest.misc.double_counting()
Dispatched C++ function(s).
[1] (density_matrix: ndarray[ndarray[complex, 2], 2], U_int: float, J_hund: float, method: str) -> tuple[ndarray[ndarray[float, 2], 2], ndarray[float, 2]]
Compute double counting correction for a DC type (method) from the density matrix of a Green’s function.
- Parameters:
- density_matrixndarray[ndarray[complex, 2], 2]
Density matrix [orbital, spin] indices.
- U_intfloat
Coulomb interaction parameter.
- J_hundfloat
Hund’s coupling interaction parameter.
- methodstr
DC formula (sFLL, cFLL, sAMF, cAMF, cHeld).
- Returns:
- tuple[ndarray[ndarray[float, 2], 2], ndarray[float, 2]]
A pair of \(\Sigma_{DC}\) and \(E_{DC}\).