gem.solvers.solver_template.SolverTemplate.compute_E2loc

SolverTemplate.compute_E2loc(eloc, D, Lambdac, mu=0.0)[source]

Compute local energy including local one and two-body term from a given set od thermal states Works also at zero Temperature Input: Return:

Eloc: float. Total local energy.