gftool.matrix.Decomposition.from_gf

classmethod Decomposition.from_gf(gf)[source]

Decompose the inverse Green’s function matrix.

The similarity transformation:

\[G^{-1} = P g P^{-1}, \quad g = diag(λ_l)\]
Parameters:
g_inv : (…, N, N) complex np.ndarray

matrix to be decomposed

Returns:
Decomposition