betaFeedback

WorksPhysics and Astronomy

MatsubaraFunctions.jl: An equilibrium Green's function library in the Julia programming language

Abstract

The Matsubara Green's function formalism stands as a powerful technique for computing the thermodynamic characteristics of interacting quantum many-particle systems at finite temperatures. In this manuscript, our focus centers on introducing MatsubaraFunctions.jl, a Julia library that implements data structures for generalized n-point Green's functions on Matsubara frequency grids. The package's architecture prioritizes user-friendliness without compromising the development of efficient solvers for quantum field theories in equilibrium. Following a comprehensive introduction of the fundamental types, we delve into a thorough examination of key facets of the interface. This encompasses avenues for accessing Green's functions, techniques for extrapolation and interpolation, as well as the incorporation of symmetries and a variety of parallelization strategies. Examples of increasing complexity serve to demonstrate the practical utility of the library, supplemented by discussions on strategies for sidestepping impediments to optimal performance.

Motivation

In condensed matter physics, strongly correlated electrons emerge as paradigmatic examples of quantum many-body systems that defy a description in terms of simple band theory, due to their strong interactions with each other and with the atomic lattice. Their study has led to a cascade of discoveries, ranging from high-temperature superconductivity in copper oxides (cuprates) [1, 2] to the Mott metal-insulator transition in various condensed matter systems such as, e.g., transition metal oxides or transition metal chalcogenides [3, 4, 5] and the emergence of quantum spin liquids in frustrated magnets [6, 7], to name but a few.

The study of correlated electron systems is equally exciting and challenging, not only because the construction of accurate theoretical models requires the consideration of many different degrees of freedom, such as spin, charge, and orbital degrees of freedom, as well as disorder and frustration, but also because of the scarcity of exactly solvable reference Hamiltonians. The single-band Hubbard model in more than one dimension, for example, has remained at the forefront of computational condensed matter physics for decades, although it in many respects can be regarded as the simplest incarnation of a realistic correlated electron system [8, 9]. It is therefore not surprising that a plethora of different numerical methods have been developed to deal with these models [10].

However, no single algorithm is capable of accurately describing all aspects of these complex systems: each algorithm has its strengths and weaknesses, and the choice of algorithm usually depends on the specific problem under investigation. For example, some algorithms, such as exact diagonalization (ED) [11, 12, 13] or the density matrix renormalization group (DMRG) [14, 15] are better suited for studying ground-state properties, while others (quantum Monte Carlo (QMC) simulations [16, 17, 18, 19], functional renormalization group (fRG) calculations [20, 21, 22], ...) perform better when one is interested in dynamic properties such as transport or response functions.

Another popular method, dynamical mean-field theory (DMFT) has been immensely successful; in particular it correctly predicts the Mott transition in the Hubbard model [23]. By approximating the electron self-energy to be local, it however disregards non-local correlation effects, leading to a violation of the Mermin-Wagner theorem [24, 25] as well as a failure to predict the pseudo-gap in the Hubbard model [10]. Non-local (e.g. cluster [26, 27, 28, 29] or diagrammatic [30]) extensions of DMFT improve on that front, but are computationally much more expensive. Ultimately, the choice of algorithm is guided by the computational resources available and the trade-off between accuracy and efficiency, as well as by physical insights into which approximations may be justified more than others.

A common motif of many of these algorithms is that they rely on the computation of nn-particle Green’s functions, where usually n=1,2n = 1, 2. Roughly speaking, these functions describe correlations within the physical system of interest, such as its response to an external perturbation. In thermal equilibrium, Green’s functions are usually defined as imaginary-time-ordered correlation functions, which allows the use of techniques and concepts from statistical mechanics, such as the partition function and free energy. In Fourier space, the corresponding frequencies take on discrete and complex values. This Matsubara formalism is widely used to study strongly correlated electron systems, where it provides a powerful tool for calculating thermodynamic quantities, such as the specific heat and magnetic susceptibility, as well as dynamical properties, such as the electron self-energy and optical conductivity [31, 32].

In this manuscript, we present MatsubaraFunctions.jl, a software package written in Julia [33] that implements containers for Green’s functions in thermal equilibrium. More specifically, it provides a convenient interface for quickly prototyping algorithms involving multivariable Green’s functions of the form Gi1...in(ω1,...,ωm)G_{i_1...i_n}(\omega_1,...,\omega_m), with lattice/orbital indices iki_k (k=1,...,nk = 1,...,n) and Matsubara frequencies ωl\omega_l (l=1,...,ml = 1,...,m). In an attempt to mitigate monolithic code design and superfluous code reproduction, our goal is to promote a common interface between algorithms where these types of functions make up the basic building blocks. We implement this interface in Julia, since some more recently developed methods, such as the pseudofermion [34, 35, 36, 37, 38, 39, 40, 41] and pseudo-Majorana fRG [42, 43, 44, 45], seem to have been implemented in Julia as the preferred programming language. In the spirit of similar software efforts, such as the TRIQS library for C++ [46], this package therefore aims to provide a common foundation for these and related codes in Julia that is fast enough to facilitate large-scale computations on high-performance computing architectures [47], while remaining flexible and easy to use.

Equilibrium Green’s functions

In this section, we give a brief introduction to equilibrium Green’s functions and their properties. In its most general form, an imaginary time, nn-particle Green’s function G(n)G^{(n)} is defined as the correlator [48]

Gi1...i2n(n)(τ1,...,τ2n)=⟨T^ci1†(τ1)ci2(τ2)...ci2n−1†(τ2n−1)ci2n(τ2n)⟩,(1)G^{(n)}_{i_1...i_{2n}}(\tau_1,...,\tau_{2n}) = \langle\hat{T}c^\dagger_{i_1}(\tau_1)c_{i_2}(\tau_2)...c^\dagger_{i_{2n-1}}(\tau_{2n-1})c_{i_{2n}}(\tau_{2n})\rangle, \tag*{(1)}

where T^\hat{T} is the imaginary-time-ordering operator and ⟨O^⟩=1ZTr⁡(e−βH^O^)\langle\hat{O}\rangle= \frac{1}{Z}\operatorname{Tr}(e^{-\beta\hat{H}}\hat{O}) denotes the thermal expectation value of an operator O^\hat{O} with respect to the Hamiltonian H^\hat{H} at temperature T=1/βT = 1/\beta. Note that natural units are used throughout, in particular we set kB≡1k_B \equiv1. Here, c(†)c^{(\dagger)} are fermionic or bosonic creation and annihilation operators and Z=Tr⁡(e−βH^)Z = \operatorname{Tr}(e^{-\beta\hat{H}}) is the partition function. The indices iki_k represent additional degrees of freedom such as lattice site, spin and orbital index. In order for the right-hand side in Eq. (1) to be well defined, it is necessary to restrict the τ\tau arguments to an interval of length β\beta, as can be seen, for example, from a spectral (Lehmann) representation of the expectation value [48]. Furthermore, the cyclicity of the trace implies that the field variables are anti-periodic in β\beta for fermions, or periodic in β\beta for bosons, respectively. This allows us to define their Fourier series expansion

ci(τ)=1β∑νkci,ke−iνkτcˉi(τ)=1β∑νkcˉi,keiνkτ(2)\begin{aligned} c_i(\tau) &= \frac{1}{\beta}\sum_{\nu_k}c_{i,k}e^{-i\nu_k\tau} & \bar{c}_i(\tau) &= \frac{1}{\beta}\sum_{\nu_k}\bar{c}_{i,k}e^{i\nu_k\tau} \tag*{(2)} \end{aligned}
ci,k=∫0βdτ ci(τ)eiνkτcˉi,k=∫0βdτ cˉi(τ)e−iνkτ(3)\begin{aligned} c_{i,k} &= \int_0^\beta d\tau\,c_i(\tau)e^{i\nu_k\tau} & \bar{c}_{i,k} &= \int_0^\beta d\tau\,\bar{c}_i(\tau)e^{-i\nu_k\tau} \tag*{(3)} \end{aligned}

where νk=πβ{2k+12k\nu_k = \frac{\pi}{\beta}\begin{cases}2k+1\\2k\end{cases}, with k∈Zk \in\mathbb{Z} are the fermionic or bosonic Matsubara frequencies1. These definitions carry over to the nn-particle Green’s function G(n)G^{(n)}, giving

Gi1…i2n(n)(τ1,…,τ2n)=1β∑ν1eiν1τ1…1β∑ν2ne−iν2nτ2nGi1…i2n(n)(ν1,…,ν2n)(4)G^{(n)}_{i_1\ldots i_{2n}}(\tau_1,\ldots,\tau_{2n}) = \frac{1}{\beta}\sum_{\nu_1}e^{i\nu_1\tau_1}\ldots \frac{1}{\beta}\sum_{\nu_{2n}}e^{-i\nu_{2n}\tau_{2n}} G^{(n)}_{i_1\ldots i_{2n}}(\nu_1,\ldots,\nu_{2n}) \tag*{(4)}
Gi1…i2n(n)(ν1,…,ν2n)=∫0βdτ1e−iν1τ1…∫0βdτ2neiν2nτ2nGi1…i2n(n)(τ1,…,τ2n).(5)G^{(n)}_{i_1\ldots i_{2n}}(\nu_1,\ldots,\nu_{2n}) = \int_0^\beta d\tau_1 e^{-i\nu_1\tau_1}\ldots \int_0^\beta d\tau_{2n}e^{i\nu_{2n}\tau_{2n}} G^{(n)}_{i_1\ldots i_{2n}}(\tau_1,\ldots,\tau_{2n}) . \tag*{(5)}

Code structure

MatsubaraFunctions.jl is an open-source project distributed via Github [49] and licensed under the MIT license. Using Julia’s built-in package manager, the code can be easily installed using

$ julia
julia> ]
pkg> add https://github.com/dominikkiese/MatsubaraFunctions.jl

from the terminal. Here, ] activates the package manager from the Julia REPL, where add downloads the code and its dependencies. The following is an overview of the functionality of the package, starting with a discussion of its basic types and how to use them. A full documentation of the package is available from the github repository.

Basic types

The package evolves around three concrete Julia types: MatsubaraFrequency, MatsubaraGrid and MatsubaraFunction. A Matsubara frequency can be either fermionic or bosonic, that is, νk=πβ(2k+1)\nu_k = \frac{\pi}{\beta}(2k+1) or νk=2πβk\nu_k = \frac{2\pi}{\beta}k. For a given temperature T=1/βT = 1/\beta and Matsubara index kk they can be constructed using

1 v = MatsubaraFrequency(T, k, Fermion)
2 w = MatsubaraFrequency(T, k, Boson)

Basic arithmetic operations on these objects include addition, subtraction and sign reversal, each of which creates a new MatsubaraFrequency instance.

1 v1 = v + v # type(v1) = :Boson
2 v2 = w - v # type(v2) = :Fermion
3 v3 = -v    # type(v3) = :Fermion

MatsubaraGrids are implemented as sorted collections of uniformly (and symmetrically) spaced Matsubara frequencies. To construct them, users need only specify the temperature, number of positive frequencies, and the particle type.

1 T = 1.0
2 N = 128
3 g1 = MatsubaraGrid(T, N, Fermion) # total no. frequencies is 2N
4 g2 = MatsubaraGrid(T, N, Boson)   # total no. frequencies is 2N - 1

Note that the bosonic Matsubara frequency at zero is included in the positive frequency count. Grid instances are iterable

1 for v in g1
2     println(value(v))
3     println(index(v))
4 end

and can be evaluated using either a MatsubaraFrequency or Float64 as input.

1 idx = rand(eachindex(g1))
2 @assert g1(g1[idx]) == idx
3 @assert g1(value(g1[idx])) == idx

Here, we first select a random linear index idx and then evaluate g1 using either the corresponding Matsubara frequency g1[idx] or its value. In the former case, g1(g1[idx]) returns the corresponding linear index of the frequency in the grid, whereas g1(value(g1[idx])) finds the linear index of the closest mesh point2. The package supports storage of grid instances in H5 file format.

1 using HDF5
2 file = h5open("save_g1.h5", "w")
3 save_matsubara_grid!(file, "g1", g1)
4 g1p = load_matsubara_grid(file, "g1")
5 close(file)

Finally, a MatsubaraFunction is a collection of Matsubara grids with an associated tensor structure Gi1…inG_{i_1\ldots i_n} for each point (ν1,…,νm)(\nu_1,\ldots,\nu_m) in the Cartesian product of the grids. The indices iki_k could, for example, represent lattice sites or orbitals. To construct a MatsubaraFunction users need to provide a tuple of MatsubaraGrid objects, as well as the dimension of each iki_k.

T = 1.0
N = 128
g = MatsubaraGrid(T, N, Fermion)

# 1D grid, rank 1 tensor with index dimension 1 (scalar valued)
f1_complex = MatsubaraFunction(g, 1)
f1_real = MatsubaraFunction(g, 1, Float64)

# 1D grid, rank 1 tensor with index dimension 5 (vector valued)
f2_complex = MatsubaraFunction(g, 5)
f2_real = MatsubaraFunction(g, 5, Float64)

# 1D grid, rank 2 tensor with index dimension 5 (matrix valued)
f3_complex = MatsubaraFunction(g, (5, 5))
f3_real = MatsubaraFunction(g, (5, 5), Float64)

# 2D grid, rank 2 tensor with index dimension 5 (matrix valued)
f4_complex = MatsubaraFunction((g, g), (5, 5))
f4_real = MatsubaraFunction((g, g), (5, 5), Float64)

