triqs_modest.rho_and_mu

Functions to calculate the total electron density of lattice Green’s functions using different methods and methods for chemical potenital searching given a target density.

Calculate the total electronic density from the lattice Green’s function and search for the chemical potential that gives a target electron count. We provide several algorithms optimized for speed and robustness. Due to the modularity you can also leverage external root finding routines to write a custom chemical potential search.

Functions

density

Compute the density of the lattice Green's function with a self-energy using Woodbury.

density_nk

Compute number of particles \(n = \sum f(\beta(\varepsilon(k) - μ))\).

find_chemical_potential

Find the chemical potenital from the local Green's function given a target density.