triqs_cthyb.tail_fit.green_high_frequency_moments

triqs_cthyb.tail_fit.green_high_frequency_moments(density_matrix, ad_imp, gf_struct, h_imp)[source]

Calculate the first and second high frequency moment of G_iw following Rev. Mod. Phys. 83, 349 (2011). They read (0) G_0 = 0 (1) G_1 = <{c,c+}> (2) G_2 = -<{[H,c],c+}> where H is the impurity Hamiltonian (H = impurity levels + Hint).

Parameters:

density_matrix : list, np.ndarray

measured density matrix from TRIQS/CTHYB.

ad_imp : AtomDiag

h_loc_diagonalization from TRIQS/CTHYB.

gf_struct : List of pairs (str,int)

Block structure of Green’s function.

h_imp : triqs.operators.Operator

impurity Hamiltonian

Returns:

green_moments : dict, np.ndarray

first and second moments in a dict with the same block strucutre of the TRIQS Gf object.