(git:3d5d2e5)
Loading...
Searching...
No Matches
gw_utils_nevanlinna Module Reference

Nevanlinna analytic continuation of the GW correlation self-energy from the imaginary to the real frequency axis, following J. Fei, C.-N. Yeh, E. Gull, PRL 126, 056402 (2021). Minus the correlation self-energy maps the upper half plane into itself. After a Moebius map onto the unit disk the interpolation becomes a Schur problem whose solution is causal by construction. The Schur recursion loses digits quickly and is therefore done in double-double arithmetic (about 31 significant digits, module double_double), so that no quadruple-precision support of the compiler is needed; the evaluation is stable in double precision. More...

Data Types

type  gw_nevanlinna_env_type
 Parameters of the quasiparticle solution with the Nevanlinna continuation; they are set in set_heuristic_parameters (gw_utils.F) and stay zero for the Padé continuation. More...
type  nevanlinna_type
 Schur parameters of one Nevanlinna interpolant. More...
type  nevanlinna_window_grid_type
 Frequency-dependent Schur factors shared by the bands and fit windows of a k-point. More...
type  gw_qp_summary_type
 Nevanlinna diagnostics for one GW cycle. n_kpoints is the number of target k-points per spin. More...

Functions/Subroutines

subroutine, public nevanlinna_create (nev, x, y, pick_min)
 Builds the Nevanlinna interpolant of y(x). If the samples are not causal within the accuracy of the data, a small imaginary shift -i*delta*max|y| is added, with delta taken from a fixed ladder; nevsolvable is .FALSE. if no delta of the ladder works.
subroutine, public nevanlinna_prepare_window_grid (grid, omega)
 Prepare the Moebius nodes and triangular table of Blaschke factors for a prefix grid.
subroutine, public nevanlinna_create_windows (fits, grid, y, occupied, sizes)
 Fit nested windows for a single band, reusing Schur parameters at equal absolute shifts.
subroutine, public nevanlinna_evaluate (nev, x_val, func_val)
 Evaluates the interpolant on the real axis.
subroutine, public nevanlinna_evaluate_real_grid (nev, x, values)
 Evaluates Re Sigma on a grid of real frequencies.
subroutine, public nevanlinna_release (nev)
 Releases the interpolant.

Detailed Description

Nevanlinna analytic continuation of the GW correlation self-energy from the imaginary to the real frequency axis, following J. Fei, C.-N. Yeh, E. Gull, PRL 126, 056402 (2021). Minus the correlation self-energy maps the upper half plane into itself. After a Moebius map onto the unit disk the interpolation becomes a Schur problem whose solution is causal by construction. The Schur recursion loses digits quickly and is therefore done in double-double arithmetic (about 31 significant digits, module double_double), so that no quadruple-precision support of the compiler is needed; the evaluation is stable in double precision.

History
11.2026 created

Function/Subroutine Documentation

◆ nevanlinna_create()

subroutine, public gw_utils_nevanlinna::nevanlinna_create ( type(nevanlinna_type), intent(out) nev,
complex(kind=dp), dimension(:), intent(in) x,
complex(kind=dp), dimension(:), intent(in) y,
real(kind=dp), intent(out), optional pick_min )

Builds the Nevanlinna interpolant of y(x). If the samples are not causal within the accuracy of the data, a small imaginary shift -i*delta*max|y| is added, with delta taken from a fixed ladder; nevsolvable is .FALSE. if no delta of the ladder works.

Parameters
nevthe interpolant
xsample points, all in the upper or all in the lower half plane
yvalues of the correlation self-energy at x
pick_minoptional smallest relative eigenvalue of the unshifted Pick matrix

Definition at line 107 of file gw_utils_nevanlinna.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nevanlinna_prepare_window_grid()

subroutine, public gw_utils_nevanlinna::nevanlinna_prepare_window_grid ( type(nevanlinna_window_grid_type), intent(out) grid,
real(kind=dp), dimension(:), intent(in) omega )

Prepare the Moebius nodes and triangular table of Blaschke factors for a prefix grid.

Parameters
gridshared frequency data
omegaimaginary frequencies in window order

Definition at line 198 of file gw_utils_nevanlinna.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nevanlinna_create_windows()

subroutine, public gw_utils_nevanlinna::nevanlinna_create_windows ( type(nevanlinna_type), dimension(:), intent(out) fits,
type(nevanlinna_window_grid_type), intent(in) grid,
complex(kind=dp), dimension(:), intent(in) y,
logical, intent(in) occupied,
integer, dimension(:), intent(in) sizes )

Fit nested windows for a single band, reusing Schur parameters at equal absolute shifts.

Parameters
fitsone interpolant per window, with solvable false if all shifts failed
gridfrequency data shared across bands
yself-energy samples in the same order as the grid
occupiedwhether the samples were taken on the negative imaginary axis
sizespositive window lengths in increasing order

Definition at line 230 of file gw_utils_nevanlinna.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nevanlinna_evaluate()

subroutine, public gw_utils_nevanlinna::nevanlinna_evaluate ( type(nevanlinna_type), intent(in) nev,
real(kind=dp), intent(in) x_val,
complex(kind=dp), intent(out) func_val )

Evaluates the interpolant on the real axis.

Parameters
nevthe interpolant
x_valreal frequency
func_valcontinued correlation self-energy at x_val

Definition at line 301 of file gw_utils_nevanlinna.F.

Here is the caller graph for this function:

◆ nevanlinna_evaluate_real_grid()

subroutine, public gw_utils_nevanlinna::nevanlinna_evaluate_real_grid ( type(nevanlinna_type), intent(in) nev,
real(kind=dp), dimension(:), intent(in) x,
real(kind=dp), dimension(:), intent(out) values )

Evaluates Re Sigma on a grid of real frequencies.

Parameters
nevthe interpolant
xreal frequencies
valuesreal part of the continued correlation self-energy at x

Definition at line 351 of file gw_utils_nevanlinna.F.

Here is the call graph for this function:

◆ nevanlinna_release()

subroutine, public gw_utils_nevanlinna::nevanlinna_release ( type(nevanlinna_type), intent(inout) nev)

Releases the interpolant.

Parameters
nevthe interpolant

Definition at line 435 of file gw_utils_nevanlinna.F.

Here is the call graph for this function: