triqs.gfs
Green’s function containers, descriptors and utilities for TRIQS.
This package gathers the user-facing API for working with Green’s functions in TRIQS. It is imported with:
>>> from triqs.gfs import *
The main classes provided by the package are:
GfGeneric Green’s function: a numpy array indexed by a mesh and an optional target space.
BlockGfBlock-diagonal Green’s function: a named collection of
Gfblocks (e.g. spin-up / spin-down).Block2GfTwo-index block-diagonal Green’s function, indexed by a pair of block names.
It also re-exports the mesh classes from triqs.mesh.
In addition, the package provides
lazy initializers used on the right-hand side of
g << ...(frequency placeholders, semicircular and flat DOS, Fourier and Legendre transforms),utilities for inverting Green’s functions, solving Dyson’s equation and computing hybridization functions,
high-frequency tail fitting and replacement,
enforcement of Hermiticity and time-reversal symmetries,
transforms between meshes, and
DLR representation factories.
Modules
Backward-compatibility aliases for legacy Green's function type names. |
|
Two-index block-diagonal Green's function container ( |
|
Block-diagonal Green's function container ( |
|
Protocol classes for Green's function descriptors. |
|
Concrete Green's function descriptors used with the |
|
Constrained-residual minimization (CRM) Dyson solver for DLR Green's functions. |
|
Generic Green's function container ( |
|
Small expression-tree library used by Green's-function descriptors. |
|
Plot-protocol back-end for Green's functions. |
|
Green's function for a semi-circular density of states. |
|
Internal C++ dispatchers backing |