In addition, a floating point type can be passed to the constructor, which fixes the data type for the underlying multidimensional array3. Similar to the grids, MatsubaraFunctions can be conveniently stored in H5 format.

using HDF5
file = h5open("save_f1_complex.h5", "w")
save_matsubara_function!(file, "f1_complex", f1_complex)
f1p = load_matsubara_function(file, "f1_complex")
close(file)

Accessing and assigning Green’s function data

The library provides two possible ways to access the data of a MatsubaraFunction, using either the bracket ([]) or parenthesis (()) operator. While the notion of the former is that of a Base.getindex, the latter evaluates the MatsubaraFunction for the given arguments in such a way that its behavior is well-defined even for out-of-bounds access. The bracket can be used with a set of MatsubaraFrequency instances and tensor indices iki_k, as well as with Cartesian indices for the underlying data array. It returns the value of the data exactly for the given input arguments, throwing an exception if they are not in bounds. In addition, the bracket can be used to assign values to a MatsubaraFunction as shown in the following example.

y = 0.5
T = 1.0
N = 128
g = MatsubaraGrid(T, N, Fermion)
f = MatsubaraFunction(g, 1)

for v in g
    # if there is only one index of dimension 1, it does not need
    # to be specified, i.e. f[v] can be used instead of f[v, 1]
    # (also works for the '()' operator)
    f[v] = 1.0 / (im * value(v) - y)
end
13
14 # access MatsubaraFunction data
15 v = g[rand(eachindex(g))]
16 println(f[v]) # fast data access, throws error if v is out of bounds

When ff is evaluated using Matsubara frequencies within its grid, it returns the same result as if a bracket was used. However, if the frequencies are replaced by Float64 values, a multilinear interpolation within the Cartesian product of the grids is performed. If the frequency / float arguments are out of bounds, MatsubaraFunctions falls back to extrapolation. The extrapolation algorithm distinguishes between one-dimensional and multidimensional frequency grids. In the 1D case, an algebraic decay is fitted to the high-frequency tail of the MatsubaraFunction, which is then evaluated for the given arguments. The functional form of the asymptote is currently restricted to f(ν)=α0+α1ν+α2ν2f(\nu)=\alpha_0+\frac{\alpha_1}{\nu}+\frac{\alpha_2}{\nu^2} (with α0,α1,α2∈C\alpha_0,\alpha_1,\alpha_2\in\mathbb{C})4, which is motivated by the linear or quadratic decay that physical Green’s functions typically exhibit. For multidimensional grids, a constant extrapolation is performed from the boundary. Different modes of evaluation are illustrated in an example below.

1 y = 0.5
2 T = 1.0
3 N = 128
4 g = MatsubaraGrid(T, N, Fermion)
5 f = MatsubaraFunction(g, 1)
6
7 for v in g
8     f[v] = 1.0 / (im * value(v) - y)
9 end
10
11 # access MatsubaraFunction data
12 v = g[rand(eachindex(g))]
13 println(f(v)) # fast data access, defined even if v is out of bounds
14 println(f(value(v))) # slow data access, uses interpolation
15
16 # polynomial extrapolation in 1D, constant term set to 0 (the default)
17 vp = MatsubaraFrequency(T, 256, Fermion)
18 println(f(vp; extrp = ComplexF64(0.0)))

Extrapolation of Matsubara sums

A common task when working with equilibrium Green’s functions is the calculation of Matsubara sums 1β∑νf(ν)\frac{1}{\beta}\sum_\nu f(\nu), where we have omitted additional indices of ff for brevity. However, typical Green’s functions decay rather slowly (algebraically) for large frequencies, which presents a technical difficulty for the accurate numerical calculation of their Matsubara sums: they may require some regulator function to control the convergence5 (difficult to implement) and a large number of frequencies to sum over (expensive). In contrast, there exist analytical results for simple functional forms of ff even in cases where a straightforward numerical summation fails. MatsubaraFunctions provides the sum me function, which can be used to calculate sums over complex-valued f(ν)f(\nu), if f(z)f(z) (with z∈Cz\in\mathbb{C}) decays to zero for large ∣z∣\lvert z\rvert and is representable by a Laurent series in an elongated annulus about the imaginary axis (see App. § 7 for details). An example for its use is shown below. Note that this feature is experimental and its API as well as the underlying algorithm might change in future versions.

1 y = 0.5
2 T = 1.0
3 N = 128
4 g = MatsubaraGrid(T, N, Fermion)
5 f = MatsubaraFunction(g, 1)
6
7 for v in g
8     f[v] = 1.0 / (im * value(v) - y)
9 end
10
11 # evaluate the series and compare to analytic result
12 rho(x, T) = 1.0 / (exp(x / T) + 1.0)
13 println(abs(sum_me(f) - (rho(+y, T) - 1.0)))

Padé approximants

Although the Matsubara formalism provides a powerful tool for the calculation of thermodynamic quantities, it lacks the ability to directly determine, for example, dynamic response functions or transport properties associated with real-frequency Green’s functions, which facilitate comparison with experiments. There have been recent advances in the use of real-frequency quantum field theory [50, 51, 52, 53], yet the calculation of dynamic real-frequency Green’s functions remains a technically challenging endeavor. In many applications, therefore, one resorts to calculations on the imaginary axis and then performs an analytic continuation in the complex upper half-plane to determine observables on the real-frequency axis. The analytic continuation problem is ill-conditioned, because there may be significantly different real-frequency functions describing the same set of complex-frequency data within finite precision. Nevertheless, there has been remarkable progress in the development of numerical techniques such as the maximum entropy method [54, 55, 56] or stochastic analytical continuation [57, 58]. These methods are particularly useful when dealing with stochastic noise induced by Monte Carlo random sampling. A corresponding implementation in Julia is, for example, provided by the ACFlow toolkit [59]. On the other hand, if the input data are known with a high degree of accuracy (as in the fRG and related approaches), analytic continuation using Padé approximants is a valid alternative. Here, one first fits a rational function to the complex frequency data which is then used as a proxy for the Green’s function in the upper half-plane. If the function of interest has simple poles this procedure can already provide fairly accurate results, see e.g. Ref. [60]. In MatsubaraFunctions we implement the fast algorithm described in the appendix of Ref. [61], which computes an NN-point Padé approximant for a given set of data points {(xi,yi)∣i=1,…,N}\{(x_i,y_i)|i = 1,\ldots,N\}. A simple example of its use is shown below. Note that it might be necessary to use higher precision floating-point arithmetic to cope with rounding errors in the continued fraction representation used for calculating the Padé approximant.

1 # some dummy function
2 as   = ntuple(x -> rand(BigFloat), 4)
3 f(x) = as[1] / (1.0 + as[2] * x / (1.0 + as[3] * x / (1.0 + as[4] * x)))
4
5 # generate sample and compute Pade approximant
6 xdata = Vector{BigFloat}(0.01 : 0.01 : 1.0)
7 ydata = f.(xdata)
8 PA    = PadeApprox(xdata, ydata)
9
10 @assert length(coeffs(PA)) == 5
11 @assert PA.(xdata) ≈ ydata

Automated symmetry reduction

In many cases, the numerical effort of computing functions in the Matsubara domain can be drastically reduced by the use of symmetries. For one-particle fermionic Green’s functions Gi1i2(ν)G_{i_1i_2}(\nu), for example, complex conjugation implies that Gi1i2(ν)=Gi2i1∗(−ν)G_{i_1i_2}(\nu) = G^{*}_{i_2i_1}(-\nu), relating positive and negative Matsubara frequencies. Our package provides an automated way to compute the set of irreducible MatsubaraFunction components6, given a list of one or more symmetries as is illustrated in the following example

1 y = 0.5
2 T = 1.0
3 N = 128
4 g = MatsubaraGrid(T, N, Fermion)
5 f = MatsubaraFunction(g, 1)
6
7 for v in g
8     f[v] = 1.0 / (im * value(v) - y)
9 end
10
11 # complex conjugation acting on Green's function
12 function conj(
13     w :: Tuple{MatsubaraFrequency},
14     x :: Tuple{Int64}
15 ) :: Tuple{Tuple{MatsubaraFrequency}, Tuple{Int64}, MatsubaraOperation}
16
17     return (-w[1],), (x[1],), MatsubaraOperation(sgn = false, con = true)
18 end
19
20 # compute the symmetry group
21 SG = MatsubaraSymmetryGroup([MatsubaraSymmetry{1, 1}(conj)], f)
22
23 # obtain another Green's function by symmetrization
24 function init(
25     w :: Tuple{MatsubaraFrequency},
26     x :: Tuple{Int64}
27 ) :: ComplexF64
28
29     return f[w, x...]
30 end
31
32 InitFunc = MatsubaraInitFunction{1, 1, ComplexF64}(init)
33 h         = MatsubaraFunction(g, 1)
34 SG(h, InitFunc)
35 @assert h == f

Here, one first constructs an instance of type MatsubaraSymmetry by passing a function that maps the input arguments of f to new arguments extended by a MatsubaraOperation. The latter specifies whether the evaluation of f on the mapped arguments should be provided with an additional sign or complex conjugation. Next, the irreducible array elements are computed and an object of type MatsubaraSymmetryGroup7 is constructed from a vector of symmetries provided by the user. Here, the length of the vector is one (we only considered complex conjugation), but the generalization to multiple symmetries is straightforward (see [62] for more examples). A MatsubaraSymmetryGroup can be called with a MatsubaraFunction and an initialization function8. This call will evaluate the MatsubaraInitFunction for all irreducible elements of the symmetry group of f, writing the result into the data array of h. Finally, all symmetry equivalent elements are determined without additional calls to the (costly) initialization function. Symmetry groups can be stored in H5 format as shown below.

using HDF5
file = h5open("save_SG.h5", "w")
save_matsubara_symmetry_group!(file, "SG", SG)
SGp = load_matsubara_symmetry_group(file, "SG")
close(file)

Running in parallel

To simplify code parallelization when using MatsubaraFunctions.jl, the package has some preliminary MPI support based on the MPI.jl wrapper and illustrated in an example below.

using MatsubaraFunctions
using MPI

MPI.Init()
mpi_info()
mpi_println("I print on main.")
ismain = mpi_ismain() # ismain = true if rank is 0

y = 0.5
T = 1.0
N = 128
g = MatsubaraGrid(T, N, Fermion)
f = MatsubaraFunction(g, 1)

for v in g
    f[v] = 1.0 / (im * value(v) - y)
end

# simple loop parallelization for UnitRange
for vidx in mpi_split(1 : length(g))
    println("My rank is $(mpi_rank()): $(vidx)")
end

# simple (+) allreduce
mpi_allreduce!(f)

Calls of MatsubaraSymmetryGroup with an initialization function have an opt-in switch (mode) to enable parallel evaluation of the MatsubaraInitFunction (by default mode = :serial). If mode = :polyester, shared memory multithreading as provided by the Polyester Julia package [63] is used9. This mode is recommended for initialization functions that are cheap to evaluate and are unlikely to benefit from Threads.@threads due to the overhead from invoking the Julia scheduler. For more expensive functions, users can choose between mode = :threads, which simply uses Threads.@threads, and mode = :hybrid. The latter combines both MPI and native Julia threads and can therefore be used to run calculations on multiple compute nodes.

Performance note

By default, types in MatsubaraFunctions.jl perform intrinsic consistency checks when they are invoked. For example, when computing the linear index of a MatsubaraFrequency in a MatsubaraGrid, we make sure that the particle types and temperatures match between the two. While this ensures a robust modus operandi, it unfortunately impacts performance, especially for larger projects. To deal with this issue, we have implemented a simple switch, MatsubaraFunctions.sanity_checks(), which, when turned off10 disables @assert expressions. It is not recommended to touch this switch until an application has been thoroughly tested, as it leads to wrong results on improper use. For the MBE solver discussed in § 4.3.2, we found runtime improvements of up to 10% when the consistency checks were disabled.

Examples

Hartree-Fock calculation in the atomic limit

As a first example of the use of MatsubaraFunctions.jl we consider the calculation of the one-particle Green’s function GG using the Hartree-Fock (HF) approximation in the atomic limit of the Hubbard model, i.e., we consider the Hamiltonian

H^=Un^↑n^↓−μ(n^↑+n^↓)(6)\hat{H} = U\hat{n}_{\uparrow}\hat{n}_{\downarrow} - \mu(\hat{n}_{\uparrow} + \hat{n}_{\downarrow}) \tag*{(6)}

where UU denotes the Hubbard interaction and n^σ\hat{n}_{\sigma} are the density operators for spin up and down. In the following, we fix the chemical potential to μ=0\mu= 0, i.e., we consider the system in the strongly hole-doped regime.

The Hartree-Fock theory [64, 65, 66] is a widespread method in condensed matter physics used to describe, e.g., electronic structures and properties of materials [67, 68]. It is a mean-field approximation as it treats the electrons in a solid as independent particles being subject to an effective background field due to all the other particles.

In an interacting many-body system, the bare Green’s function G0G_0 has to be dressed by self-energy insertions, here denoted by Σ\Sigma, in order to obtain GG, which is summarized in the Dyson equation

G=G0[1−ΣG0]−1=G0+G0ΣG0+G0ΣG0ΣG0+…(7)G = G_0[1 - \Sigma G_0]^{-1} = G_0 + G_0\Sigma G_0 + G_0\Sigma G_0\Sigma G_0 + \ldots \tag*{(7)}

