Sample Green's Function Builder

This module provides subroutines to generate Green's function samples.

Lehmann.Sample.MultiPoleFunction
MultiPole(β, isFermi::Bool, symmetry::Symbol, Grid, type::Symbol, poles, regularized::Bool = true)
MultiPole(dlr, type::Symbol, poles, Grid = dlrGrid(dlr, type); regularized::Bool = true)

Generate Green's function from a spectral density with delta peaks specified by the argument $poles$. Return the function on Grid and the systematic error.

#Arguments

  • dlr: dlrGrid struct
  • β : inverse temperature
  • isFermi: is fermionic or bosonic
  • symmetry: particle-hole symmetric :ph, particle-hole antisymmetric :pha, or :none
  • Grid: grid to evalute on
  • type: imaginary-time with :τ, or Matsubara-frequency with :n
  • poles: a list of frequencies for the delta functions
  • regularized: use regularized bosonic kernel if symmetry = :none
source
Lehmann.Sample.SemiCircleFunction
SemiCircle(Euv, β, isFermi::Bool, Grid, type::Symbol, symmetry::Symbol = :none; rtol = nothing, degree = 24, regularized::Bool = true)
SemiCircle(dlr, type::Symbol, Grid = dlrGrid(dlr, type); degree = 24, regularized::Bool = true)

Generate Green's function from a semicircle spectral density. Return the function on Grid and the systematic error.

#Arguments

  • dlr: dlrGrid struct
  • Euv : ultraviolet energy cutoff
  • β : inverse temperature
  • isFermi: is fermionic or bosonic
  • Grid: grid to evalute on
  • type: imaginary-time with :τ, or Matsubara-frequency with :n
  • symmetry: particle-hole symmetric :ph, particle-hole antisymmetric :pha, or :none
  • rtol: accuracy to achieve
  • degree: polynomial degree for integral
  • regularized: use regularized bosonic kernel if symmetry = :none
source