triqs_modest.utils.dc.DcSolver.dc_self_energy
- DcSolver.dc_self_energy()
Dispatched C++ function(s).
[1] (gimp: BlockGf[MeshImFreq, 2]) -> [ndarray[complex, 2]] [2] (density_matrix: ndarray[ndarray[complex, 2], 2]) -> [ndarray[complex, 2]]
[1] Compute the double-counting self-energy from a Green’s function.
[2] Compute the double-counting self-energy from a density matrix.
- Parameters:
- gimpBlockGf[MeshImFreq, 2]
The impurity Green’s function which is used to calculate the orbital-resolved density matrices to evaluate the double counting formula.
- density_matrixndarray[ndarray[complex, 2], 2]
Density matrix with shape [n_blocks, n_sigma].
- Returns:
- [ndarray[complex, 2]]
Double counting self-energy term.