where G0G_0, GG and Σ\Sigma in general are matrix-valued. In HF theory one only considers the lowest order term contributing to the self-energy, which is linear in the interaction potential. For the spin-rotation invariant single-site system at hand, Σ=Σσ=Σ\Sigma= \Sigma_{\sigma} = \Sigma and the HF approximation for the self-energy reads

Σ(ν)≈Uβ∑ν′G(ν′)eiν′0+=Un(8)\Sigma(\nu) \approx\frac{U}{\beta}\sum_{\nu'}G(\nu')e^{i\nu'0^{+}} = Un \tag*{(8)}

where nn is the density per spin. The Dyson equation then takes the simple form

G(ν)≈[G0−1(ν)−Un]−1.(9)G(\nu) \approx[G_0^{-1}(\nu) - Un]^{-1}. \tag*{(9)}

Below, we demonstrate how to set up and solve Eqs. (8) & (9) self-consistently for the density nn using Anderson acceleration [69, 70] as provided by the NLsolve Julia package [71] in conjunction with MatsubaraFunctions.jl.

using MatsubaraFunctions
using NLsolve

const T = 0.3 # temperature
const U = 0.9 # interaction
const N = 1000 # no. frequencies

# initialize Green's function container
g = MatsubaraGrid(T, N, Fermion)
G = MatsubaraFunction(g, 1)

for v in g
    G[v] = 1.0 / (im * value(v))
end

# set up fixed-point equation for NLsolve
function fixed_point!(F, n, G)

    # calculate G
    for v in grids(G, 1)
        G[v] = 1.0 / (im * value(v) - U * n[1])
    end

    # calculate the residue
    F[1] = density(G) - n[1]

    return nothing
end

res = nlsolve((F, n) -> fixed_point!(F, n, G), [density(G)], method = :anderson)

Here, we first build the MatsubaraFunction container for GG and initialize it to G0(ν)=1iνG_0(\nu) = \frac{1}{i\nu}. This container is then passed to the fixed-point equation using an anonymous function, which mutates GG on each call to incorporate the latest estimate of nn11. Figure 1 shows exemplary results for the full Green’s function and HF density. As can be seen from Figure 1(b) the latter deviates from its bare value n0=12n_0 = \frac{1}{2} when the temperature is decreased and approaches n=0n = 0 for T→0T \to0, as expected.

Figure 1. Exemplary Hartree–Fock results. (a) Comparison of the bare Green’s function G0G_0 with the HF result GHFG_{\mathrm{HF}} for T/U=13T/U = \frac{1}{3}. (b) Hartree–Fock density nn as a function of temperature.

GW calculation in the atomic limit

In this section, we extend our Hartree-Fock code to include bubble corrections12 in the calculation of the self-energy. The resulting equations, commonly known as the GWGW approximation, allow us to exemplify the use of more advanced library features, such as extrapolation of the single-particle Green’s function and the implementation of symmetries. Therefore, they present a good starting point for the more involved application discussed in § 4.3.1.

The GWGW approximation is a widely used method in condensed matter physics and quantum chemistry for calculating electronic properties of materials [72, 73, 74]. In addition to the Hartree term ΣH=Un\Sigma_{\mathrm{H}} = Un, which considers only the bare interaction, the mutual screening of the Coulomb interaction between electrons is partially taken into account. For spin-rotation invariant systems it is common practice to decouple these screened interactions η\eta13 into a density (or charge) component ηD\eta^{D} and a magnetic (or spin) component ηM\eta^{M} (see App. § 8), such that

Σ(ν)≈Un2−1β∑ν′G(ν′)[14ηD(ν−ν′)+34ηM(ν−ν′)](10)\Sigma(\nu) \approx\frac{Un}{2} - \frac{1}{\beta} \sum_{\nu'} G(\nu') \left[ \frac{1}{4}\eta^{D}(\nu-\nu') + \frac{3}{4}\eta^{M}(\nu-\nu') \right] \tag*{(10)}

for the atomic limit Hamiltonian. The η\eta are computed by summing a series of bubble diagrams in the particle-hole channel, i.e.,

ηD/M(Ω)=±U1∓UP(Ω)(11)\eta^{D/M}(\Omega) = \frac{\pm U}{1 \mp UP(\Omega)} \tag*{(11)}

where the polarization bubble PP is given by

P(Ω)=1β∑νG(Ω+ν)G(ν)(12)P(\Omega) = \frac{1}{\beta} \sum_{\nu} G(\Omega+\nu)G(\nu) \tag*{(12)}

A diagrammatic representation of these relations is shown in Figure 2. Finally, the set of equations is closed by computing GG from the Dyson equation. Since the Green’s function transforms as G∗(ν)=G(−ν)G^{*}(\nu)=G(-\nu) under complex conjugation [48], we also have that

Image not extracted

Figure 2. Diagrammatic representation of spin-conserving GWGW equations in the atomic limit. Wavy lines denote the screened interactions in the density (red) and magnetic (blue) channel. They are obtained by dressing the respective bare interactions with a series of bubble diagrams P(Ω)P(\Omega), as illustrated in the second and third line from the top.

P(−Ω)=1β∑νG(−Ω+ν)G(ν)=1β∑νG(−Ω−ν)G(−ν)=1β∑νG∗(Ω+ν)G∗(ν)=P∗(Ω),(13)P(-\Omega)=\frac{1}{\beta}\sum_{\nu}G(-\Omega+\nu)G(\nu)=\frac{1}{\beta}\sum_{\nu}G(-\Omega-\nu)G(-\nu)=\frac{1}{\beta}\sum_{\nu}G^{*}(\Omega+\nu)G^{*}(\nu)=P^{*}(\Omega), \tag*{(13)}

and likewise Σ∗(ν)=Σ(−ν)\Sigma^{*}(\nu)=\Sigma(-\nu). Thus, the numerical effort for evaluating Eqs. (10) and (12) can be reduced by a factor of two using a MatsubaraSymmetryGroup object. To structure the GWGW code, we first write a solver class which takes care of the proper initialization of the necessary MatsubaraFunction instances.

using MatsubaraFunctions
using HDF5

conj(w, x) = (-w[1],), (x[1],), MatsubaraOperation(sgn = false, con = true)

struct GWsolver
    T       :: Float64
    U       :: Float64
    N       :: Int64
    G       :: MatsubaraFunction{1, 1, 2, ComplexF64}
    Sigma   :: MatsubaraFunction{1, 1, 2, ComplexF64}
    P       :: MatsubaraFunction{1, 1, 2, ComplexF64}
    η_D     :: MatsubaraFunction{1, 1, 2, ComplexF64}
    η_M     :: MatsubaraFunction{1, 1, 2, ComplexF64}
    SGf     :: MatsubaraSymmetryGroup
    SGb     :: MatsubaraSymmetryGroup

    function GWsolver(T, U, N)

        # fermionic containers
        gf  = MatsubaraGrid(T, N, Fermion)
        G   = MatsubaraFunction(gf, 1)
        Sigma = MatsubaraFunction(gf, 1)

        # bosonic containers
        gb  = MatsubaraGrid(T, N, Boson)
        P   = MatsubaraFunction(gb, 1)
        η_D = MatsubaraFunction(gb, 1)
        η_M = MatsubaraFunction(gb, 1)

        # symmetry groups
        SGf = MatsubaraSymmetryGroup([MatsubaraSymmetry{1, 1}(conj)], G)
        SGb = MatsubaraSymmetryGroup([MatsubaraSymmetry{1, 1}(conj)], P)

        return new(T, U, N, G, Sigma, P, η_D, η_M, SGf, SGb)
    end
end

As a second step, we implement the self-consistent equations, which we solve using Anderson acceleration. Note that we have rewritten the GWGW equation for the self-energy as

Σ(ν)≈Un−1β∑ν′G(ν′)[14ηD(ν−ν′)+34ηM(ν−ν′)+U2],(14)\Sigma(\nu)\approx Un-\frac{1}{\beta}\sum_{\nu'}G(\nu')\left[\frac{1}{4}\eta^{D}(\nu-\nu')+\frac{3}{4}\eta^{M}(\nu-\nu')+\frac{U}{2}\right], \tag*{(14)}

which is beneficial since the product of GG with the constant contributions to ηD/M\eta^{D/M} simply shifts the real part of the self-energy by Un2\frac{Un}{2} such that Σ=ΣH+O(U2)\Sigma=\Sigma_{\mathrm{H}}+\mathcal{O}(U^{2}).

function fixed_point!(F, x, S)

    # update Sigma
    unflatten!(S.Sigma, x)

    # calculate G
    for v in grids(S.G, 1)
        S.G[v] = 1.0 / (im * value(v) - S.Sigma[v])
    end

    sum_grid = MatsubaraGrid(S.T, 4 * S.N, Fermion)

    # calculate P using symmetries
    function calc_P(wtpl, xtpl)

        P = 0.0

        for v in sum_grid
            P += S.G(v + wtpl[1]) * S.G(v)
        end

        return S.T * P
    end

    S.SGb(S.P, MatsubaraInitFunction{1, 1, ComplexF64}(calc_P))

    # calculate η_D and η_M
    for w in S.P.grids[1]
        S.η_D[w] = +S.U / (1.0 - S.U * S.P[w])
        S.η_M[w] = -S.U / (1.0 + S.U * S.P[w])
    end

    # calculate Sigma using symmetries
    function calc_Sigma(wtpl, xtpl)

        Sigma = S.U * density(S.G)

        for v in sum_grid
            Sigma -= S.T * S.G(v) * (
                0.25 * S.η_D(wtpl[1] - v; extrp = ComplexF64(+S.U)) +
                0.75 * S.η_M(wtpl[1] - v; extrp = ComplexF64(-S.U)) +
                0.50 * S.U)
        end

        return Sigma
    end

    S.SGf(S.Sigma, MatsubaraInitFunction{1, 1, ComplexF64}(calc_Sigma))

    # calculate the residue
    flatten!(S.Sigma, F)
    F .-= x

    return nothing
end

Here, we make use of the flatten! and unflatten! functions which allow us to parse MatsubaraFunction data into a one dimensional array14. The fixed-point can now easily be computed with, for example,

const T = 0.3 # temperature
const U = 0.9  # interaction
const N = 1000 # no. frequencies

S = GWsolver(T, U, N)
init = zeros(ComplexF64, length(S.Sigma))
res = nlsolve((F, x) -> fixed_point!(F, x, S), init, method = :anderson, m = 8, beta = 0.5, show_trace
    = true)

In Figure 3 we show exemplary results for the self-energy and density obtained in GWGW. In contrast to the Hartree-Fock calculations in the previous section, Σ\Sigma is now a frequency-dependent quantity, whose real part asymptotically approaches UnGWUn_{GW}. As can be seen from Figure 3(b), these GWGW densities agree quantitatively with the HF result for weak interactions U/T≲12U/T \lesssim\frac{1}{2}, but yield larger densities for higher values of UU as expected when the local interaction is partially screened.

Figure 3. Exemplary GWGW results. (a) The complex-valued self-energy ΣGW\Sigma_{GW} with its real part offset by the Hartree shift ΣH=UnGW\Sigma_H = Un_{GW} for T/U=13T/U = \frac{1}{3}. (b) GWGW and Hartree-Fock densities as a function of U/TU/T.

Multiboson exchange solver for the single impurity Anderson model

Note: Readers who are not interested in the formal discussion presented below should feel free to skip this section and proceed directly to § 5 on future directions.

In the following, we extend upon the previous computations for the Hubbard atom by coupling the single electronic level to a bath of non-interacting electrons. Specifically, we consider the single-impurity Anderson model, a minimal model for localized magnetic impurities in metals introduced by P.W. Anderson to explain the physics behind the Kondo effect [75]. It is defined by the Hamiltonian

H=∑σϵddσ†dσ+Und,↑nd,↓+∑k,σ(Vkdk,σ†ck,σ+Vk∗ck,σ†dσ)+∑k,σϵkck,σ†ck,σ(15)H = \sum_{\sigma} \epsilon_d d_{\sigma}^{\dagger}d_{\sigma} + Un_{d,\uparrow}n_{d,\downarrow} + \sum_{k,\sigma}\left(V_kd_{k,\sigma}^{\dagger}c_{k,\sigma} + V_k^{*}c_{k,\sigma}^{\dagger}d_{\sigma}\right) + \sum_{k,\sigma}\epsilon_k c_{k,\sigma}^{\dagger}c_{k,\sigma} \tag*{(15)}

describing an impurity dd level ϵd\epsilon_d, hybridized with conduction electrons of the metal via a matrix element VkV_k. The electrons in the localized dd state, where nd,σ=dσ†dσn_{d,\sigma} = d_{\sigma}^{\dagger}d_{\sigma}, interact according to the interaction strength UU, whereas the cc electrons of the bath are non-interacting. Following [76], in a path-integral formulation for the partition function Z=∫∏σD(dˉσ)D(dσ)D(cˉk,σ)D(ck,σ)e−SZ = \int\prod_{\sigma} \mathcal{D}(\bar{d}_{\sigma}) \mathcal{D}(d_{\sigma}) \mathcal{D}(\bar{c}_{k,\sigma}) \mathcal{D}(c_{k,\sigma}) e^{-S} with the action S=∫0βL(τ)dτS = \int_{0}^{\beta} \mathcal{L}(\tau)d\tau, the Lagrangian for the model is given by

L(τ)=∑σdˉσ(τ)(∂τ+ϵd)dσ(τ)+∑k,σcˉk,σ(τ)(∂τ+ϵk)ck,σ(τ)+Un↑(τ)n↓(τ)+∑k,σVk[dˉσ(τ)ck,σ(τ)+cˉk,σ(τ)dσ(τ)](16)\mathcal{L}(\tau) = \sum_{\sigma} \bar{d}_{\sigma}(\tau) \left(\partial_{\tau}+\epsilon_{d}\right) d_{\sigma}(\tau) + \sum_{k,\sigma} \bar{c}_{k,\sigma}(\tau) \left(\partial_{\tau}+\epsilon_{k}\right) c_{k,\sigma}(\tau) + U n_{\uparrow}(\tau)n_{\downarrow}(\tau) + \sum_{k,\sigma} V_{k} \left[\bar{d}_{\sigma}(\tau)c_{k,\sigma}(\tau) + \bar{c}_{k,\sigma}(\tau)d_{\sigma}(\tau)\right] \tag*{(16)}

where nσ(τ)=dˉσ(τ)dσ(τ)n_{\sigma}(\tau)=\bar{d}_{\sigma}(\tau)d_{\sigma}(\tau). Integrating over the only quadratically occurring Grassmann variables for the bath electrons, one formally obtains Z=∫∏σD(dˉσ)D(dσ)e−SredZ=\int\prod_{\sigma}\mathcal{D}\left(\bar{d}_{\sigma}\right)\mathcal{D}\left(d_{\sigma}\right)e^{-S_{\mathrm{red}}} with the reduced action given by

Sred=∫0βdτ∫0βdτ′∑σdˉσ(τ)[−Gσ(0)(τ−τ′)]−1dσ(τ′)+U∫0βdτ n↑(τ)n↓(τ).(17)S_{\mathrm{red}} = \int_{0}^{\beta} \mathrm{d}\tau\int_{0}^{\beta} \mathrm{d}\tau' \sum_{\sigma} \bar{d}_{\sigma}(\tau)\left[-G_{\sigma}^{(0)}(\tau-\tau')\right]^{-1}d_{\sigma}(\tau') + U\int_{0}^{\beta}\mathrm{d}\tau\, n_{\uparrow}(\tau)n_{\downarrow}(\tau). \tag*{(17)}

Switching to Matsubara frequencies as described in § 2, the non-interacting Green’s function for the localized dd electrons reads

Gσ(0)(νn)=1iνn−ϵd+Δ(νn).(18)G_{\sigma}^{(0)}(\nu_{n}) = \frac{1}{i\nu_{n}-\epsilon_{d}+\Delta(\nu_{n})}. \tag*{(18)}

Following [77] we choose an isotropic hybridization strength Vk≡VV_{k}\equiv V and a flat density of states with bandwidth 2D2D for the bath electrons, leading to the hybridization function15

Δ(νn)=iV2Darctan⁡Dνn.\Delta(\nu_{n}) = i\frac{V^{2}}{D}\arctan\frac{D}{\nu_{n}}.

In the following, we set V=2V=2, measure energy in units of V/2=1V/2=1 and set the half bandwidth to D=10D=10. In the context of this work, we focus on the particle-hole symmetric model, setting ϵd=−U/2\epsilon_{d}=-U/2. Then, the Hartree term of the self-energy, ΣH=U/2\Sigma_{\mathrm{H}}=U/2 is conveniently absorbed into the bare propagator,

Gσ(0)(νn)→GσH(νn)=1iνn−ϵd+Δ(νn)−ΣH=1iνn+Δ(νn).(19)G_{\sigma}^{(0)}(\nu_{n}) \rightarrow G_{\sigma}^{\mathrm{H}}(\nu_{n}) = \frac{1}{i\nu_{n}-\epsilon_{d}+\Delta(\nu_{n})-\Sigma_{\mathrm{H}}} = \frac{1}{i\nu_{n}+\Delta(\nu_{n})}. \tag*{(19)}

Consequently, the Hartree propagator is used instead of the bare propagator throughout.

Single boson exchange decomposition of the parquet equations

Following [78], we now reiterate the single-boson exchange (SBE) decomposition of the four-point vertex and, subsequently, of the parquet equations. The starting point for the SBE decomposition, which was originally developed in [79, 80, 81, 82, 83, 84], is the unambiguous classification of vertex diagrams according to their UU-reducibility in each channel. In order to introduce this concept in the context of the parquet equations, we first have to discuss the similar concept of two-particle reducibility, which provides the basis for the parquet decomposition of the vertex,

Γ=Λ2PI+γa+γp+γt.(20)\Gamma= \Lambda_{\mathrm{2PI}} + \gamma_{a} + \gamma_{p} + \gamma_{t}. \tag*{(20)}

This decomposition states that all diagrams which contribute to the two-particle vertex Γ\Gamma can be classified as being part of one of four disjoint contributions: γr\gamma_{r} with r∈{a,p,t}r\in\{a,p,t\} collects those diagrams which are two-particle reducible (2PR) in channel rr, i.e., they can be disconnected by cutting a pair of propagator lines, which can either be aligned in an antiparallel (aa), parallel (pp) or transverse antiparallel (tt) way. All remaining diagrams, which are not 2PR in either of the three channels, contribute to Λ2PI\Lambda_{2\mathrm{PI}}, the fully two-particle irreducible (2PI) vertex. One can equally well decompose Γ\Gamma w.r.t. its two-particle reducibility in one of the three channels, Γ=Ir+γr\Gamma=I_r+\gamma_r, which defines Ir=Λ2PI+∑r′≠rγr′I_r=\Lambda_{2\mathrm{PI}}+\sum_{r'\ne r}\gamma_{r'}, collecting all diagrams that are 2PI in channel rr. The Bethe-Salpeter equations (BSEs) then relate the reducible diagrams to the irreducible ones,

γr=Ir∘Πr∘Γ=Γ∘Πr∘Ir.(21)\gamma_r=I_r\circ\Pi_r\circ\Gamma=\Gamma\circ\Pi_r\circ I_r. \tag*{(21)}

This short-hand notation introduces the Πr\Pi_r bubble, i.e., the propagator pair connecting the two vertices, see [78] for their precise channel-dependent definition, as well as for the connector symbol ∘\circ, which channel-dependently denotes summation over internal frequencies and quantum numbers. The self-energy Σ\Sigma, which enters the propagator via the Dyson equation G=G0+G0ΣGG=G_0+G_0\Sigma G, is provided by the Schwinger-Dyson equation (SDE),

Σ=−(U+U∘Πp∘Γ)⋅G=−(U+12U∘Πa∘Γ)⋅G,(22)\Sigma=-\left(U+U\circ\Pi_p\circ\Gamma\right)\cdot G=-\left(U+\frac{1}{2}U\circ\Pi_a\circ\Gamma\right)\cdot G, \tag*{(22)}

where UU is the bare interaction and the symbol ⋅\cdot denotes the contraction of two vertex legs with a propagator. Together, equations (20), (21) and (22) are known as the parquet equations [85, 86] and can be solved self-consistently, if the 2PI vertex Λ2PI\Lambda_{2\mathrm{PI}} is provided [87, 88, 89, 90]. Unfortunately, Λ2PI\Lambda_{2\mathrm{PI}} is the most complicated object, as its contributions contain nested contractions over internal arguments. Often, the parquet approximation (PA) is therefore employed, which truncates Λ2PI\Lambda_{2\mathrm{PI}} beyond the bare interaction UU. In the context of the SBE decomposition relevant to this work, UU-reducibility is an alternative criterion to the concept of two-particle reducibility for the classification of vertex diagrams. A diagram that is 2PR in channel rr is also said to be UU-reducible in channel rr if it can be disconnected by removing one bare vertex that is attached to a Πr\Pi_r bubble, as illustrated in Figure 4. Furthermore, the bare vertex UU is defined to be UU-reducible in all three channels. The UU-reducible diagrams in channel rr are in the following denoted ∇r\nabla_r and are said to describe single-boson exchange processes, as the linking bare interaction UU, which would disconnect the diagram if cut, mediates just a single bosonic transfer frequency. The diagrams which are 2PR in channel rr but not UU-reducible in channel rr are called multi-boson exchange diagrams and denoted MrM_r. With these classifications, the two-particle reducible vertices can be written as γr=∇r−U+Mr\gamma_r=\nabla_r-U+M_r, making sure to exclude UU, which is contained in ∇r\nabla_r but not in γr\gamma_r. The parquet decomposition (20) yields in this language,

Image not extracted

Figure 4. Illustration of UU-reducibility in the three two-particle channels aa, pp and tt. The Figure is analogous to Fig. 4 of [80] and adapted from [78]. Γ1\Gamma_1 and Γ2\Gamma_2 can be any vertex diagram or the unit vertex.

Γ=φUirr+∑r∇r−2U,φUirr=Λ2PI−U+∑rMr,(23)\Gamma=\varphi^{U\mathrm{irr}}+\sum_r\nabla_r-2U,\qquad\varphi^{U\mathrm{irr}}=\Lambda_{2\mathrm{PI}}-U+\sum_r M_r, \tag*{(23)}

where φUirr\varphi^{U\mathrm{irr}} is the fully UU-irreducible part of Γ\Gamma. For a diagrammatic illustration of the first equation, see Figure 8 in [78]. The channel-dependent decomposition of the vertex Γ=Ir+γr=∇r+Tr\Gamma= I_r + \gamma_r = \nabla_r + T_r can also be split into UU-reducible and UU-irreducible parts in channel rr, defining the UU-irreducible remainder Tr=Ir−U+MrT_r = I_r - U + M_r in channel rr. Inserting all these definitions into the BSEs (21) and separating UU-reducible and UU-irreducible contributions gives the two sets of equations,

Slice through multi-boson contributions $M^{D}$, $M^{M}$ and $M^{S}$ for $T = 0.2$, $T = 0.5$ and $T = 2.0$, showing data and absolute deviations

Figure 8. Slice through multi-boson contributions MDM^{D}, MMM^{M} and MSM^{S}. The upper panels show the data for different temperatures, the lower panels the absolute deviation between the Julia and the C++ implementation, respectively. For lower temperatures the features in the data require the computation and storage of a larger number of frequency points. The agreement of the data persists to the lowest temperature shown in this paper.

∇r−U=Ir∘Πr∘∇r+U∘Πr∘Tr=∇r∘Πr∘Ir+Tr∘Πr∘U,(24)\nabla_r-U=I_r\circ\Pi_r\circ\nabla_r+U\circ\Pi_r\circ T_r=\nabla_r\circ\Pi_r\circ I_r+T_r\circ\Pi_r\circ U, \tag*{(24)}
Mr=(Ir−U)∘Πr∘Tr=Tr∘Πr∘(Ir−U),(25)M_r=(I_r-U)\circ\Pi_r\circ T_r=T_r\circ\Pi_r\circ(I_r-U), \tag*{(25)}

for each channel rr. From equation (24) one can derive (see [78] for details) that the single-boson exchange terms can be written as ∇r=λˉr∙ηr∙λr\nabla_r=\bar{\lambda}_r\bullet\eta_r\bullet\lambda_r, where λˉr,λr\bar{\lambda}_r,\lambda_r denote the Hedin vertices [72] and ηr\eta_r the screened interaction in channel rr. The former are related to the UU-irreducible vertex in channel rr via λˉr=1r+Tr∘Πr∘1r=1r+1r∘Πr∘Tr\bar{\lambda}_r=\mathbf{1}_r+T_r\circ\Pi_r\circ\mathbf{1}_r=\mathbf{1}_r+\mathbf{1}_r\circ\Pi_r\circ T_r and can be understood as UU-irreducible, amputated parts of three-point functions, as they depend on only two frequencies. In contrast to the GWGW approximation discussed in § 4.2, the screened interaction ηr\eta_r is now defined in terms of a Dyson equation, ηr=U+U∙Pr∙ηr=U+ηr∙Pr∙U\eta_r=U+U\bullet P_r\bullet\eta_r=U+\eta_r\bullet P_r\bullet U, with the polarization Pr=λr∘Πr∘1r=1r∘Πr∘λˉrP_r=\lambda_r\circ\Pi_r\circ\mathbf{1}_r=\mathbf{1}_r\circ\Pi_r\circ\bar{\lambda}_r dressed by vertex corrections. In the previous expressions, the connector ∙\bullet denotes an internal summation similar to ∘\circ, the only difference being that summation over frequencies is excluded. The corresponding unit vertex is denoted 1r\mathbf{1}_r.

Lastly, one can rewrite the SDE in terms of the screened interaction and the Hedin vertex in channel rr which yields, for example, −Σ=(ηp∙λp)⋅G=(λˉp∙ηp)⋅G-\Sigma=(\eta_p\bullet\lambda_p)\cdot G=(\bar{\lambda}_p\bullet\eta_p)\cdot G if one chooses r=pr=p. In summary, the SBE-equations to be solved read

ηr=U+U∙Pr∙ηr=U+ηr∙Pr∙U,Pr=λr∘Πr∘1r=1r∘Πr∘λˉr,λˉr=1r+Tr∘Πr∘1r,λr=1r+1r∘Πr∘Tr,Tr=Γ−λˉr∙ηr∙λr,Γ=φUirr+∑rλˉr∙ηr∙λr−2U,φUirr=Λ2PI−U+∑rMr,Mr=(Tr−Mr)∘Πr∘Tr=Tr∘Πr∘(Tr−Mr),−Σ=(ηp∙λp)⋅G=(λˉp∙ηp)⋅G.(26)\begin{aligned} \eta_r &= U+U\bullet P_r\bullet\eta_r=U+\eta_r\bullet P_r\bullet U,\\ P_r &= \lambda_r\circ\Pi_r\circ\mathbf{1}_r=\mathbf{1}_r\circ\Pi_r\circ\bar{\lambda}_r,\\ \bar{\lambda}_r &= \mathbf{1}_r+T_r\circ\Pi_r\circ\mathbf{1}_r,\\ \lambda_r &= \mathbf{1}_r+\mathbf{1}_r\circ\Pi_r\circ T_r,\\ T_r &= \Gamma-\bar{\lambda}_r\bullet\eta_r\bullet\lambda_r,\\ \Gamma&= \varphi^{U\mathrm{irr}}+\sum_r\bar{\lambda}_r\bullet\eta_r\bullet\lambda_r-2U,\\ \varphi^{U\mathrm{irr}} &= \Lambda_{\mathrm{2PI}}-U+\sum_r M_r,\\ M_r &= (T_r-M_r)\circ\Pi_r\circ T_r=T_r\circ\Pi_r\circ(T_r-M_r),\\ -\Sigma&= (\eta_p\bullet\lambda_p)\cdot G=(\bar{\lambda}_p\bullet\eta_p)\cdot G. \tag*{(26)} \end{aligned}

As before, they require only the fully two-particle irreducible vertex Λ2PI\Lambda_{\mathrm{2PI}} as an input. Notably, if one employs the so-called SBE approximation [80], which amounts to setting Λ2PI=U\Lambda_{\mathrm{2PI}}=U as in the parquet approximation and neglecting multi-boson exchange contributions Mr=0M_r=0, all objects involved depend on at most two frequencies. This scheme is therefore numerically favorable compared to the PA if the SBE approximation can be justified [91]. In the context of this paper, we do not employ the SBE approximation, but include multi-boson exchange (MBE) contributions.

Implementation in MatsubaraFunctions.jl

In this section, we present the implementation of the PA in its MBE formulation using MatsubaraFunctions.jl. In doing so, we build upon the code structure developed in § 4.2, i.e. we first define a solver class for which we later implement the self-consistent equations, as well as an interface to solve for the fixed point using Anderson acceleration, see Figure 5. In order to keep the discussion concise, we refrain from showing all of the code and, instead, focus on computational bottlenecks and point out tricks to circumvent them. For completeness, however, we also make the entire code available via an open-source repository on Github, see [62] and provide additional implementation details in App. § 8.

Image not extracted

Figure 5. Structure of the MBE code. First, an instance SS of type MBESolver is constructed by passing the SIAM parameters TT, UU, VV and DD and the sizes for the Matsubara grids. The self-energy Σ\Sigma is initialized using second order perturbation theory (PT2), while all other MatsubaraFunctions are set to their bare values. In an optional step, MatsubaraSymmetryGroups for λr\lambda_r and MrM_r (here denoted by SGSG) can be precomputed. Next, the solve! function is used to find the fixed-point of the MBE equations using Anderson acceleration. To interface with NLsolve, the fields Σ\Sigma, ηr\eta_r, λr\lambda_r and MrM_r of SS (which are sufficient to determine all other involved quantities) are flattened into a single one-dimensional array. After convergence, SS is finally written to disk in H5 file format.

Extending the GWsolver from § 4.2 to the MBEsovler needed here is a straightforward endeavor, since we just have to add containers and symmetry groups for the Hedin and multiboson vertices. Furthermore, we extend the solver to include buffers which store the result of evaluating Eqs. (26)(c), (d) and (h), such that repetitive allocations of the multidimensional data arrays for λr\lambda_r and MrM_r are avoided. Note that, due to the symmetries of the SIAM studied here, it suffices to include either λr\lambda_r or λ‾r\overline{\lambda}_r, since λr=λ‾r\lambda_r = \overline{\lambda}_r. In addition, all containers can be implemented as real-valued16.

function calc_T
    w  :: MatsubaraFrequency,
    v  :: MatsubaraFrequency,
    vp :: MatsubaraFrequency,
    η_S :: MatsubaraFunction{1, 1, 2, Float64},
    λ_S :: MatsubaraFunction{2, 1, 3, Float64},
    η_D :: MatsubaraFunction{1, 1, 2, Float64},
    λ_D :: MatsubaraFunction{2, 1, 3, Float64},
    η_M :: MatsubaraFunction{1, 1, 2, Float64},
    λ_M :: MatsubaraFunction{2, 1, 3, Float64},
    M_S :: MatsubaraFunction{3, 1, 4, Float64},
12    M_T :: MatsubaraFunction{3, 1, 4, Float64},
13    M_D :: MatsubaraFunction{3, 1, 4, Float64},
14    M_M :: MatsubaraFunction{3, 1, 4, Float64},
15    U   :: Float64,
16        :: Type{ch_D}
17    )   :: Float64

