\(\chi^2\) Fit
In ED_BATH_FIT
we perform an optimisation of the user bath by minimizing
the projection of a user supplied function with respect to the
corresponding quantum impurity problem, bath dependent, one
\(\min_{\vec{b}}\chi^2(\vec{b})\) with:
\(F(z)\) is either the Weiss field \({\cal G}_0\) or the hybridization function \(\Delta\) as evaluated by the user. \(F^{And}(z;\vec{b})\) is, respectively, the quantum impurity non-interacting Green's function \(G^{And}_0(z;\vec{b})=[z+\mu-h_0-\Delta(z;\vec{b})]^{-1}\) or the hybrization function \(\Delta(z,c)=\sum_p V_p[z-h^p]^{-1}V_p\). Finally \(\vec{b}\) is the array containing the discretized bath parameters.
The minimization with respect to \(\vec{b}\) is performed using conjugate gradient algorithm.
Description
Contains routines that fit the Impurity model bath
Quick access
- Routines:
Used modules
ed_input_vars
: User-accessible input variablesed_vars_global
: Global variable accessible throughout the codeed_aux_funx
: Assortment of auxiliary procedures required throughout the codeed_bath
: Routines for bath creation and manipulationed_fit_common
: Common variables and types for bath fittinged_fit_normal
: Routines for bath fitting,NORMAL
caseed_fit_hybrid
: Routines for bath fitting,HYBRID
caseed_fit_replica
: Routines for bath fitting,REPLICA
caseed_fit_general
: Routines for bath fitting,GENERAL
case
External modules
Subroutines and functions
- interface ed_bath_fit/ed_chi2_fitgf(g, bath, f[, ispin, iorb, fmpi])
This subroutine realizes the \(\chi^2\) fit of the Weiss field or hybridization function via an impurity model non-interacting Green's function. The bath levels (levels/internal structure and hybridization strength) are supplied by the user in the
bath
array and are the parameters of the fit. The function(s) to fit can have different shapes:where
nlat
is the number of impurity sites in real-space DMFT. Accordingly, the bath array or arrays have rank 2 or 3. Some global variables directly influence the way the fit is performed and can be modified in the input file. Seeed_input_vars
for the description oflfit
,cg_method
,cg_grad
,cg_ftol
,cg_stop
,cg_niter
,cg_weight
,cg_scheme
,cg_pow
,cg_minimize_ver
,cg_minimize_hh
.- Parameters:
g (various shapes) [complex] – normal Weiss field or hybridization function to fit
bath (•) [real] – bath parameters array
f (various shapes) [complex] – anomalous Weiss field or hybridibazion function to fit (only if
ed_mode
=superc
)
- Options: