TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
density.hpp
#include "../block/block_gf.hpp"
#include "../../mesh/dlr.hpp"
#include "../../mesh/dlr_imfreq.hpp"
#include "../../mesh/dlr_imtime.hpp"
#include "../../mesh/imfreq.hpp"
#include "../../mesh/legendre.hpp"
#include "../../mesh/refreq.hpp"
#include "../../utility/exceptions.hpp"
#include <itertools/itertools.hpp>
#include <type_traits>
#include <vector>

Detailed Description

Provides functions to compute the density (occupation) from Green's functions.

Definition in file density.hpp.

Go to the source code of this file.

Functions

template<typename BGf, int R>
requires (is_block_gf_v<BGf>)
auto triqs::gfs::density (BGf const &gin, std::vector< array< dcomplex, R > > const &known_moments)
 Compute the density block-wise from a block Green's function on a Matsubara or real-frequency mesh.
nda::matrix< dcomplextriqs::gfs::density (gf_const_view< mesh::imfreq > g, array_const_view< dcomplex, 3 > known_moments={})
 Compute the density from a Green's function.
dcomplex triqs::gfs::density (gf_const_view< mesh::imfreq, scalar_valued > g, array_const_view< dcomplex, 1 > known_moments={})
 Compute the density from a Green's function.
nda::matrix< dcomplextriqs::gfs::density (gf_const_view< mesh::legendre > g)
 Compute the density from a Green's function.
dcomplex triqs::gfs::density (gf_const_view< mesh::legendre, scalar_valued > g)
 Compute the density from a Green's function.
nda::matrix< dcomplextriqs::gfs::density (gf_const_view< mesh::refreq > g)
 Zero temperature density from integration on the real frequency axis.
nda::matrix< dcomplextriqs::gfs::density (gf_const_view< mesh::refreq > g, double beta)
 Finite temperature density from integration on the real frequency axis.
dcomplex triqs::gfs::density (gf_const_view< mesh::refreq, scalar_valued > g)
 Compute the zero-temperature density from a real-frequency Green's function.
dcomplex triqs::gfs::density (gf_const_view< mesh::refreq, scalar_valued > g, double beta)
 Compute the density from a Green's function.
auto triqs::gfs::density (MemoryGf< mesh::dlr > auto const &g)
 Compute the density from a Green's function.
auto triqs::gfs::density (MemoryGf< mesh::dlr_imfreq > auto const &g)
 Compute the density from a Green's function.
auto triqs::gfs::density (MemoryGf< mesh::dlr_imtime > auto const &g)
 Compute the density from a Green's function.