19    # bare contribution
20    T = -2.0 * U

22    # SBE contributions
23    w1       = w + v + vp
24    η1_idx   = MatsubaraFunctions.grid_index_extrp(w1, grids(η_D, 1))
25    λ1_idx1  = MatsubaraFunctions.grid_index_extrp(w1, grids(λ_D, 1))
26    λ1_idx2  = MatsubaraFunctions.grid_index_extrp(vp, grids(λ_D, 2))
27    λ1_idx3  = MatsubaraFunctions.grid_index_extrp(v, grids(λ_D, 2))

29    w2       = vp - v
30    v2       = w + v
31    η2_idx   = MatsubaraFunctions.grid_index_extrp(w2, grids(η_D, 1))
32    λ2_idx1  = MatsubaraFunctions.grid_index_extrp(w2, grids(λ_D, 1))
33    λ2_idx2  = MatsubaraFunctions.grid_index_extrp(v2, grids(λ_D, 2))

35    T += +0.5 * λ_S[λ1_idx1, λ1_idx2, 1] * η_S[η1_idx, 1] * λ_S[λ1_idx1, λ1_idx3, 1]
36    T += -0.5 * λ_D[λ2_idx1, λ1_idx3, 1] * η_D[η2_idx, 1] * λ_D[λ2_idx1, λ2_idx2, 1]
37    T += -1.5 * λ_M[λ2_idx1, λ1_idx3, 1] * η_M[η2_idx, 1] * λ_M[λ2_idx1, λ2_idx2, 1]

