The gftools.matrix
module contains functions to work with Green’s functions
in matrix form.
Functions to work with Green’s in matrix from.
In the limit of infinite coordination number the self-energy becomes local, inverse Green’s functions take the simple form:
gftools.matrix.
construct_gf_omega
(rv_inv, diag_inv, rv)[source]¶Construct Green’s function from decomposition of its inverse.
Parameters: | |
---|---|
Returns: | gf_omega – The Green’s function |
Return type: | (N, N) ndarray(complex) |
gftools.matrix.
decompose_gf_omega
(g_inv)[source]¶Decompose the inverse Green’s function into eigenvalues and eigenvectors.
The similarity transformation:
Parameters: | g_inv ((N, N) ndarray(complex)) – matrix to be decomposed |
---|---|
Returns: |
|
gftools.matrix.
decompose_gf_omega_symmetric
(g_inv_band)[source]¶Decompose the Green’s function into eigenvalues and eigenvectors.
The similarity transformation for symmetric matrices is orthogonal.
Parameters: | g_inv_band ((2, N) ndarray(complex)) – matrix to be decomposed, needs to be given in banded form
(see scipy.linalg.eig_banded() ) |
---|---|
Returns: |
|
gftools.matrix.
decompose_hamiltonian
(hamilton)[source]¶Decompose the Hamiltonian matrix into eigenvalues and eigenvectors.
The similarity transformation:
Parameters: | hamilton ((N, N) ndarray(complex)) – matrix to be decomposed |
---|---|
Returns: |
|