triqs.gfs.gf_fnt.gf_fnt_fit_and_density.density

triqs.gfs.gf_fnt.gf_fnt_fit_and_density.density()

Dispatched C++ function(s).

[1] (g: Gf[MeshImFreq, 2], known_moments: ndarray[complex, 3] = [])
  -> ndarray[complex, 2]

[2] (g: Gf[MeshImFreq, 0], known_moments: ndarray[complex, 1] = [])
  -> complex

[3] (g: Gf[MeshLegendre, 2])
  -> ndarray[complex, 2]

[4] (g: Gf[MeshLegendre, 0])
  -> complex

[5] (g: Gf[MeshDLR, 2])
  -> ndarray[complex, 2]

[6] (g: Gf[MeshDLR, 0])
  -> complex

[7] (g: Gf[MeshDLRImTime, 2])
  -> ndarray[complex, 2]

[8] (g: Gf[MeshDLRImTime, 0])
  -> complex

[9] (g: Gf[MeshDLRImFreq, 2])
  -> ndarray[complex, 2]

[10] (g: Gf[MeshDLRImFreq, 0])
  -> complex

[11] (g: Gf[MeshReFreq, 2], beta: float)
  -> ndarray[complex, 2]

[12] (g: Gf[MeshReFreq, 0], beta: float)
  -> complex

[13] (g: Gf[MeshReFreq, 2])
  -> ndarray[complex, 2]

[14] (g: Gf[MeshReFreq, 0])
  -> complex

[1, 2] Compute the density from a Green’s function.

The density is reconstructed from the imaginary-frequency data using the high-frequency tail moments \(n = 1, 2, 3\). Known moments may be passed explicitly; if omitted, they are obtained by tail fitting.


[3, 4] Compute the density from a Green’s function.

The density is obtained directly from the Legendre coefficients.


[5, 6, 7, 8, 9, 10] Compute the density from a Green’s function.


[11, 12] Compute the density from a Green’s function.

Obtained by integrating the spectral function weighted by the Fermi function at temperature \(T = 1/\beta\).


[13, 14] Compute the zero-temperature density from a real-frequency Green’s function.

Obtained by integrating the spectral function over the negative real axis (\(T = 0\) Fermi function).


Parameters:
gGf[MeshImFreq, 2], Gf[MeshImFreq, 0], Gf[MeshLegendre, 2], Gf[MeshLegendre, 0], Gf[MeshDLR, 2], Gf[MeshDLR, 0], Gf[MeshDLRImTime, 2], Gf[MeshDLRImTime, 0], Gf[MeshDLRImFreq, 2], Gf[MeshDLRImFreq, 0], Gf[MeshReFreq, 2], Gf[MeshReFreq, 0]

Input Green’s function.

known_momentsndarray[complex, 3], ndarray[complex, 1]

Array of known high-frequency moments.

betafloat

Inverse temperature.

Returns:
[1, 3, 11, 13]ndarray[complex, 2]

The density matrix.

[2, 4, 12, 14]complex

The scalar density.

[5, 7, 9]ndarray[complex, 2]

The density (matrix).

[6, 8, 10]complex

The density (matrix).