39    # MBE contributions
40    w_idx  = MatsubaraFunctions.grid_index_extrp(w, grids(M_S, 1))
41    v_idx  = MatsubaraFunctions.grid_index_extrp(v, grids(M_S, 2))
42    vp_idx = MatsubaraFunctions.grid_index_extrp(vp, grids(M_S, 2))

44    w1_idx = MatsubaraFunctions.grid_index_extrp(w1, grids(M_S, 1))
45    w2_idx = MatsubaraFunctions.grid_index_extrp(w2, grids(M_S, 1))
46    v2_idx = MatsubaraFunctions.grid_index_extrp(v2, grids(M_S, 2))

48    T += M_D[w_idx, v_idx, vp_idx, 1]
49    T += +0.5 * M_S[w1_idx, v_idx, vp_idx, 1]
50    T += +1.5 * M_T[w1_idx, v_idx, vp_idx, 1]
51    T += -0.5 * M_D[w2_idx, v_idx, v2_idx, 1]
52    T += -1.5 * M_M[w2_idx, v_idx, v2_idx, 1]

54    return T
55    end

Profiling the MBE code reveals that most of the time is spent calculating the irreducible vertices TrT_r, which are needed to compute both λr\lambda_r and MrM_r. In the former case, two legs of TrT_r are closed with a propagator bubble, while in the latter case, TrT_r enters both to the left and to the right of the respective (Bethe-Salpeter-like) equation. When optimizing the code, it is therefore crucial to find an efficient way to evaluate Eq. (26)(e). In the example above, an exemplary implementation of TrT_r in the density channel is shown. Here, we make use of the grid_index_extrp function, which given a Matsubara frequency and a grid gg finds the linear index of the frequency in gg or, if it is out of bounds, determines the bound of gg that is closest. This function is normally used internally to perform constant extrapolation for MatsubaraFunction objects with grid dimension greater than one17. Here, however, it can be used to precompute multiple linear indices at once, allowing us to exclusively use the [] operator and thus avoid unnecessary boundary checks. Note that we could have used tailfits for the screened interactions ηr\eta_r but opt to utilize constant extrapolation instead18. Furthermore, when TrT_r is inserted into the equations for the Hedin and multiboson vertices, it is summed up along one fermionic axis. Therefore, some frequencies, e.g. w1 = w + v + vp in line 23 of the code snippet above, will assume the same value for many different external arguments. Hence, to circumvent repeated (but superfluous) grid_index_extrp calls, it is beneficial to precompute TrT_r on a finite grid, which needs to be large enough to maintain the desired accuracy. To this end, we add buffers for the irreducible vertices to our solver class, such that we can compute e.g. the density TDT^D and magnetic contributions TMT^M inplace and in parallel, as shown in the example below.

function calc_T_ph!(
    T_D :: MatsubaraFunction{3, 1, 4, Float64},
    T_M :: MatsubaraFunction{3, 1, 4, Float64},
    η_S :: MatsubaraFunction{1, 1, 2, Float64},
    λ_S :: MatsubaraFunction{2, 1, 3, Float64},
    η_D :: MatsubaraFunction{1, 1, 2, Float64},
    λ_D :: MatsubaraFunction{2, 1, 3, Float64},
    η_M :: MatsubaraFunction{1, 1, 2, Float64},
    λ_M :: MatsubaraFunction{2, 1, 3, Float64},
    M_S :: MatsubaraFunction{3, 1, 4, Float64},
    M_T :: MatsubaraFunction{3, 1, 4, Float64},
    M_D :: MatsubaraFunction{3, 1, 4, Float64},
    M_M :: MatsubaraFunction{3, 1, 4, Float64},
    U :: Float64
) :: Nothing

Threads.@threads for vp in grids(T_D, 3)
    λ1_idx2 = MatsubaraFunctions.grid_index_extrp(vp, grids(λ_D, 2))
    vp_idx = MatsubaraFunctions.grid_index_extrp(vp, grids(M_S, 2))

    for v in grids(T_D, 2)
        w2 = vp - v
        λ1_idx3 = MatsubaraFunctions.grid_index_extrp(v, grids(λ_D, 2))
        η2_idx = MatsubaraFunctions.grid_index_extrp(w2, grids(η_D, 1))
        λ2_idx1 = MatsubaraFunctions.grid_index_extrp(w2, grids(λ_D, 1))
        v_idx = MatsubaraFunctions.grid_index_extrp(v, grids(M_S, 2))
        w2_idx = MatsubaraFunctions.grid_index_extrp(w2, grids(M_S, 1))

        for w in grids(T_D, 1)
            w1 = w + v + vp
            v2 = w + v
            η1_idx = MatsubaraFunctions.grid_index_extrp(w1, grids(η_D, 1))
            λ1_idx1 = MatsubaraFunctions.grid_index_extrp(w1, grids(λ_D, 1))
            λ2_idx2 = MatsubaraFunctions.grid_index_extrp(v2, grids(λ_D, 2))
            w_idx = MatsubaraFunctions.grid_index_extrp(w, grids(M_S, 1))
            w1_idx = MatsubaraFunctions.grid_index_extrp(w1, grids(M_S, 1))
            v2_idx = MatsubaraFunctions.grid_index_extrp(v2, grids(M_S, 2))

            # compute SBE vertices
            p1 = λ_S[λ1_idx1, λ1_idx2, 1] * η_S[η1_idx, 1] * λ_S[λ1_idx1, λ1_idx3, 1]
            p2 = λ_D[λ2_idx1, λ1_idx3, 1] * η_D[η2_idx, 1] * λ_D[λ2_idx1, λ2_idx2, 1]
            p3 = λ_M[λ2_idx1, λ1_idx3, 1] * η_M[η2_idx, 1] * λ_M[λ2_idx1, λ2_idx2, 1]

            # compute MBE vertices
            m1 = M_S[w1_idx, v_idx, vp_idx, 1]
            m2 = M_T[w1_idx, v_idx, vp_idx, 1]
            m3 = M_D[w2_idx, v_idx, v2_idx, 1]
            m4 = M_M[w2_idx, v_idx, v2_idx, 1]
T_D[w, v, vp] = -2.0 * U + M_D[w_idx, v_idx, vp_idx, 1] + 0.5 * (p1 + m1 - p2 - m3) +
    1.5 * (m2 - p3 - m4)
T_M[w, v, vp] = +2.0 * U + M_M[w_idx, v_idx, vp_idx, 1] - 0.5 * (p1 + m1 + p2 + m3) +
    0.5 * (m2 + p3 + m4)
end
end
end
return nothing
end

Here, we also make use of the fact that many frequency arguments (and their respective linear indices) are shared between different channels, which speeds up the calculation of TT even further. The implementation of, say, Eq. (26)(h) is now rather straightforward. MDM^{D}, for example, can be computed as shown below.

