35namespace triqs::atom_diag {
37 using namespace triqs::gfs;
57 template <
bool Complex>
using gf_scalar_lehmann_t = std::vector<std::pair<double, typename atom_diag<Complex>::scalar_t>>;
66 template <
bool Complex>
using gf_lehmann_t = std::vector<matrix<gf_scalar_lehmann_t<Complex>>>;
90 template <
bool Complex>
126 template <
bool Complex>
163 template <
bool Complex>
199 template <
bool Complex>
220 template <
bool Complex>
245 template <
bool Complex>
247 std::pair<double, double>
const &energy_window,
int n_w,
double broadening = 0,
gf_struct_t gf_struct() const
Get the block structure.
Backward-compatibility umbrella header pulling in the nda array library.
Provides a lightweight exact diagonalization solver for fermionic Hamiltonians.
Lightweight exact diagonalization solver for finite fermionic Hamiltonians.
The owning block Green's function container.
Imaginary frequency mesh type.
Imaginary time mesh type.
Real frequency mesh type.
Umbrella header for the Green's function library.
std::vector< matrix< gf_scalar_lehmann_t< Complex > > > gf_lehmann_t
Lehmann representation of a block matrix-valued Green's function.
std::vector< std::pair< int, int > > excluded_states_t
List of excluded eigenstates.
block_gf< legendre > atomic_g_l(gf_lehmann_t< Complex > const &lehmann, gf_struct_t const &gf_struct, legendre const &mesh)
Build the atomic Green's function in the Legendre basis from a precomputed Lehmann representation.
block_gf< refreq > atomic_g_w(gf_lehmann_t< Complex > const &lehmann, gf_struct_t const &gf_struct, refreq const &mesh, double broadening=0)
Build the atomic retarded Green's function on a real-frequency mesh from a precomputed Lehmann repres...
block_gf< imtime > atomic_g_tau(gf_lehmann_t< Complex > const &lehmann, gf_struct_t const &gf_struct, imtime const &mesh)
Build the atomic imaginary-time Green's function from a precomputed Lehmann representation.
block_gf< imfreq > atomic_g_iw(gf_lehmann_t< Complex > const &lehmann, gf_struct_t const &gf_struct, imfreq const &mesh)
Build the atomic Matsubara Green's function from a precomputed Lehmann representation.
gf_lehmann_t< Complex > atomic_g_lehmann(atom_diag< Complex > const &atom, double beta, gf_struct_t const &gf_struct, excluded_states_t excluded_states={})
Build the Lehmann representation of the atomic Green's function.
std::vector< std::pair< double, typename atom_diag< Complex >::scalar_t > > gf_scalar_lehmann_t
Lehmann representation of a single matrix element of the Green's function.
std::vector< std::pair< std::string, long > > gf_struct_t
Type describing the structure of a block Green's function.