function calc_M!(
    M  :: MatsubaraFunction{3, 1, 4, Float64},
    Pi :: MatsubaraFunction{2, 1, 3, Float64},
    T  :: MatsubaraFunction{3, 1, 4, Float64},
    M_D :: MatsubaraFunction{3, 1, 4, Float64},
    SG :: MatsubaraSymmetryGroup,
       :: Type{ch_D}
) :: Nothing

    # model the diagram
    function f(wtpl, xtpl)

        w, v, vp = wtpl
        val = 0.0
        v1, v2    = grids(Pi, 2)(grids(T, 3)[1]), grids(Pi, 2)(grids(T, 3)[end])
        Pi_slice  = view(Pi, w, v1 : v2)
        M_D_slice = view(M_D, w, v, :)
        T_L_slice = view(T, w, v, :)
        T_R_slice = view(T, w, vp, :)

        vl = grids(T, 3)(grids(M_D, 3)[1])
        vr = grids(T, 3)(grids(M_D, 3)[end])

        for i in 1 : vl - 1
            val -= (T_L_slice[i] - M_D_slice[1]) * Pi_slice[i] * T_R_slice[i]
        end

        for i in vl : vr
            val -= (T_L_slice[i] - M_D_slice[i - vl + 1]) * Pi_slice[i] * T_R_slice[i]
        end

        for i in vr + 1 : length(T_L_slice)
            val -= (T_L_slice[i] - M_D_slice[vr - vl + 1]) * Pi_slice[i] * T_R_slice[i]
        end

        return temperature(M) * val
    end

    # compute multiboson vertex
    SG(M, MatsubaraInitFunction{3, 1, Float64}(f); mode = :hybrid)

    return nothing
end

Here, we utilize the corresponding MatsubaraSymmetryGroup object with the hybrid MPI + Threads parallelization scheme. In addition, we make use of views for the bubble and vertices to avoid repeated memory lookups in the Matsubara summation.

Benchmark results

In this section, we benchmark the presented implementation of the MBE parquet solver against an independent implementation in C++. Our motivation for this comparison is twofold: Firstly, we want to verify the overall correctness of both implementations and, secondly, we want to test how robust the multiboson formalism is to implementation details. This regards, for example, the treatment of correlation functions at the boundaries of their respective frequency grids. While the Julia code relies on (polynomial or constant) extrapolation, the C++ code replaces correlators with their asymptotic value instead. Ideally, these details should be irrelevant, except in the most difficult parameter regimes. Both codes used the physical parameters as stated after Eq. (18) and the frequency parameters according to Tab. 1. We begin by examining the static properties of the model including the quasiparticle residue ZZ given by

Z−1=1−dIm⁡[Σ(ω)]dω∣ω→0,(27)Z^{-1} = 1 - \left.\frac{d\operatorname{Im}[\Sigma(\omega)]}{d\omega}\right|_{\omega\to0}, \tag*{(27)}

as well as the susceptibilities in the density (DD) and magnetic (MM) channels. The latter can be obtained from the screened interactions analogous to Ref. [92], that is

χD/M=ηD/M−UD/M(UD/M)2.(28)\chi^{D/M} = \frac{\eta^{D/M} - U^{D/M}}{\left(U^{D/M}\right)^2}. \tag*{(28)}

The corresponding results are summarized in Figure 6. Both codes are in quantitative agreement and predict a strong enhancement of magnetic fluctuations at low temperatures. However, as has been noted in Ref. [77], the characteristic signature for the formation of a local magnetic moment at the impurity, a decrease of χD\chi^D for temperatures T≲2T \lesssim2 (for the specific choice of numerical parameters used here), is not captured by the parquet approximation. Instead, χD\chi^D increases monotonically over the entire range of temperatures considered and the system remains in a metallic state with well-defined quasiparticles (i.e. 0<Z<10 < Z < 1).

Figure 6. Results for the quasi-particle residue ZZ and the density/magnetic susceptibility χD/M\chi^{D/M}. The comparison shows good agreement between the two codes. Note that we approximated the derivative in Eq. (27) by a fourth order finite differences method.

Figure 7 shows a direct comparison of the MBE vertices and their evolution with decreasing temperature within both codes. As can be seen from the middle column, showing the screened interaction, Hedin and multiboson vertex in the magnetic channel, most of the long-lived magnetic correlations are already captured by the screened interaction itself and thus by the corresponding single-boson exchange diagrams. In contrast, low-energy scattering processes mediated by multiple bosons seem to be less relevant, as indicated by a comparatively small MMM^M contribution. This picture is somewhat reversed in the other channels (left and right column in Figure 7). In the density channel, for example, the largest contribution originates from short and also long-lived multiboson fluctuations, especially at low temperatures.

Image not extracted

Figure 7. Benchmark of vertex quantities between the Julia and C++ code. We show frequency slices through various SBE ingredients (top to bottom: screened interactions, Hedin vertices, multiboson vertices) at different temperatures and channels. The comparison shows good agreement between both codes.

Figure 8 presents further results for MXM^X as a function of its two fermionic frequencies ν\nu and ν′\nu' (with fixed Ω=0\Omega= 0). Remarkably, the structure of these objects is dominated by cross-like structures similar to those discussed in Ref. [92], which become more pronounced when TT is decreased. A comparison of the data obtained with both codes (shown in the second row of Figure 8), reveals that it is precisely these structures that seem difficult to capture in numerical calculations, and where small differences in the implementation can have a significant effect. However, the relative difference between the results from both codes is still small (≲0.01\lesssim0.01).

total no. frequencies
GG4096
Σ\Sigma512
η\eta1023
λ\lambda575×512575 \times512
MM383×320×320383 \times320 \times320

Table 1. Frequency parameters for the benchmark results in Figure 6-Figure 9. We show the total number of frequencies used for the various Matsubara functions. Since the boxes are symmetric around zero there is an even (odd) number of Matsubara frequencies along fermionic (bosonic) directions.

As a final benchmark of the codes, we have considered their respective serial and parallel performance for a single evaluation of the parquet equations in SBE decomposition (see Figure 9). Surprisingly, the Julia code based on MatsubaraFunctions.jl outperforms the C++ implementation by about a factor of four when run in production mode (i.e., with internal sanity checks disabled). We would like to note that this is most likely not due to a fundamental performance advantage of Julia over C++, but simply the result of several optimizations (such as those presented in § 4.3.2) that were more easy to implement using MatsubaraFunctions.jl.

Figure 9. Performance benchmark between the Julia and C++ code. We show the time taken for a single evaluation of the parquet equations in SBE decomposition. Note that the runtimes have been normalized to the serial result of the C++ code.

Future directions

We have presented a first version of the MatsubaraFunctions.jl library and its basic functionality. Although the library already offers many features, most notably an automated interface for implementing and exploiting symmetries when working with Green’s functions (including several options for parallel evaluation), as well as high performance for larger projects (see § 4.3.1 and the discussions therein), several generalizations of the interface and further optimizations are currently under development. In addition, we will add more support for generic grid types other than just Matsubara frequency grids. These could include, for example, momentum space grids and support for continuous variables (such as real frequencies). Note, however, that calculations in momentum or real space are already feasible with the current state of the package, if a suitable mapping from, say, wavevectors to indices is provided. Accuracy improvements for fitting high-frequency tails and more advanced extrapolation schemes for Matsubara sums are also in the works.

In the future, it will be very valuable to extend the ecosystem surrounding MatsubaraFunctions.jl. For example, many state-of-the-art diagrammatic solvers rely on the efficient evaluation of similar diagrams such as vertex-bubble-vertex contractions, which are a common feature of Bethe-Salpeter-type equations. These operations could be developed independently of the main library, providing even more quality-of-life options for the user. Moreover, such a toolkit would allow for the swift deployment of different types of solvers, including fRG solvers for quantum spin systems and self-consistent impurity solvers such as the MBE code presented in § 4.3.2, to name but a few. With many new and exciting correlated materials becoming available, fast and flexible solvers are of utmost importance to facilitate scientific progress, and we strongly believe that a package like MatsubaraFunctions.jl could be a useful tool for their rapid development.

Acknowledgements

We would like to thank Fabian Kugler, Jae-Mo Lihm, Seung-Sup Lee, Friedrich Krien, Marc Ritter, Björn Sbierski and Benedikt Schneider for helpful discussions and collaboration on ongoing projects. This work was funded in part by the Deutsche Forschungsgemeinschaft under Germany’s Excellence Strategy EXC-2111 (Project No. 390814868). It is part of the Munich Quantum Valley, supported by the Bavarian state government with funds from the Hightech Agenda Bayern Plus. N.R. acknowledges funding from a graduate scholarship from the German Academic Scholarship Foundation (Studienstiftung des deutschen Volkes) and additional support from the “Marianne-Plehn-Programm” of the state of Bavaria. The numerical simulations were, in part, performed on the Linux clusters and the SuperMUC cluster (project 23769) at the Leibniz Supercomputing Center in Munich. The Flatiron Institute is a division of the Simons Foundation.

Extrapolation of Matsubara sums

Suppose we want to compute the fermionic Matsubara sum f(τ→0+)=1β∑νf(ν)e−iν0+f(\tau\to0^{+}) = \frac{1}{\beta} \sum_{\nu} f(\nu)e^{-i\nu0^{+}}. We assume that f(z)f(z) with z∈Cz \in\mathbb{C} has a Laurent series representation in an elongated annulus about the imaginary axis which decays to zero for large ∣z∣\lvert z\rvert. If the poles and residues of ff in the complex plane are known, this problem can in principle be solved by rewriting the Matsubara sum as a contour integral and applying Cauchy’s residue theorem after deforming the contour. Unfortunately, these poles are usually unknown and we have to resort to numerical calculations instead. There, however, we can only compute the sum over a finite (symmetric) grid of Matsubara frequencies, which converges very slowly if at all.

To tackle this problem, let us assume that ff is known on a grid with sufficiently large maximum (minimum) frequency ±Ω\pm\Omega, such that we can approximate

f(ν)≈∑n=1Nαn(iν)n,(29)f(\nu) \approx\sum_{n=1}^{N} \frac{\alpha_n}{(i\nu)^n}, \tag*{(29)}

for ∣ν∣>Ω|\nu| > \Omega. Neglecting the factor e−iν0+e^{-i\nu0^+} for brevity, this allows us to split up the expression for f(τ→0+)f(\tau\to0^+) as

1β∑νf(ν)=1β∑ν<−Ωf(ν)+1β∑−Ω≤ν≤Ωf(ν)+1β∑ν>Ωf(ν)≈1β∑ν<−Ω∑n=1Nαn(iν)n+1β∑−Ω≤ν≤Ωf(ν)+1β∑ν>Ω∑n=1Nαn(iν)n,(30)\begin{aligned} \frac{1}{\beta}\sum_{\nu} f(\nu) = \frac{1}{\beta}\sum_{\nu<-\Omega} f(\nu) + \frac{1}{\beta}\sum_{-\Omega\le\nu\le\Omega} f(\nu) + \frac{1}{\beta}\sum_{\nu>\Omega} f(\nu) \\ &\approx\frac{1}{\beta}\sum_{\nu<-\Omega}\sum_{n=1}^{N}\frac{\alpha_n}{(i\nu)^n} + \frac{1}{\beta}\sum_{-\Omega\le\nu\le\Omega}f(\nu) + \frac{1}{\beta}\sum_{\nu>\Omega}\sum_{n=1}^{N}\frac{\alpha_n}{(i\nu)^n}, \tag*{(30)} \end{aligned}

where (29) was used to approximate the semi-infinite sums. In many cases, the dominant asymptotic behavior of single-particle Green’s functions and one-dimensional slices through higher-order vertex functions is already well captured by an algebraic decay (iν)−q(i\nu)^{-q} with q=1,2q = 1, 2. Therefore, by truncating the asymptotic expansion at N=2N = 2, we can rewrite the right-hand side as

1β∑νf(ν)≈1β∑−Ω≤ν≤Ωf(ν)+∑n=12[1β∑ναn(iν)n−1β∑−Ω≤ν≤Ωαn(iν)n].(31)\frac{1}{\beta}\sum_{\nu}f(\nu) \approx\frac{1}{\beta}\sum_{-\Omega\le\nu\le\Omega}f(\nu) + \sum_{n=1}^{2}\left[\frac{1}{\beta}\sum_{\nu}\frac{\alpha_n}{(i\nu)^n} - \frac{1}{\beta}\sum_{-\Omega\le\nu\le\Omega}\frac{\alpha_n}{(i\nu)^n}\right]. \tag*{(31)}

The series in the bracket can be computed straightforwardly using Cauchy’s residue theorem and we find

1β∑νf(ν)e−iν0+≈1β∑−Ω≤ν≤Ω[f(ν)−α2(iν)2]−α12−βα24.(32)\frac{1}{\beta}\sum_{\nu}f(\nu)e^{-i\nu0^+} \approx\frac{1}{\beta}\sum_{-\Omega\le\nu\le\Omega}\left[f(\nu)-\frac{\alpha_2}{(i\nu)^2}\right]-\frac{\alpha_1}{2}-\frac{\beta\alpha_2}{4}. \tag*{(32)}

Thus, if the coefficients αn\alpha_n are known (for example by fitting the high-frequency tails), this formula can provide a quick and dirty approximation to the infinite Matsubara sum.

Implementation details for the MBE solver

In this section we provide additional information on the implementation of the MBE equations, which were introduced on a general basis in § 4.3.1 of the main text. As for any application involving many-body Green’s functions, it is crucial to choose an appropriate parametrization of the self-consistent equations that reflects the symmetries of the field theory under consideration. Here, we deal with the implementation of SU(2) symmetry (spin rotation invariance) as well as time translation invariance (energy conservation) for the MBE equations of the impurity model defined in § 4.3.

SU(2) symmetry

Consider an SU(2) transformation U=eiϵσU=e^{i\epsilon\boldsymbol{\sigma}}, where ϵ∈R3\epsilon\in\mathbb{R}^3 and σ\boldsymbol{\sigma} is the vector of Pauli matrices. Under UU, the fermionic creation and annihilation operators transform into

cs→Uss′cs′,cs†→cs′†(U†)s′s,(33)c_s \to U_{ss'}c_{s'},\quad c_s^\dagger\to c_{s'}^\dagger(U^\dagger)_{s's}, \tag*{(33)}

where we have omitted all indices except the spin s={↑,↓}s = \{\uparrow,\downarrow\}. For SU(2) symmetric actions it can be shown that single-particle Green’s functions Gss′(1)G^{(1)}_{ss'} are diagonal and also invariant under spin flips, i.e. Gss′(1)=G(1)δss′G^{(1)}_{ss'} = G^{(1)}\delta_{ss'} [48]. Two-particle correlators Gs1′s1s2′s2(2)G^{(2)}_{s'_1s_1s'_2s_2}, on the other hand, can be decomposed into two components G(2)∣=G^{(2)}|_= and G(2)∣×G^{(2)}|_\times, which preserve the total spin between incoming and outgoing particles

Gs1′s1s2′s2(2)=G(2)∣=δs1′s1δs2′s2+G(2)∣×δs1′s2δs2′s1.(34)G^{(2)}_{s'_1s_1s'_2s_2} = G^{(2)}|_=\delta_{s'_1s_1}\delta_{s'_2s_2} + G^{(2)}|_\times\delta_{s'_1s_2}\delta_{s'_2s_1}. \tag*{(34)}

Furthermore, the Bethe-Salpeter-like equations (24) can be diagonalized by introducing a singlet (SS) and a triplet (TT) component

Gp(2)∣S=G(2)∣=p−Gp(2)∣×G^{(2)|S}_p = G^{(2)|=_p - G^{(2)|\times}_p}
Gp(2)∣T=G(2)∣=p+Gp(2)∣×,(35)G^{(2)|T}_p = G^{(2)|=_p + G^{(2)|\times}_p,} \tag*{(35)}

in the pp channel, and a density (DD) and magnetic (MM) contribution

Gt(2)∣D=2G(2)∣=t+Gt(2)∣×G^{(2)|D}_t = 2G^{(2)|=_t + G^{(2)|\times}_t}
Gt(2)∣M=Gt(2)∣×,(36)G^{(2)|M}_t = G^{(2)|\times}_t, \tag*{(36)}

in the tt channel. Moreover, this change of basis has the advantage that physical response functions can be obtained directly from the screened interaction in the respective channel. The spin susceptibility χM\chi^M, for example, is simply given by −U2χM=ηM+U-U^2\chi^M = \eta^M + U for a local Hubbard UU. For this reason, the {S,T,D,M}\{S,T,D,M\} basis is sometimes called the physical spin basis, whereas the decomposition into parallel (=) and crossed terms (×\times) is known as the diagrammatic spin basis [48]. In the implementation of the MBE solver, the former is used.

Time translation invariance

The interacting part of the impurity action from § 4.3 is static, i.e. the bare interaction UU is τ\tau-independent. Consequently, one and two-particle Green’s functions are invariant under translations in imaginary time, which implies conservation of the total Matsubara frequency between incoming and outgoing legs [48] and, thus,

G(1)(ν,ν′)=G(1)(ν)×βδν∣ν′G^{(1)}(\nu,\nu') = G^{(1)}(\nu) \times\beta\delta_{\nu|\nu'}
G(2)(ν1′,ν1,ν2′,ν2)=G(2)(ν1′,ν1,ν2′)×βδν1′+ν2′∣ν1+ν2.(37)G^{(2)}(\nu'_1,\nu_1,\nu'_2,\nu_2) = G^{(2)}(\nu'_1,\nu_1,\nu'_2) \times\beta\delta_{\nu'_1+\nu'_2|\nu_1+\nu_2}. \tag*{(37)}

Note that we have suppressed additional indices, such as spin, for brevity. For two-particle quantities, it is convenient to adopt a mixed frequency convention for the 2PR channels, where, instead of three fermionic arguments, one bosonic transfer frequency Ω\Omega and two fermionic frequencies ν\nu, ν′\nu' are used. The convention used for the MBE solver is shown in Figure 10.

Figure 10. Mixed frequency conventions. In mixed notation, each 2PR channel is described in terms of one bosonic argument Ω\Omega and two fermionic frequencies ν,ν′\nu,\nu' as opposed to the purely fermionic notation shown on the left.

References

  1. [1]J. G. Bednorz and K. A. Müller, Possible highT_c superconductivity in the Ba–La–Cu–O system, Zeitschrift für Physik B Condensed Matter 64, 189 (1986), doi:10.1007/BF01303701.DOI
  2. [2]B. Keimer, S. A. Kivelson, M. R. Norman, S. Uchida and J. Zaanen, From quantum matter to high-temperature superconductivity in copper oxides, Nature 518, 179 (2015), doi:10.1038/nature14165.DOI
  3. [3]N. Mott, Metal-Insulator Transitions, CRC Press, 1 edn., ISBN 978-0-429-09488-0, doi:10.1201/b12795 (2004).DOI
  4. [4]J. Hubbard, Electron correlations in narrow energy bands, Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences 276(1365), 238 (1963), doi:10.1098/rspa.1963.0204.DOI
  5. [5]M. Imada, A. Fujimori and Y. Tokura, Metal-insulator transitions, Rev. Mod. Phys. 70, 1039 (1998), doi:10.1103/RevModPhys.70.1039.DOI
  6. [6]L. Savary and L. Balents, Quantum spin liquids: a review, Reports on Progress in Physics 80 (2016), doi:10.1088/0034-4885/80/1/016502.DOI
  7. [7]J. Knolle and R. Moessner, A field guide to spin liquids, Annual Review of Condensed Matter Physics (2018), doi:10.1146/annurev-conmatphys-031218-013401.DOI
  8. [8]M. Qin, T. Schäfer, S. Andergassen, P. Corboz and E. Gull, The Hubbard model: A computational perspective, Annual Review of Condensed Matter Physics (2021), doi:10.1146/annurev-conmatphys-090921-033948.DOI
  9. [9]D. J. Scalapino, A common thread: The pairing interaction for unconventional superconductors, Reviews of Modern Physics 84, 1383 (2012), doi:10.1103/RevModPhys.84.1383.DOI
  10. [10]T. Schäfer, N. Wentzell, F. Simkovic, Y.-Y. He, C. U. Hille, M. Klett, C. J. Eckhardt, B. Arzhang, V. Harkov, F.-M. L. Régent, A. Kirsch, Y. Wang et al., Tracking the footprints of spin fluctuations: A MultiMethod, MultiMessenger study of the two-dimensional Hubbard model, Physical Review X (2020), doi:10.1103/PhysRevX.11.011058.DOI
  11. [11]H. Q. Lin, Exact diagonalization of quantum-spin models, Phys. Rev. B 42, 6561 (1990), doi:10.1103/PhysRevB.42.6561.DOI
  12. [12]H. Lin, J. Gubernatis, H. Gould and J. Tobochik, Exact Diagonalization Methods for Quantum Systems, Computer in Physics 7(4), 400 (1993), doi:10.1063/1.4823192.DOI
  13. [13]A. Weiße and H. Fehske, Exact diagonalization techniques, Computational many-particle physics pp. 529–544 (2008), doi:10.1007/978-3-540-74686-7.
  14. [14]S. R. White, Density matrix formulation for quantum renormalization groups, Phys. Rev. Lett. 69, 2863 (1992), doi:10.1103/PhysRevLett.69.2863.DOI
  15. [15]U. Schollwöck, The density-matrix renormalization group, Rev. Mod. Phys. 77, 259 (2005), doi:10.1103/RevModPhys.77.259.DOI
  16. [16]N. Metropolis, A. W. Rosenbluth, M. N. Rosenbluth, A. H. Teller and E. Teller, Equation of State Calculations by Fast Computing Machines, The Journal of Chemical Physics 21(6), 1087 (2004), doi:10.1063/1.1699114.
  17. [17]D. Ceperley and B. Alder, Quantum Monte Carlo, Science 231(4738), 555 (1986), doi:10.1126/science.231.4738.555.DOI
  18. [18]W. M. C. Foulkes, L. Mitas, R. J. Needs and G. Rajagopal, Quantum Monte Carlo simulations of solids, Rev. Mod. Phys. 73, 33 (2001), doi:10.1103/RevModPhys.73.33.DOI
  19. [19]F. Becca and S. Sorella, Quantum Monte Carlo Approaches for Correlated Systems, Cambridge University Press, doi:10.1017/9781316417041 (2017).DOI
  20. [20]C. Wetterich, Exact evolution equation for the effective potential, Physics Letters B 301(1), 90 (1993), doi:https://doi.org/10.1016/0370-2693(93)90726-X.
  21. [21]P. Kopietz, L. Bartosch and F. Schütz, Introduction to the functional renormalization group, vol. 798, Springer Science & Business Media, doi:10.1007/978-3-642-05094-7 (2010).DOI
  22. [22]W. Metzner, M. Salmhofer, C. Honerkamp, V. Meden and K. Schönhammer, Functional renormalization group approach to correlated fermion systems, Rev. Mod. Phys. 84, 299 (2012), doi:10.1103/RevModPhys.84.299.DOI
  23. [23]A. Georges, G. Kotliar, W. Krauth and M. J. Rozenberg, Dynamical mean-field theory of strongly correlated fermion systems and the limit of infinite dimensions, Rev. Mod. Phys. 68, 13 (1996), doi:10.1103/RevModPhys.68.13.DOI
  24. [24]N. D. Mermin and H. Wagner, Absence of ferromagnetism or antiferromagnetism in one- or two-dimensional isotropic Heisenberg models, Phys. Rev. Lett. 17, 1307 (1966), doi:10.1103/PhysRevLett.17.1307.DOI
  25. [25]P. C. Hohenberg, Existence of long-range order in one and two dimensions, Phys. Rev. 158, 383 (1967), doi:10.1103/PhysRev.158.383.DOI
  26. [26]T. Maier, M. Jarrell, T. Pruschke and M. H. Hetter, Quantum cluster theories, Rev. Mod. Phys. 77, 1027 (2005), doi:10.1103/RevModPhys.77.1027.DOI
  27. [27]G. Kotliar, S. Y. Savrasov, K. Haule, V. S. Oudovenko, O. Parcollet and C. A. Marianetti, Electronic structure calculations with dynamical mean-field theory, Rev. Mod. Phys. 78, 865 (2006), doi:10.1103/RevModPhys.78.865.DOI
  28. [28]A.-M. S. Tremblay, B. Kyung and D. Sénéchal, Pseudogap and high-temperature superconductivity from weak to strong coupling. Towards a quantitative theory (Review Article), Low Temperature Physics 32(4), 424 (2006), doi:10.1063/1.2199446.DOI
  29. [29]A. I. Lichtenstein and M. I. Katsnelson, Antiferromagnetism and d-wave superconductivity in cuprates: A cluster dynamical mean-field theory, Phys. Rev. B 62, R9283 (2000), doi:10.1103/PhysRevB.62.R9283.DOI
  30. [30]G. Rohringer, H. Hafermann, A. Toschi, A. A. Katanin, A. E. Antipov, M. I. Katsnelson, A. I. Lichtenstein, A. N. Rubtsov and K. Held, Diagrammatic routes to nonlocal correlations beyond dynamical mean field theory, Rev. Mod. Phys. 90, 025003 (2018), doi:10.1103/RevModPhys.90.025003.DOI
  31. [31]T. Matsubara, A New Approach to Quantum-Statistical Mechanics, Progress of Theoretical Physics 14(4), 351 (1955), doi:10.1143/PTP.14.351.DOI
  32. [32]R. Kubo, Statistical-mechanical theory of irreversible processes. I. General theory and simple applications to magnetic and conduction problems, Journal of the Physical Society of Japan 12(6), 570 (1957), doi:10.1143/JPSJ.12.570.DOI
  33. [33]J. Bezanson, A. Edelman, S. Karpinski and V. B. Shah, Julia: A fresh approach to numerical computing, SIAM review 59(1), 65 (2017), doi:10.1137/141000671.DOI
  34. [34]J. Reuther and P. Wölfle, J₁−J₂ frustrated two-dimensional Heisenberg model: Random phase approximation and functional renormalization group, Phys. Rev. B 81, 144410 (2010), doi:10.1103/PhysRevB.81.144410.DOI
  35. [35]J. Reuther and R. Thomale, Functional renormalization group for the anisotropic triangular antiferromagnet, Phys. Rev. B 83, 024402 (2011), doi:10.1103/PhysRevB.83.024402.DOI
  36. [36]J. Reuther, D. A. Abanin and R. Thomale, Magnetic order and paramagnetic phases in the quantum J₁-J₂-J₃ honeycomb model, Phys. Rev. B 84, 014417 (2011), doi:10.1103/PhysRevB.84.014417.DOI
  37. [37]J. Reuther, R. Thomale and S. Trebst, Finite-temperature phase diagram of the Heisenberg-Kitaev model, Phys. Rev. B 84, 100406 (2011), doi:10.1103/PhysRevB.84.100406.DOI
  38. [38]J. Thoenniss, M. K. Ritter, F. B. Kugler, J. von Delft and M. Punk, Multiloop pseudofermion functional renormalization for quantum spin systems: Application to the spin-1 2 kagome Heisenberg model (2020), https://arxiv.org/abs/2011.01268.
  39. [39]D. Kiese, T. Müller, Y. Iqbal, R. Thomale and S. Trebst, Multiloop functional renormalization group approach to quantum spin systems, Phys. Rev. Res. 4, 023185 (2022), doi:10.1103/PhysRevResearch.4.023185.DOI
  40. [40]M. K. Ritter, D. Kiese, T. Müller, F. B. Kugler, R. Thomale, S. Trebst and J. v. Delft, Benchmark Calculations of Multiloop Pseudofermion fRG (2022), doi:10.1140/epjb/s10051-022-00349-2.DOI
  41. [41]D. Kiese, F. Ferrari, N. Astrakhantsev, N. Niggemann, P. Ghosh, T. Müller, R. Thomale, T. Neupert, J. Reuther, M. J. P. Gingras, S. Trebst and Y. Iqbal, Pinch-points to half-moons and up in the stars: The kagome skymap, Phys. Rev. Res. 5, L012025 (2023), doi:10.1103/PhysRevResearch.5.L012025.DOI
  42. [42]N. Niggemann, B. Sbierski and J. Reuther, Frustrated quantum spins at finite temperature: Pseudo-Majorana functional renormalization group approach, Phys. Rev. B 103, 104431 (2021), doi:10.1103/PhysRevB.103.104431.DOI
  43. [43]N. Niggemann, J. Reuther and B. Sbierski, Quantitative functional renormalization for three-dimensional quantum Heisenberg models, SciPost Phys. 12, 156 (2022), doi:10.21468/SciPostPhys.12.5.156.DOI
  44. [44]B. Sbierski, M. Bintz, S. Chatterjee, M. Schuler, N. Y. Yao and L. Pollet, Magnetism in the two-dimensional dipolar XY model (2023), https://arxiv.org/abs/2305.03673.
  45. [45]N. Niggemann, Y. Iqbal and J. Reuther, Quantum effects on unconventional pinch point singularities, Phys. Rev. Lett. 130, 196601 (2023), doi:10.1103/PhysRevLett.130.196601.DOI
  46. [46]O. Parcollet, M. Ferrero, T. Ayral, H. Hafermann, I. Krivenko, L. Messio and P. Seth, TRIQS: A toolbox for research on interacting quantum systems, Computer Physics Communications 196, 398 (2015), doi:10.1016/j.cpc.2015.04.023.
  47. [47]D. Rohe, Hierarchical parallelisation of functional renormalisation group calculations - hp-fRG, Computer Physics Communications 207, 160–169 (2016), doi:10.1016/j.cpc.2016.05.024.DOI
  48. [48]G. Rohringer, New routes towards a theoretical treatment of nonlocal electronic correlations (2013), doi:10.34726/hss.2013.21498.DOI
  49. [49]MatsubaraFunctions.jl github repository, https://github.com/dominikkiese/MatsubaraFunctions.jl, Accessed: 2023-09-21.
  50. [50]S. G. Jakobs, M. Pletyukhov and H. Schoeller, Nonequilibrium functional renormalization group with frequency-dependent vertex function: A study of the single-impurity Anderson model, Phys. Rev. B 81, 195109 (2010), doi:10.1103/PhysRevB.81.195109.DOI
  51. [51]D. H. Schimmel, B. Bruognolo and J. von Delft, Spin fluctuations in the 0.7 anomaly in quantum point contacts, Phys. Rev. Lett. 119, 196401 (2017), doi:10.1103/PhysRevLett.119.196401.DOI
  52. [52]L. Weidinger and J. von Delft, Keldysh functional renormalization group treatment of finite-ranged interactions in quantum point contacts (2021), https://arxiv.org/abs/1912.02700.
  53. [53]A. Ge, N. Ritz, E. Walter, S. Aguirre, J. von Delft and F. B. Kugler, Real-frequency quantum field theory applied to the single-impurity Anderson model (2023), https://arxiv.org/abs/2307.10791.
  54. [54]M. Jarrell and J. Gubernatis, Bayesian inference and the analytic continuation of imaginary-time quantum Monte Carlo data, Physics Reports 269(3), 133 (1996), doi:10.1016/0370-1573(95)00074-7.DOI
  55. [55]D. Bergeron and A.-M. S. Tremblay, Algorithms for optimized maximum entropy and diagnostic tools for analytic continuation, Phys. Rev. E 94, 023303 (2016), doi:10.1103/PhysRevE.94.023303.DOI
  56. [56]O. Goulko, A. S. Mishchenko, L. Pollet, N. Prokof’ev and B. Svis­tunov, Numerical analytic continuation: Answers to well-posed questions, Phys. Rev. B 95, 014102 (2017), doi:10.1103/PhysRevB.95.014102.DOI
  57. [57]K. S. D. Beach, Identifying the maximum entropy method as a special limit of stochastic analytic continuation (2004), https://arxiv.org/abs/cond-mat/0403055.
  58. [58]A. W. Sandvik, Constrained sampling method for analytic continuation, Phys. Rev. E 94, 063308 (2016), doi:10.1103/PhysRevE.94.063308.DOI
  59. [59]L. Huang, Acflow: An open source toolkit for analytical continuation of quantum Monte Carlo data (2022), https://arxiv.org/abs/2211.16692.
  60. [60]C. Karrasch, R. Hedden, R. Peters, T. Pruschke, K. Schönhammer and V. Meden, A finite-frequency functional renormalization group approach to the single impurity Anderson model, Journal of Physics: Condensed Matter 20(34), 345205 (2008), doi:10.1088/0953-8984/20/34/345205.DOI
  61. [61]H. J. Vidberg and J. W. Serene, Solving the Eliashberg equations by means of N-point Padé approximants, Journal of Low Temperature Physics 29, 179 (1977), doi:10.1007/BF00655090.DOI
  62. [62]MBEsolver.jl github repository, https://github.com/dominikkiese/MBEsolver.jl, Accessed: 2023-09-21.
  63. [63]Polyester.jl github repository, https://github.com/JuliaSIMD/Polyester.jl, Accessed: 2023-07-20.
  64. [64]D. R. Hartree, The wave mechanics of an atom with a non-coulomb central field. part I. Theory and methods, Mathematical Proceedings of the Cambridge Philosophical Society 24(1), 89–110 (1928), doi:10.1017/S0305004100011919.DOI
  65. [65]V. Fock, Näherungsmethode zur Lösung des quantenmechanischen Mehrkörperproblems, Zeitschrift für Physik 61(1-2), 126 (1930), doi:10.1007/BF01340294.
  66. [66]J. C. Slater, A simplification of the Hartree-Fock method, Phys. Rev. 81, 385 (1951), doi:10.1103/PhysRev.81.385.DOI
  67. [67]E. Baerends, D. Ellis and P. Ros, Self-consistent molecular Hartree—Fock—Slater calculations I. The computational procedure, Chemical Physics 2(1), 41 (1973), doi:10.1016/0301-0104(73)80059-X.DOI
  68. [68]F. Neese, F. Wennmohs, A. Hansen and U. Becker, Efficient, approximate and parallel Hartree–Fock and hybrid DFT calculations. a ‘chain-of-spheres’ algorithm for the Hartree–Fock exchange, Chemical Physics 356(1), 98 (2009), doi:10.1016/j.chemphys.2008.10.036.DOI
  69. [69]D. G. Anderson, Iterative Procedures for Nonlinear Integral Equations, J. ACM 12(4), 547 (1965), doi:10.1145/321296.321305.DOI
  70. [70]H. F. Walker and P. Ni, Anderson Acceleration for Fixed-Point Iterations, SIAM J. Numer. Anal. 49(4), 1715 (2011), doi:10.1137/10078356X.DOI
  71. [71]NLsolve.jl github repository, https://github.com/JuliaNLSolvers/NLsolve.jl, Accessed: 2023-07-20.
  72. [72]L. Hedin, New method for calculating the one-particle Green’s function with application to the electron-gas problem, Phys. Rev. 139, A796 (1965), doi:10.1103/PhysRev.139.A796.DOI
  73. [73]F. Aryasetiawan and O. Gunnarsson, The GW method, Reports on Progress in Physics 61(3), 237 (1998), doi:10.1088/0034-4885/61/3/002.DOI
  74. [74]G. Onida, L. Reining and A. Rubio, Electronic excitations: density-functional versus many-body Green’s-function approaches, Rev. Mod. Phys. 74, 601 (2002), doi:10.1103/RevModPhys.74.601.DOI
  75. [75]P. W. Anderson, Localized Magnetic States in Metals, Phys. Rev. 124(1), 41 (1961), doi:10.1103/physrev.124.41.DOI
  76. [76]A. C. Hewson, Renormalized perturbation calculations for the single-impurity Anderson model, Journal of Physics: Condensed Matter 13(44), 10011 (2001), doi:10.1088/0953-8984/13/44/314.DOI
  77. [77]P. Chalupa, T. Schäfer, M. Reitner, D. Springer, S. Andergassen and A. Toschi, Fingerprints of the local moment formation and its Kondo screening in the generalized susceptibilities of many-electron problems, Phys. Rev. Lett. 126, 056403 (2021), doi:10.1103/PhysRevLett.126.056403.DOI
  78. [78]M. Gievers, E. Walter, A. Ge, J. v. Delft and F. B. Kugler, Multiloop flow equations for single-boson exchange fRG, Eur. Phys. J. B 95(7), 1 (2022), doi:10.1140/epjb/s10051-022-00353-6.DOI
  79. [79]F. Krien, Efficient evaluation of the polarization function in dynamical mean-field theory, Phys. Rev. B 99, 235106 (2019), doi:10.1103/PhysRevB.99.235106.DOI
  80. [80]F. Krien, A. Valli and M. Capone, Single-boson exchange decomposition of the vertex function, Phys. Rev. B 100, 155149 (2019), doi:10.1103/PhysRevB.100.155149.DOI
  81. [81]F. Krien and A. Valli, Parquetlike equations for the Hedin three-leg vertex, Phys. Rev. B 100, 245147 (2019), doi:10.1103/PhysRevB.100.245147.DOI
  82. [82]F. Krien, A. I. Lichtenstein and G. Rohringer, Fluctuation diagnostic of the nodal/antinodal dichotomy in the Hubbard model at weak coupling: A parquet dual fermion approach, Phys. Rev. B 102, 235133 (2020), doi:10.1103/PhysRevB.102.235133.DOI
  83. [83]F. Krien, A. Valli, P. Chalupa, M. Capone, A. I. Lichtenstein and A. Toschi, Boson-exchange parquet solver for dual fermions, Phys. Rev. B 102, 195131 (2020), doi:10.1103/PhysRevB.102.195131.DOI
  84. [84]F. Krien, A. Kauch and K. Held, Tiling with triangles: parquet and GWγ methods unified, Phys. Rev. Res. 3, 013149 (2021), doi:10.1103/PhysRevResearch.3.013149.DOI
  85. [85]C. De Dominicis and P. C. Martin, Stationary Entropy Principle and Renormalization in Normal and Superfluid Systems. I. Algebraic Formulation, Journal of Mathematical Physics 5(1), 14 (2004), doi:10.1063/1.1704062.
  86. [86]C. De Dominicis and P. C. Martin, Stationary Entropy Principle and Renormalization in Normal and Superfluid Systems. II. Diagrammatic Formulation, Journal of Mathematical Physics 5(1), 31 (2004), doi:10.1063/1.1704064.
  87. [87]N. E. Bickers, D. J. Scalapino and S. R. White, Conserving approximations for strongly correlated electron systems: Bethe-Salpeter equation and dynamics for the two-dimensional Hubbard model, Phys. Rev. Lett. 62, 961 (1989), doi:10.1103/PhysRevLett.62.961.DOI
  88. [88]N. E. Bickers and S. R. White, Conserving approximations for strongly fluctuating electron systems. II. Numerical results and parquet extension, Phys. Rev. B 43, 8044 (1991), doi:10.1103/PhysRevB.43.8044.DOI
  89. [89]N. Bickers, Parquet equations for numerical self-consistent-field theory, International Journal of Modern Physics B 05(01n02), 253 (1991), doi:10.1142/S021797929100016X.DOI
  90. [90]N. E. Bickers, Self-Consistent Many-Body Theory for Condensed Matter Systems, pp. 237–296, Springer New York, New York, NY, ISBN 978-0-387-21717-8, doi:10.1007/0-387-21717-7_6 (2004).
  91. [91]P. M. Bonetti, A. Toschi, C. Hille, S. Andergassen and D. Vilardi, Single-boson exchange representation of the functional renormalization group for strongly interacting many-electron systems, Phys. Rev. Res. 4, 013034 (2022), doi:10.1103/PhysRevResearch.4.013034.DOI
  92. [92]N. Wentzell, G. Li, A. Tagliavini, C. Taranto, G. Rohringer, K. Held, A. Toschi and S. Andergassen, High-frequency asymptotics of the vertex function: Diagrammatic parametrization and algorithmic implementation, Phys. Rev. B 102(8), 085106 (2020), doi:10.1103/physrevb.102.085106.DOI

Paper details

vlnc:W_8nke7fj8
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents