원시데이터 수집 시스템
선정목록으로

Nevanlinna.jl: A Julia implementation of Nevanlinna analytic continuation

관련 산업용 섬유 · (17) 스펀본드 부직포

기본 정보

저자
  1. Kosuke Nogaki — Kyoto University|||Department of Physics, Kyoto University, Kyoto 606-8502, Japan
  2. Jiani Fei — Stanford University|||University of Michigan–Ann Arbor|||Department of Physics, Stanford University, Stanford, CA 94305, USA|||Department of Physics, University of Michigan, Ann Arbor, MI 48104, USA
  3. Emanuel Gull — University of Michigan–Ann Arbor|||Department of Physics, University of Michigan, Ann Arbor, MI 48104, USA
  4. Hiroshi Shinaoka — Japan Science and Technology Agency|||Saitama University|||JST, PRESTO, 4-1-8 Honcho, Kawaguchi, Saitama 332-0012, Japan|||Department of Physics, Saitama University, Saitama 338-8570, Japan
DOI
10.21468/scipostphyscodeb.19
저널
SciPost Physics Codebases
발행년도
2023
발행기관
–
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.21468/scipostphyscodeb.19
토픽
Solid-state spectroscopy and crystallography
OpenAlex ID
W4388627022

평가 내용

관련도
관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 스펀본드 부직포' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We introduce a Julia implementation of the recently proposed Nevanlinna analytic continuation method. The method is based on Nevanlinna interpolants and inherently preserves the causality of a response function due to its construction. For theoretical calculations without statistical noise, this continuation method is a powerful tool to extract real-frequency information from numerical input data on the Matsubara axis. This method has been applied to first-principles calculations of correlated materials. This paper presents its efficient and full-featured open-source implementation of the method including the Hamburger moment problem and smoothing.

본문 31,823자

본문 펼치기
We introduce a Julia implementation of the recently proposed Nevanlinna analytic continuation method.The method is based on Nevanlinna interpolants and inherently preserves the causality of a response function due to its construction.For theoretical calculations without statistical noise, this continuation method is a powerful tool to extract real-frequency information from numerical input data on the Matsubara axis.This method has been applied to first-principles calculations of correlated materials.This paper presents its efficient and full-featured open-source implementation of the method including the Hamburger moment problem and smoothing. Introduction In finite-temperature quantum field theories ranging from condensed matter to high-energy physics, many sophisticated numerical techniques have been developed.For instance, perturbative theories [1][2][3][4][5][6][7] are a powerful tool for studying impurity effects [8], Fermi liquids [9,10], and symmetry breaking phenomena such as charge-, spin-density waves [11][12][13], or superconductivity [14,15].For investigating Mott transitions and renormalization effects of quasiparticles near the Fermi energy, or Kondo effects, we may employ the non-perturbative dynamical mean-field theory [16] with discrete- [17] or continuous-time [18][19][20][21] quantum Monte Carlo impurity solvers.In the field of high-energy physics, lattice quantum chromodynamics algorithms are used for ab initio investigations of the masses of hadrons, the quark confinement, or of chiral symmetry breaking [22][23][24]. Introduction These theories are formulated in "imaginary time", where finite-temperature statistical mechanics computations are tractable.The result of the computation is the numerical data of the Matsubara Green's function G(iω n ) defined on the imaginary axis of the complex frequency plane.The spectral function ρ(ω) = −(1/π)ImG R (ω) contains information about the singleparticle excitation which, in electronic systems, are related to measurements in photoemission spectroscopy.An analytic continuation step relating the Matsubara Green's function G(iω n ) to the retarded Green's function G R (ω) is therefore needed as a post-processing step.This need for numerical analytic continuation exists not only for fermionic systems but also for bosonic systems [25,26] including He [27,28], supersolids [29], and warm dense matter [30].Thus, a highly precise and efficient numerical analytic continuation method is desired for quantitative studies of quantum many-body systems. Introduction Regardless of its practical importance, the numerical analytic continuation of the Green's function is an ill-conditioned problem whose direct solution is intractable.To address this issue, many approximate methods have been developed.Examples include continued fraction Padé approximation methods [31], the maximum entropy method [32,33], the stochastic analytic continuation [34][35][36][37][38], machine learning approaches [39], genetic algorithms [28], the sparse modeling method [40,41], the Prony method [42], and a pole fitting approach [43].Most of these methods are based on a regularized fit and fail to restore sharp structures in the large-ω region even for numerically exact input data.The Padé approximation, which is an interpolation method, does not ensure causality and often results in negative values of the spectral function and a violation of the sum rule, particularly at high frequencies. Introduction The Nevanlinna analytic continuation method [44], an interpolation method, inherently respects the mathematical structure of causal response functions, thereby providing a mathematically rigorous numerical analytic continuation that ensures causality.The formalism has been extended to matrix-valued Green's functions [44,45]. Introduction While the Nevanlinna analytic continuation method has an elegant mathematical foundation, the numerical solution of the Nevanlinna continuation equations requires special care.The continued fraction expressions used in the method are sensitive to numerical precision, which means that the interpolation must be performed using at least quadruple floating-point arithmetic, even if input data is only known to double precision.In addition, selecting a subset of the input data such that it respects the so-called Pick condition, which guarantees causality [44], is essential to avoid overfitting.For a solvable non-degenerate problem, Nevanlinna theory guarantees the existence of an infinite number of valid analytical continuations.In practical applications, a single "best" one of these needs to be chosen, typically by imposing an additional smoothness constraint. Introduction The sample C++ code published by the authors of [44] as a supplement to the original paper serves to illustrate Nevanlinna continuation but does not implement this smoothing step or a selection algorithm for choosing a subset of causal data.In this paper, we describe a full-featured implementation of the Nevanlinna analytic continuation method in the Julia language.Our implementation incorporates interpolation executed in arbitrary-precision arithmetic, which ensures a stable interpolation.We execute the smoothing based on numerical optimization, utilizing the automatic differentiation of the cost function, which is faster and more accurate than the numerical finite difference method.The code is straightforward to install and comes with Jupyter Notebooks illustrating typical use cases.The implementation in the Julia language makes the code easily customizable for future extensions, e.g., to matrixvalued Green's functions [45].We expect that providing the user community with a ready-touse and simple package that implements these additional steps will accelerate the adoption of the Nevanlinna method in finite temperature Green's function calculations. Theory In the Nevanlinna analytic continuation, the analytic properties of Green's function play an essential role.We, therefore, describe the analytic structure of both Matsubara Green's function and the retarded Green's function, focusing on the Lehmann representation in Sec.2.1.In Sec.2.2, the definition of Nevanlinna functions is given.Green's functions as Nevanlinna functions, the Pick criterion, and the Schur interpolation algorithm are summarized, and the Hardy optimization procedure is explained with some technical remarks.The fundamental principles of the Hamburger moment problem are presented in Sec.2.3.For the purpose of constructing a solution, the Hankel matrix and two distinct types of polynomials are introduced.The theory outlined here follows Refs.[44][45][46].Additional technical and theoretical details explained in this paper may be useful for users of the code. Analytic continuation from Matsubara frequency to real frequency In this paper, we focus on correlation functions between the fermionic annihilation operator, ĉ, and the creation operator, ĉ † , which we call Green's function.The Matsubara Green's function and retarded Green's function are defined as follows: Analytic continuation from Matsubara frequency to real frequency in the imaginary-time domain and in the real-time domain, respectively.Their Fouriertransformed functions are given by Analytic continuation from Matsubara frequency to real frequency where Analytic continuation from Matsubara frequency to real frequency , and ĉ(t) = e i( Ĥ−µ N )t ĉe −i( Ĥ−µ N )t with Hamiltonian Ĥ, particle number operator N , the inverse temperature β = 1/T , and the chemical potential µ.We here set the Boltzmann constant k B equal to 1. Here, Ξ = tr{e −β( Ĥ−µ N ) } is the partition function and iω n = i(2n + 1)πT are fermionic Matsubara frequencies [47]. Analytic continuation from Matsubara frequency to real frequency These two Green's functions are related by the Lehmann representation [48][49][50][51], Analytic continuation from Matsubara frequency to real frequency Namely, the Matsubara Green's function G(iω n ) is given by the limit z → iω n , and the retarded Green's function G R (ω) is given by the limit z → ω + iη (η → +0).Here, the spectral function ρ(ω) is Analytic continuation from Matsubara frequency to real frequency where E n and N n are energy and particle number of eigen state |n〉.From this definition, we see that the spectral function ρ(ω) is always non-negative (ρ(ω) ≥ 0), and it satisfies the sum rule: Analytic continuation from Matsubara frequency to real frequency Using the following formula Analytic continuation from Matsubara frequency to real frequency the spectral function can be evaluated from retarded Green's function, Analytic continuation from Matsubara frequency to real frequency The central objective in this paper is to estimate G R (ω + η) and ρ(ω) from the data of G(iω n ), namely, numerical analytic continuation between G R (ω + η) and G(iω n ). Nevanlinna analytic continuation procedure 2.2.1 Definition and notations First, let us summarize the notations used in this paper.The upper half-plane C + and the open unit disk D are Nevanlinna analytic continuation procedure 2.2.1 Definition and notations Their closures are denoted by C + and D, respectively.Nevanlinna functions are holomorphic functions from C + to C + , and Schur functions are holomorphic functions from D to D. We denote the set of Nevanlinna functions and that of Schur functions as N and S, respectively. Nevanlinna analytic continuation procedure 2.2.1 Definition and notations Note that an one-to-one correspondence exists between z ∈ C + and w ∈ D by Möbius transformation h ξ and the inverse h −1 ξ for ξ ∈ C + : Nevanlinna analytic continuation procedure 2.2.1 Definition and notations Another Möbius transformation maps w ∈ D to w ′ ∈ D for ζ ∈ D: Green's functions as Nevanlinna functions As discovered in Refs.[44,45], the negative of the fermionic Green's function is a Nevanlinna function.Indeed, from Eq. (5), Green's functions as Nevanlinna functions Given that ρ(ω) ≥ 0, Green's functions as Nevanlinna functions where proves −G(z) ∈ N .In numerical analysis, we can determine the values of Green's function at a finite number of Matsubara frequencies, represented as Green's functions as Nevanlinna functions The problem is to find Nevanlinna functions f ∈ N which satisfy f (Y α ) = C α .This problem can be modified into another tractable problem by transforming the range of Nevanlinna function by Möbius transformation.Therefore, our problem is to find a composite function Green's functions as Nevanlinna functions We call these modified Nevanlinna functions contractive functions.As discussed below, interpolation problems of contractive functions can be solved efficiently by the Schur algorithm [52,53]. Pick criterion There is a necessary and sufficient condition for the existence of Nevanlinna interpolants, namely, the generalized Pick criterion [44].It is formulated in terms of the Pick matrix [54], Pick criterion and states that if the Pick matrix is positive definite, an infinite number of solutions to the interpolation problem exists.If it is positive semidefinite but not positive definite, there is a unique solution.If the Pick matrix contains negative eigenvalues in addition to the positive ones, no solution to the interpolation problem exists [54,55].In many numerical calculations, this condition is satisfied when considering a subset of the values to be interpolated, but it fails when all values are taken into account.In particular, if data points are added from low to high frequencies, high Matsubara frequency values tend to break this condition.Our implementation determines the optimal number of low Matsubara frequencies, N opt , for the analytic continuation in an automated fashion.The process involves setting an initial value of N cut to 1 and constructing a Pick matrix from input data at the lowest N cut Matsubara frequencies Pick criterion , which is then factorized using Cholesky Factorization.If the factorization is successful, N cut is incremented by one and the procedure is repeated until a factorization failure occurs. 1 The optimal cutoff, N opt , is then determined as the maximum value of N cut for which factorization is successful.In the subsequent analytic continuation, we utilize only the data up to N opt .We refer to this procedure as "Pick Selection". Schur algorithm The numerical analytic continuation can be viewed as a problem of constructing an analytic function subject to M point constraint conditions.That is, we aim to construct a contractive function that satisfies Schur algorithm The Schur Algorithm iteratively interpolates and constructs θ (z).In the following, we begin by constructing a contractive function with a single constraint.This process will subsequently be generalized to accommodate M constraint conditions.First, let us consider a Schur function ϕ ∈ S with one constraint condition ϕ(0) = γ 1 ∈ D. We construct the function Schur algorithm From g −1 γ 1 Schur algorithm (ϕ(0)) = 0 and the Schwartz's lemma, φ(w) belongs to S. Conversely for any Schur function φ(w), Schur algorithm = g γ 1 (w φ(w)) , (24) will be regular in D, |ϕ(w)| < 1, and ϕ(0) = γ 1 .Therefore, Eq. ( 23) provides a general form of Schur functions subject to a single constraint condition ϕ(0) = γ 1 , where φ(w) is an arbitrary Schur function. Schur algorithm Combining Eq. ( 23) and Möbius transformation h Y 1 (z), a general form of contractive functions θ (z) = ϕ • h Y 1 (z) that satisfy θ (Y 1 ) = γ 1 an be given as Schur algorithm where θ (z) is an arbitrary contractive function. Schur algorithm The procedure can be further extended to problems with M constraint conditions: Schur algorithm By utilizing Eq. ( 25), we can recast the M constraint problem for θ 1 as an (M − 1) constraint problem for θ 2 : Schur algorithm with Schur algorithm In a similar manner, this algorithm can be continued iteratively until Schur algorithm are determined, leaving θ M +1 as an arbitrary contractive function.The continued contractive function, which is parameterized by θ M +1 , can be expressed as Schur algorithm where a(z), b(z), c(z), and d(z) are determined by Schur algorithm Here, Schur algorithm To determine φ α , we prepare the recursive algorithm.First, φ 1 = θ (Y 1 ) and construct Schur algorithm and determine φ 2 Schur algorithm Generally, the values of φ 1 , • • • , φ β−1 are used to determine φ β as follows: Schur algorithm Note that these algorithms require at least quadruple floating-point precision to achieve accurate continued fraction expressions, as numerical instability may arise.This is demonstrated in Section 3.3. Smoothing There is an infinite number of "valid" continuations consistent with causal input data since any Schur function θ M +1 will yield a valid spectral function.To select the "most physical" of all possible spectral functions, additional constraints for θ M +1 or for the final spectral function can be imposed.As discussed in the following section, artificial oscillations around exact values manifest for θ M +1 (z) = 0. To eliminate these oscillations and get the best continued result, we adjust θ M +1 (z) in order to get the smoothest possible spectral function [44].We assume that θ M +1 (z) exists in Hardy space Smoothing This space is generated by the orthogonal basis { f k (z)} ∞ 0 whose basis functions are given by Smoothing We expand θ M +1 (z) into the basis with a cutoff parameter H cut , Smoothing and minimize the cost function Smoothing Typically, a value of λ = 10 −4 tends to yield stable solutions.In Nevanlinna.jl, we use automatic differentiation to optimize coefficients a k , b k .The implementation is based on Zygote.jl[58] and Optim.jl[59].The automatic differentiation is extraordinarily efficient and accurate up to machine precision, unlike the numerical finite difference method employed in Ref. [44]. Smoothing In practical calculations, a large H cut can lead to numerical instabilities.As such, our methodology adopts a step-by-step approach.Once a solution (a k , b k ) converges for a given H cut , we initiate the optimization of the cost function for H cut + 1, using the previously converged values (a 0 , Smoothing as the initial values.The code commences with an initial cutoff value of H min , and the optimization procedure is repeated by incrementing H cut until optimization fails.At that point, continued values are computed based on the last converged solution.It is crucial to carefully consider the value assigned to H min , as in certain circumstances, utilizing H min = 0 can fail at the first optimization step.Hence, the optimal value of H min that leads to convergence should be adopted in such cases. Hamburger moment problem The prior knowledge of the moments of the spectral function can be incorporated into the Nevanlinna analytic continuation procedure [46,60].The n-th moment is defined as Hamburger moment problem These moments are related to the asymptotic expansion of the Green's function: Hamburger moment problem The correct high-frequency behavior is usually enforced by Matsubara points at large Matsubara frequencies, especially on non-uniform grids with Matsubara points at very high frequencies.However, a cutoff of Matsubara frequencies in the input data, or via the Pick selection criterion, eliminates this information, leading to spectral functions that may have incorrect moments.Imposing constraints on the moments during the interpolation can therefore improve the accuracy of the continued fraction in the Nevanlinna analytic continuation process.The enforcement of moments and the combination of the moment with the interpolation problem is known as the Hamburger Moment Problem [44,46,61]. Hamburger moment problem Let us consider a sequence of moments, b = (h 0 , h 1 , h 2 , . . ., h 2N −2 ).The vector b is referred to as the Hankel vector and can be pre-calculated using the equations of motion [62,63].Our objective is to determine a non-decreasing measure σ(ω) that satisfies the following equation: Hamburger moment problem for n = 0, 1, 2, . . ., 2N −2.The spectral function is expressed as ρ(ω) = dσ(ω) dω (≥ 0).According to the Hamburger-Nevanlinna theorem [61], there is a one-to-one correspondence between the class of solutions σ(ω) and a subset of Nevanlinna functions: Hamburger moment problem This Nevanlinna function has the following asymptotic form: Hamburger moment problem where the domain of f (z) is ε < arg z < π − ε for some 0 < ε < π 2 .The continuation of f (z) is only possible if the Hankel matrix H N N [b], which is defined as follows: , of order n 1 × n 1 is non-singular, and thus n 1 = rank B [64].Note that a non-singular Hankel matrix is proper. Hamburger moment problem We introduce a polynomial space defined by the kernel of the Hankel matrix, as given by the following equation: Hamburger moment problem In constructing a solution, we utilize two distinct types of polynomials.Let us denote the first type as p(z) and q(z).When n 1 = n 2 = N , the dimension of A n 1 +1 is 2 and p(z) and q(z) serve as a basis for this space.However, when n 1 < n 2 , A n 1 +1 has a dimension of 1 and p(z) serves as its basis.Meanwhile, the set p(z), z p(z), . . ., z n 2 −n 1 p(z), q(z) forms an orthogonal basis for A n 2 +1 .The polynomials p(z) and q(z) are not uniquely defined, but a special pair of canonical polynomials is often utilized for convenience.The expression for n 1 -th order polynomial is given by Hamburger moment problem where α is a normalization coefficient that ensures that the polynomial is monic.In the case where n 1 = N , h 2n 1 −1 is an arbitrary real number [60].We choose p(z) to be an n 1 -th order orthogonal polynomial and q(z) to be an (n 1 − 1)-th order polynomial.The polynomials can be expressed as: Hamburger moment problem Additionally, we define the symmetrizers of p(z) and q(z) as follows: Hamburger moment problem Finally, we introduce another two sets of polynomials, which are the conjugate polynomials of p(z) and q(z): Hamburger moment problem The solutions to the problem are provided for both the case of a positive definite Hankel matrix (H N N > 0) and the case of a semi-positive definite Hankel matrix (H N N ≥ 0), as follows (see Theorem 3.6 in Ref. [60]): Hamburger moment problem Here, ϕ(z) represents any Nevanlinna function such that ϕ(z)/z approaches zero as |z| approaches infinity.These frameworks can be combined with the Schur algorithm by incorporating Nevanlinna analytic continuation.Given the data for f (z) to be interpolated, Hamburger moment problem we modify data by polynomials p(z), q(z), γ(z), δ(z), as follows: Hamburger moment problem Since ϕ(z) is a Nevanlinna function, the Schur algorithm interpolates the data in Eq. ( 59) and gives ϕ(z) and f (z). Installation Firstly, users need to install Julia (v1.6 or newer) and make sure to add the location of the Julia executable (julia) to their PATH environment variable. Installation Installing the library is straightforward, thanks to Julia's package manager.To start, open Julia using the REPL (read-eval-print loop), which is an interactive command-line interface, and press the ] key to activate the package mode.Then enter the following: Installation Upon successful installation, you'll be able to use our library in a Julia session as follows: Installation julia > using Nevanlinna Alternatively, the libraries can be installed in a shell as follows: Installation $ julia -e ' import Pkg ; Pkg .add ( " Nevanlinna " ) ' Installation This command tells Julia to import the package management system and add (i.e., install) the Nevanlinna.jlpackage.This installation will be performed in the currently active environment in your Julia session. Installation If you intend to run the sample code provided later in this paper, it will also be necessary to install SparseIR.jl[65] for the sparse sampling method [66] based on the intermediate representation [67].You can do this by adding it in the same way as Nevanlinna.jl.In the Julia package mode, simply type the following command: Installation Alternatively, you can install the package directly from the shell by entering the following command: Installation $ julia -e ' import Pkg ; Pkg .add ( " SparseIR " ) ' Examples To illustrate the capabilities of our code, we present a numerical analytic continuation for several models, which include a δ-function, a Gaussian, a Lorentizian, a two-peak, a Kondo resonance, and a Hubbard gap model.Jupyter notebooks, which can be used to execute these examples, are provided in the notebooks directory of our repository.The three of these models were previously analyzed in Ref. [44].The exact spectral functions for these models are given by the following equations: Examples ρ Kondo resonance (ω) = 0.45 g(ω, −2.5, 0.7) + 0.1 g(ω, 0, 0.1) + 0.45 g(ω, 2.5, 0.7) , ρ Hubbard gap (ω) = 0.5 g(ω, −1.9, 0.5) + 0.5 g(ω, 1.9, 0.5) , Examples where Examples -gap models with and without optimization in Nevanlinna.jl.These results were obtained for β = 100 and η = 0.001 The exact spectral functions consist of δ-function, Gaussian peaks, or Lorentzian peaks [Eq.( Examples We prepare double precision input data G(iω n ) on a sparse sampling grid of Matsubara frequencies, i.e., the intermediate-representation [67] grid for β = 100 [66], generated by using SparseIR.jl[65].The code can be found in Fig. 6.After the analytic continuation is performed, the output data can be accessed through sol.reals.We evaluate the continued results on ω + 0.001i and show them in Fig. 1.Except for the δ-function model, the continued result shows artificial oscillations around the exact spectral function in the absence of Hardy optimization.However, by the Hardy optimization implemented in our code, these oscillations are effectively removed and the continued spectral function is in good agreement with the exact function in all cases. Examples To demonstrate the significance of utilizing multiple precision arithmetic in the Schur algorithm, we compare the results obtained with 64-bit arithmetic and 128-bit arithmetic.The optimized result is shown in Fig. 2. The result obtained with 64-bit arithmetic is incorrect, as the small peak is not properly restored and there is finite spectral weight in the high-ω region.This indicates that the rounding error in the Schur algorithm can significantly affect the continued result.Hence, employing multiple precision arithmetic is essential to ensure that rounding errors remain negligible throughout the computations. Examples The case in which the spectral function displays a large gap around the origin is known to be challenging.The kernel of analytic continuation implies that information about the spectral function may be lost in the Matsubara Green's function [67].Consequently, the Matsubara Green's function in such cases exhibits a lower tolerance for noise.Computations at high temperatures yield a qualitatively correct solution.Figure 3 shows the results for this case.The positions and weights of the peaks are reconstructed; however, some small oscillations remain.Implementing a more robust algorithm for Hardy optimization will enhance the performance of our code.In computations at low temperatures, the Matsubara frequencies are close to each other in the complex ω-plane, making it difficult to access high-frequency behavior that may have been truncated by Pick selection.Including information about the moments can improve the results in these situations.Figure 4(a) illustrates the influence of the use of moment information on the outcomes.The incorporation of additional information leads to a reduction of artificial oscillations.This augmentation stabilizes the numerical computation during Hardy optimization.The Hardy optimization still works efficiently even in the case of the Hamburger moment problem (Fig. 4(b)).The inclusion of moments is beneficial in low-temperature calculations or situations where input data is limited. Conclusion In this paper, we introduced the Julia library Nevanlinna.jl.We provided an overview of the analytic structure of the Green's function, Schur The installation of our code is extraordinarily easy using the Julia package manager.Furthermore, multiple precision arithmetic is already implemented.Thus, there is no obstacle, such as compiling the code or installing an external library manually, and users can readily try our code. Conclusion Finally, we discuss some remaining technical issues and further extensions to be addressed.In some cases, like the large Hubbard gap structure, our Hardy optimization algorithm may fail to find the optimal solution θ M +1 (z).However, the Pick criterion guarantees the existence of the true undetermined function θ M +1 (z).Therefore, further investigation into the optimization algorithm will improve the range of applications of Nevanlinna analytic continuation.Although our code currently employs Cholesky decomposition to verify the semi-positive definiteness of Pick or Hankel matrices, it is well-known that robust criteria and efficient algorithms exist to confirm the positive definiteness of given matrices [56].Implementing this algorithm into our code is a direction for future work.The extension for the matrix-valued Green's function is also an interesting topic.While this topic is resolved for spectral functions like the δ-function [45], broadened cases have not been investigated yet.In addition, further expansion of Nevanlinna analytic continuation to self-energy [68] or anomalous Green's function [69] is crucial for wide-range applications of many-body physics. A Structure of code A.1 Processing flow The function calc_opt_N_imag calculates the optimal cutoff number opt_N_imag, aiming to preserve causality, as described in Sec.2.2.3.Then, with the calculated opt_N_imag, calc_phis calculate φ α as described in Sec.2.2.4.Following this, calc_abcd evaluates the functions a(z), b(z), c(z), and d(z) at z = ω+iη using the Schur algorithm.Finally, optimal H_min is evaluated by calc_H_min, and the Hardy optimization is executed.The flowchart of our procedure is shown in Fig. 5, and a summary of the functions used in the procedure is provided in Table 2. A.2 Data struct We have defined two struct types for input and output data.The struct ImagDomainData is used to store input data.In Table 3, the member variables of ImagDoaminData are summarized.freq and val store iω n and h i (−G(iω n )), respectively, while N_imag represents the dimenson of freq and val.Similarly, the RealDomainData struct is used to store output data.The member variables of the RealDomainData struct are summarized in Table 4.The variables freq and val store ω + iη and −G R (ω + iη), respectively, N_real represents the dimensons of both freq and val, omega_max represents the energy cutoff of the real axis, eta is the broaden parameter, and sum_rule corresponds to the value of dω ρ(ω). A.3 Solver struct We have defined solver structs for the Nevanlinna analytic continuation and the Hamburger moment problem combined with Nevanlinna analytic continuation.The member variables of these structs are summarized in Table 5 and Table 6, respectively.The constructor executes the process from calc_opt_N_imag to calc_H_min in the flowchart in Fig. 5.The function solve!executes the Hardy optimization step and RealDomainData in the NevanlinnaSolver contains output data. B Example code In this section, we present an example code using Nevanlinna.jl for the two-peak model.The corresponding results are illustrated in Fig. 1(d).Users can apply our code to different spectral functions by modifying the definition of rho(omega). B Example code is considered "proper".The characteristic degrees of the Hankel matrix are defined as n 1 = rank H N N [b] and n 2 = 2N − n 1 .A Hankel matrix A is considered proper when its leading submatrix, B = A i, j i=n 1 −1, j=n 1 −1 i, j=0 Figure 1 : Figure 1: Results of (a) δ-function, (b) Gaussian, (c) Lorentzian, (d) two-peak, (e) Kondo-resonance, (f) Hubbard-gap models with and without optimization in Nevanlinna.jl.These results were obtained for β = 100 and η = 0.001 The exact spectral functions consist of δ-function, Gaussian peaks, or Lorentzian peaks [Eq.(60)]. Figure 2 : Figure 2: Results of the two-peak model obtained by 64-bit and 128-bit arithmetic.The spectral function is the same as Fig. 1(d). Figure 3 : Figure 3: Results of the large Hubbard gap model for β = 10 and η = 0.01.The spectral function is 0.5 * g(ω, −3.0, 0.7) + 0.5 * g(ω, 3.0, 0.7). Figure 4 : Figure 4: (a) Results of the two-peak model for β = 1000 and η = 0.0001.We imposed constraints on the first 0, 3, and 7 moments, respectively.(b) Results with smoothing and constraints on the first seven moments.The spectral function is the same as Fig. 1(d). Funding information K.N. was supported by JSPS KAKENHI (Grants No. JP21J23007) and Research Grants, 2022 of WISE Program, MEXT.H.S. was supported by JSPS KAKENHI Grants No. 18H01158, No. 21H01041, and No. 21H01003, and JST PRESTO Grant No. JP-MJPR2012, Japan.E.G. was supported by the National Science Foundation under Grant No. NSF DMR 2001465. Figure 5 : Figure 5: Flowchart of Nevanlinna.jl. 27 for i in 1: hnw 28 input_smplFigure 6 : Figure 6: Example code for the two-peak model.This code is available at https://github.com/SpM-lab/Nevanlinna.jl/notebooks/two_peak.ipynb. Table 1 : Arguments of constructors of NevanlinnaSolver andHamburgerNevanlinnaSolver.The first argument, moments, is needed only for HamburgerNevanlinnaSolver. Table 1 : (Default: true) ini_iter_tol Int64 Upper bound of iteration for H min (Default: 500) mesh Symbol Mesh on the real axis option (Default: :linear) Table 2 : Functions in processing flow. Table 3 : Members of ImagDomainData. Table 4 : Members of RealDomainData. Table 4 : 1# load package

섹션 본문 107문단 · 29,200자

(제목 없음)

1We introduce a Julia implementation of the recently proposed Nevanlinna analytic continuation method.The method is based on Nevanlinna interpolants and inherently preserves the causality of a response function due to its construction.For theoretical calculations without statistical noise, this continuation method is a powerful tool to extract real-frequency information from numerical input data on the Matsubara axis.This method has been applied to first-principles calculations of correlated materials.This paper presents its efficient and full-featured open-source implementation of the method including the Hamburger moment problem and smoothing.

Introduction

2In finite-temperature quantum field theories ranging from condensed matter to high-energy physics, many sophisticated numerical techniques have been developed.For instance, perturbative theories [1][2][3][4][5][6][7] are a powerful tool for studying impurity effects [8], Fermi liquids [9,10], and symmetry breaking phenomena such as charge-, spin-density waves [11][12][13], or superconductivity [14,15].For investigating Mott transitions and renormalization effects of quasiparticles near the Fermi energy, or Kondo effects, we may employ the non-perturbative dynamical mean-field theory [16] with discrete- [17] or continuous-time [18][19][20][21] quantum Monte Carlo impurity solvers.In the field of high-energy physics, lattice quantum chromodynamics algorithms are used for ab initio investigations of the masses of hadrons, the quark confinement, or of chiral symmetry breaking [22][23][24].

3These theories are formulated in "imaginary time", where finite-temperature statistical mechanics computations are tractable.The result of the computation is the numerical data of the Matsubara Green's function G(iω n ) defined on the imaginary axis of the complex frequency plane.The spectral function ρ(ω) = −(1/π)ImG R (ω) contains information about the singleparticle excitation which, in electronic systems, are related to measurements in photoemission spectroscopy.An analytic continuation step relating the Matsubara Green's function G(iω n ) to the retarded Green's function G R (ω) is therefore needed as a post-processing step.This need for numerical analytic continuation exists not only for fermionic systems but also for bosonic systems [25,26] including He [27,28], supersolids [29], and warm dense matter [30].Thus, a highly precise and efficient numerical analytic continuation method is desired for quantitative studies of quantum many-body systems.

4Regardless of its practical importance, the numerical analytic continuation of the Green's function is an ill-conditioned problem whose direct solution is intractable.To address this issue, many approximate methods have been developed.Examples include continued fraction Padé approximation methods [31], the maximum entropy method [32,33], the stochastic analytic continuation [34][35][36][37][38], machine learning approaches [39], genetic algorithms [28], the sparse modeling method [40,41], the Prony method [42], and a pole fitting approach [43].Most of these methods are based on a regularized fit and fail to restore sharp structures in the large-ω region even for numerically exact input data.The Padé approximation, which is an interpolation method, does not ensure causality and often results in negative values of the spectral function and a violation of the sum rule, particularly at high frequencies.

5The Nevanlinna analytic continuation method [44], an interpolation method, inherently respects the mathematical structure of causal response functions, thereby providing a mathematically rigorous numerical analytic continuation that ensures causality.The formalism has been extended to matrix-valued Green's functions [44,45].

6While the Nevanlinna analytic continuation method has an elegant mathematical foundation, the numerical solution of the Nevanlinna continuation equations requires special care.The continued fraction expressions used in the method are sensitive to numerical precision, which means that the interpolation must be performed using at least quadruple floating-point arithmetic, even if input data is only known to double precision.In addition, selecting a subset of the input data such that it respects the so-called Pick condition, which guarantees causality [44], is essential to avoid overfitting.For a solvable non-degenerate problem, Nevanlinna theory guarantees the existence of an infinite number of valid analytical continuations.In practical applications, a single "best" one of these needs to be chosen, typically by imposing an additional smoothness constraint.

7The sample C++ code published by the authors of [44] as a supplement to the original paper serves to illustrate Nevanlinna continuation but does not implement this smoothing step or a selection algorithm for choosing a subset of causal data.In this paper, we describe a full-featured implementation of the Nevanlinna analytic continuation method in the Julia language.Our implementation incorporates interpolation executed in arbitrary-precision arithmetic, which ensures a stable interpolation.We execute the smoothing based on numerical optimization, utilizing the automatic differentiation of the cost function, which is faster and more accurate than the numerical finite difference method.The code is straightforward to install and comes with Jupyter Notebooks illustrating typical use cases.The implementation in the Julia language makes the code easily customizable for future extensions, e.g., to matrixvalued Green's functions [45].We expect that providing the user community with a ready-touse and simple package that implements these additional steps will accelerate the adoption of the Nevanlinna method in finite temperature Green's function calculations.

Theory

8In the Nevanlinna analytic continuation, the analytic properties of Green's function play an essential role.We, therefore, describe the analytic structure of both Matsubara Green's function and the retarded Green's function, focusing on the Lehmann representation in Sec.2.1.In Sec.2.2, the definition of Nevanlinna functions is given.Green's functions as Nevanlinna functions, the Pick criterion, and the Schur interpolation algorithm are summarized, and the Hardy optimization procedure is explained with some technical remarks.The fundamental principles of the Hamburger moment problem are presented in Sec.2.3.For the purpose of constructing a solution, the Hankel matrix and two distinct types of polynomials are introduced.The theory outlined here follows Refs.[44][45][46].Additional technical and theoretical details explained in this paper may be useful for users of the code.

Analytic continuation from Matsubara frequency to real frequency

9In this paper, we focus on correlation functions between the fermionic annihilation operator, ĉ, and the creation operator, ĉ † , which we call Green's function.The Matsubara Green's function and retarded Green's function are defined as follows:

10in the imaginary-time domain and in the real-time domain, respectively.Their Fouriertransformed functions are given by

11where

12, and ĉ(t) = e i( Ĥ−µ N )t ĉe −i( Ĥ−µ N )t with Hamiltonian Ĥ, particle number operator N , the inverse temperature β = 1/T , and the chemical potential µ.We here set the Boltzmann constant k B equal to 1. Here, Ξ = tr{e −β( Ĥ−µ N ) } is the partition function and iω n = i(2n + 1)πT are fermionic Matsubara frequencies [47].

13These two Green's functions are related by the Lehmann representation [48][49][50][51],

14Namely, the Matsubara Green's function G(iω n ) is given by the limit z → iω n , and the retarded Green's function G R (ω) is given by the limit z → ω + iη (η → +0).Here, the spectral function ρ(ω) is

15where E n and N n are energy and particle number of eigen state |n〉.From this definition, we see that the spectral function ρ(ω) is always non-negative (ρ(ω) ≥ 0), and it satisfies the sum rule:

16Using the following formula

17the spectral function can be evaluated from retarded Green's function,

18The central objective in this paper is to estimate G R (ω + η) and ρ(ω) from the data of G(iω n ), namely, numerical analytic continuation between G R (ω + η) and G(iω n ).

Nevanlinna analytic continuation procedure 2.2.1 Definition and notations

19First, let us summarize the notations used in this paper.The upper half-plane C + and the open unit disk D are

20Their closures are denoted by C + and D, respectively.Nevanlinna functions are holomorphic functions from C + to C + , and Schur functions are holomorphic functions from D to D. We denote the set of Nevanlinna functions and that of Schur functions as N and S, respectively.

21Note that an one-to-one correspondence exists between z ∈ C + and w ∈ D by Möbius transformation h ξ and the inverse h −1 ξ for ξ ∈ C + :

22Another Möbius transformation maps w ∈ D to w ′ ∈ D for ζ ∈ D:

Green's functions as Nevanlinna functions

23As discovered in Refs.[44,45], the negative of the fermionic Green's function is a Nevanlinna function.Indeed, from Eq. (5),

24Given that ρ(ω) ≥ 0,

25where proves −G(z) ∈ N .In numerical analysis, we can determine the values of Green's function at a finite number of Matsubara frequencies, represented as

26The problem is to find Nevanlinna functions f ∈ N which satisfy f (Y α ) = C α .This problem can be modified into another tractable problem by transforming the range of Nevanlinna function by Möbius transformation.Therefore, our problem is to find a composite function

27We call these modified Nevanlinna functions contractive functions.As discussed below, interpolation problems of contractive functions can be solved efficiently by the Schur algorithm [52,53].

Pick criterion

28There is a necessary and sufficient condition for the existence of Nevanlinna interpolants, namely, the generalized Pick criterion [44].It is formulated in terms of the Pick matrix [54],

29and states that if the Pick matrix is positive definite, an infinite number of solutions to the interpolation problem exists.If it is positive semidefinite but not positive definite, there is a unique solution.If the Pick matrix contains negative eigenvalues in addition to the positive ones, no solution to the interpolation problem exists [54,55].In many numerical calculations, this condition is satisfied when considering a subset of the values to be interpolated, but it fails when all values are taken into account.In particular, if data points are added from low to high frequencies, high Matsubara frequency values tend to break this condition.Our implementation determines the optimal number of low Matsubara frequencies, N opt , for the analytic continuation in an automated fashion.The process involves setting an initial value of N cut to 1 and constructing a Pick matrix from input data at the lowest N cut Matsubara frequencies

30, which is then factorized using Cholesky Factorization.If the factorization is successful, N cut is incremented by one and the procedure is repeated until a factorization failure occurs. 1 The optimal cutoff, N opt , is then determined as the maximum value of N cut for which factorization is successful.In the subsequent analytic continuation, we utilize only the data up to N opt .We refer to this procedure as "Pick Selection".

Schur algorithm

31The numerical analytic continuation can be viewed as a problem of constructing an analytic function subject to M point constraint conditions.That is, we aim to construct a contractive function that satisfies

32The Schur Algorithm iteratively interpolates and constructs θ (z).In the following, we begin by constructing a contractive function with a single constraint.This process will subsequently be generalized to accommodate M constraint conditions.First, let us consider a Schur function ϕ ∈ S with one constraint condition ϕ(0) = γ 1 ∈ D. We construct the function

33From g −1 γ 1

34(ϕ(0)) = 0 and the Schwartz's lemma, φ(w) belongs to S. Conversely for any Schur function φ(w),

35= g γ 1 (w φ(w)) , (24) will be regular in D, |ϕ(w)| < 1, and ϕ(0) = γ 1 .Therefore, Eq. ( 23) provides a general form of Schur functions subject to a single constraint condition ϕ(0) = γ 1 , where φ(w) is an arbitrary Schur function.

36Combining Eq. ( 23) and Möbius transformation h Y 1 (z), a general form of contractive functions θ (z) = ϕ • h Y 1 (z) that satisfy θ (Y 1 ) = γ 1 an be given as

37where θ (z) is an arbitrary contractive function.

38The procedure can be further extended to problems with M constraint conditions:

39By utilizing Eq. ( 25), we can recast the M constraint problem for θ 1 as an (M − 1) constraint problem for θ 2 :

40with

41In a similar manner, this algorithm can be continued iteratively until

42are determined, leaving θ M +1 as an arbitrary contractive function.The continued contractive function, which is parameterized by θ M +1 , can be expressed as

43where a(z), b(z), c(z), and d(z) are determined by

44Here,

45To determine φ α , we prepare the recursive algorithm.First, φ 1 = θ (Y 1 ) and construct

46and determine φ 2

47Generally, the values of φ 1 , • • • , φ β−1 are used to determine φ β as follows:

48Note that these algorithms require at least quadruple floating-point precision to achieve accurate continued fraction expressions, as numerical instability may arise.This is demonstrated in Section 3.3.

Smoothing

49There is an infinite number of "valid" continuations consistent with causal input data since any Schur function θ M +1 will yield a valid spectral function.To select the "most physical" of all possible spectral functions, additional constraints for θ M +1 or for the final spectral function can be imposed.As discussed in the following section, artificial oscillations around exact values manifest for θ M +1 (z) = 0. To eliminate these oscillations and get the best continued result, we adjust θ M +1 (z) in order to get the smoothest possible spectral function [44].We assume that θ M +1 (z) exists in Hardy space

50This space is generated by the orthogonal basis { f k (z)} ∞ 0 whose basis functions are given by

51We expand θ M +1 (z) into the basis with a cutoff parameter H cut ,

52and minimize the cost function

53Typically, a value of λ = 10 −4 tends to yield stable solutions.In Nevanlinna.jl, we use automatic differentiation to optimize coefficients a k , b k .The implementation is based on Zygote.jl[58] and Optim.jl[59].The automatic differentiation is extraordinarily efficient and accurate up to machine precision, unlike the numerical finite difference method employed in Ref. [44].

54In practical calculations, a large H cut can lead to numerical instabilities.As such, our methodology adopts a step-by-step approach.Once a solution (a k , b k ) converges for a given H cut , we initiate the optimization of the cost function for H cut + 1, using the previously converged values (a 0 ,

55as the initial values.The code commences with an initial cutoff value of H min , and the optimization procedure is repeated by incrementing H cut until optimization fails.At that point, continued values are computed based on the last converged solution.It is crucial to carefully consider the value assigned to H min , as in certain circumstances, utilizing H min = 0 can fail at the first optimization step.Hence, the optimal value of H min that leads to convergence should be adopted in such cases.

Hamburger moment problem

56The prior knowledge of the moments of the spectral function can be incorporated into the Nevanlinna analytic continuation procedure [46,60].The n-th moment is defined as

57These moments are related to the asymptotic expansion of the Green's function:

58The correct high-frequency behavior is usually enforced by Matsubara points at large Matsubara frequencies, especially on non-uniform grids with Matsubara points at very high frequencies.However, a cutoff of Matsubara frequencies in the input data, or via the Pick selection criterion, eliminates this information, leading to spectral functions that may have incorrect moments.Imposing constraints on the moments during the interpolation can therefore improve the accuracy of the continued fraction in the Nevanlinna analytic continuation process.The enforcement of moments and the combination of the moment with the interpolation problem is known as the Hamburger Moment Problem [44,46,61].

59Let us consider a sequence of moments, b = (h 0 , h 1 , h 2 , . . ., h 2N −2 ).The vector b is referred to as the Hankel vector and can be pre-calculated using the equations of motion [62,63].Our objective is to determine a non-decreasing measure σ(ω) that satisfies the following equation:

60for n = 0, 1, 2, . . ., 2N −2.The spectral function is expressed as ρ(ω) = dσ(ω) dω (≥ 0).According to the Hamburger-Nevanlinna theorem [61], there is a one-to-one correspondence between the class of solutions σ(ω) and a subset of Nevanlinna functions:

61This Nevanlinna function has the following asymptotic form:

62where the domain of f (z) is ε < arg z < π − ε for some 0 < ε < π 2 .The continuation of f (z) is only possible if the Hankel matrix H N N [b], which is defined as follows: , of order n 1 × n 1 is non-singular, and thus n 1 = rank B [64].Note that a non-singular Hankel matrix is proper.

63We introduce a polynomial space defined by the kernel of the Hankel matrix, as given by the following equation:

64In constructing a solution, we utilize two distinct types of polynomials.Let us denote the first type as p(z) and q(z).When n 1 = n 2 = N , the dimension of A n 1 +1 is 2 and p(z) and q(z) serve as a basis for this space.However, when n 1 < n 2 , A n 1 +1 has a dimension of 1 and p(z) serves as its basis.Meanwhile, the set p(z), z p(z), . . ., z n 2 −n 1 p(z), q(z) forms an orthogonal basis for A n 2 +1 .The polynomials p(z) and q(z) are not uniquely defined, but a special pair of canonical polynomials is often utilized for convenience.The expression for n 1 -th order polynomial is given by

65where α is a normalization coefficient that ensures that the polynomial is monic.In the case where n 1 = N , h 2n 1 −1 is an arbitrary real number [60].We choose p(z) to be an n 1 -th order orthogonal polynomial and q(z) to be an (n 1 − 1)-th order polynomial.The polynomials can be expressed as:

66Additionally, we define the symmetrizers of p(z) and q(z) as follows:

67Finally, we introduce another two sets of polynomials, which are the conjugate polynomials of p(z) and q(z):

68The solutions to the problem are provided for both the case of a positive definite Hankel matrix (H N N > 0) and the case of a semi-positive definite Hankel matrix (H N N ≥ 0), as follows (see Theorem 3.6 in Ref. [60]):

69Here, ϕ(z) represents any Nevanlinna function such that ϕ(z)/z approaches zero as |z| approaches infinity.These frameworks can be combined with the Schur algorithm by incorporating Nevanlinna analytic continuation.Given the data for f (z) to be interpolated,

70we modify data by polynomials p(z), q(z), γ(z), δ(z), as follows:

71Since ϕ(z) is a Nevanlinna function, the Schur algorithm interpolates the data in Eq. ( 59) and gives ϕ(z) and f (z).

Installation

72Firstly, users need to install Julia (v1.6 or newer) and make sure to add the location of the Julia executable (julia) to their PATH environment variable.

73Installing the library is straightforward, thanks to Julia's package manager.To start, open Julia using the REPL (read-eval-print loop), which is an interactive command-line interface, and press the ] key to activate the package mode.Then enter the following:

74Upon successful installation, you'll be able to use our library in a Julia session as follows:

75julia > using Nevanlinna Alternatively, the libraries can be installed in a shell as follows:

76$ julia -e ' import Pkg ; Pkg .add ( " Nevanlinna " ) '

77This command tells Julia to import the package management system and add (i.e., install) the Nevanlinna.jlpackage.This installation will be performed in the currently active environment in your Julia session.

78If you intend to run the sample code provided later in this paper, it will also be necessary to install SparseIR.jl[65] for the sparse sampling method [66] based on the intermediate representation [67].You can do this by adding it in the same way as Nevanlinna.jl.In the Julia package mode, simply type the following command:

79Alternatively, you can install the package directly from the shell by entering the following command:

80$ julia -e ' import Pkg ; Pkg .add ( " SparseIR " ) '

Examples

81To illustrate the capabilities of our code, we present a numerical analytic continuation for several models, which include a δ-function, a Gaussian, a Lorentizian, a two-peak, a Kondo resonance, and a Hubbard gap model.Jupyter notebooks, which can be used to execute these examples, are provided in the notebooks directory of our repository.The three of these models were previously analyzed in Ref. [44].The exact spectral functions for these models are given by the following equations:

82ρ Kondo resonance (ω) = 0.45 g(ω, −2.5, 0.7) + 0.1 g(ω, 0, 0.1) + 0.45 g(ω, 2.5, 0.7) , ρ Hubbard gap (ω) = 0.5 g(ω, −1.9, 0.5) + 0.5 g(ω, 1.9, 0.5) ,

83where

84-gap models with and without optimization in Nevanlinna.jl.These results were obtained for β = 100 and η = 0.001 The exact spectral functions consist of δ-function, Gaussian peaks, or Lorentzian peaks [Eq.(

85We prepare double precision input data G(iω n ) on a sparse sampling grid of Matsubara frequencies, i.e., the intermediate-representation [67] grid for β = 100 [66], generated by using SparseIR.jl[65].The code can be found in Fig. 6.After the analytic continuation is performed, the output data can be accessed through sol.reals.We evaluate the continued results on ω + 0.001i and show them in Fig. 1.Except for the δ-function model, the continued result shows artificial oscillations around the exact spectral function in the absence of Hardy optimization.However, by the Hardy optimization implemented in our code, these oscillations are effectively removed and the continued spectral function is in good agreement with the exact function in all cases.

86To demonstrate the significance of utilizing multiple precision arithmetic in the Schur algorithm, we compare the results obtained with 64-bit arithmetic and 128-bit arithmetic.The optimized result is shown in Fig. 2. The result obtained with 64-bit arithmetic is incorrect, as the small peak is not properly restored and there is finite spectral weight in the high-ω region.This indicates that the rounding error in the Schur algorithm can significantly affect the continued result.Hence, employing multiple precision arithmetic is essential to ensure that rounding errors remain negligible throughout the computations.

87The case in which the spectral function displays a large gap around the origin is known to be challenging.The kernel of analytic continuation implies that information about the spectral function may be lost in the Matsubara Green's function [67].Consequently, the Matsubara Green's function in such cases exhibits a lower tolerance for noise.Computations at high temperatures yield a qualitatively correct solution.Figure 3 shows the results for this case.The positions and weights of the peaks are reconstructed; however, some small oscillations remain.Implementing a more robust algorithm for Hardy optimization will enhance the performance of our code.In computations at low temperatures, the Matsubara frequencies are close to each other in the complex ω-plane, making it difficult to access high-frequency behavior that may have been truncated by Pick selection.Including information about the moments can improve the results in these situations.Figure 4(a) illustrates the influence of the use of moment information on the outcomes.The incorporation of additional information leads to a reduction of artificial oscillations.This augmentation stabilizes the numerical computation during Hardy optimization.The Hardy optimization still works efficiently even in the case of the Hamburger moment problem (Fig. 4(b)).The inclusion of moments is beneficial in low-temperature calculations or situations where input data is limited.

Conclusion

88In this paper, we introduced the Julia library Nevanlinna.jl.We provided an overview of the analytic structure of the Green's function, Schur The installation of our code is extraordinarily easy using the Julia package manager.Furthermore, multiple precision arithmetic is already implemented.Thus, there is no obstacle, such as compiling the code or installing an external library manually, and users can readily try our code.

89Finally, we discuss some remaining technical issues and further extensions to be addressed.In some cases, like the large Hubbard gap structure, our Hardy optimization algorithm may fail to find the optimal solution θ M +1 (z).However, the Pick criterion guarantees the existence of the true undetermined function θ M +1 (z).Therefore, further investigation into the optimization algorithm will improve the range of applications of Nevanlinna analytic continuation.Although our code currently employs Cholesky decomposition to verify the semi-positive definiteness of Pick or Hankel matrices, it is well-known that robust criteria and efficient algorithms exist to confirm the positive definiteness of given matrices [56].Implementing this algorithm into our code is a direction for future work.The extension for the matrix-valued Green's function is also an interesting topic.While this topic is resolved for spectral functions like the δ-function [45], broadened cases have not been investigated yet.In addition, further expansion of Nevanlinna analytic continuation to self-energy [68] or anomalous Green's function [69] is crucial for wide-range applications of many-body physics.

A Structure of code A.1 Processing flow

90The function calc_opt_N_imag calculates the optimal cutoff number opt_N_imag, aiming to preserve causality, as described in Sec.2.2.3.Then, with the calculated opt_N_imag, calc_phis calculate φ α as described in Sec.2.2.4.Following this, calc_abcd evaluates the functions a(z), b(z), c(z), and d(z) at z = ω+iη using the Schur algorithm.Finally, optimal H_min is evaluated by calc_H_min, and the Hardy optimization is executed.The flowchart of our procedure is shown in Fig. 5, and a summary of the functions used in the procedure is provided in Table 2.

A.2 Data struct

91We have defined two struct types for input and output data.The struct ImagDomainData is used to store input data.In Table 3, the member variables of ImagDoaminData are summarized.freq and val store iω n and h i (−G(iω n )), respectively, while N_imag represents the dimenson of freq and val.Similarly, the RealDomainData struct is used to store output data.The member variables of the RealDomainData struct are summarized in Table 4.The variables freq and val store ω + iη and −G R (ω + iη), respectively, N_real represents the dimensons of both freq and val, omega_max represents the energy cutoff of the real axis, eta is the broaden parameter, and sum_rule corresponds to the value of dω ρ(ω).

A.3 Solver struct

92We have defined solver structs for the Nevanlinna analytic continuation and the Hamburger moment problem combined with Nevanlinna analytic continuation.The member variables of these structs are summarized in Table 5 and Table 6, respectively.The constructor executes the process from calc_opt_N_imag to calc_H_min in the flowchart in Fig. 5.The function solve!executes the Hardy optimization step and RealDomainData in the NevanlinnaSolver contains output data.

B Example code

93In this section, we present an example code using Nevanlinna.jl for the two-peak model.The corresponding results are illustrated in Fig. 1(d).Users can apply our code to different spectral functions by modifying the definition of rho(omega).

94is considered "proper".The characteristic degrees of the Hankel matrix are defined as n 1 = rank H N N [b] and n 2 = 2N − n 1 .A Hankel matrix A is considered proper when its leading submatrix, B = A i, j i=n 1 −1, j=n 1 −1 i, j=0

Figure 1 :

95Figure 1: Results of (a) δ-function, (b) Gaussian, (c) Lorentzian, (d) two-peak, (e) Kondo-resonance, (f) Hubbard-gap models with and without optimization in Nevanlinna.jl.These results were obtained for β = 100 and η = 0.001 The exact spectral functions consist of δ-function, Gaussian peaks, or Lorentzian peaks [Eq.(60)].

Figure 2 :

96Figure 2: Results of the two-peak model obtained by 64-bit and 128-bit arithmetic.The spectral function is the same as Fig. 1(d).

Figure 3 :

97Figure 3: Results of the large Hubbard gap model for β = 10 and η = 0.01.The spectral function is 0.5 * g(ω, −3.0, 0.7) + 0.5 * g(ω, 3.0, 0.7).

Figure 4 :

98Figure 4: (a) Results of the two-peak model for β = 1000 and η = 0.0001.We imposed constraints on the first 0, 3, and 7 moments, respectively.(b) Results with smoothing and constraints on the first seven moments.The spectral function is the same as Fig. 1(d).

Funding

99information K.N. was supported by JSPS KAKENHI (Grants No. JP21J23007) and Research Grants, 2022 of WISE Program, MEXT.H.S. was supported by JSPS KAKENHI Grants No. 18H01158, No. 21H01041, and No. 21H01003, and JST PRESTO Grant No. JP-MJPR2012, Japan.E.G. was supported by the National Science Foundation under Grant No. NSF DMR 2001465.

Figure 5 :

100Figure 5: Flowchart of Nevanlinna.jl.

27 for i in 1: hnw 28 input_smplFigure 6 :

101Figure 6: Example code for the two-peak model.This code is available at https://github.com/SpM-lab/Nevanlinna.jl/notebooks/two_peak.ipynb.

Table 1 :

102Arguments of constructors of NevanlinnaSolver andHamburgerNevanlinnaSolver.The first argument, moments, is needed only for HamburgerNevanlinnaSolver.

103(Default: true) ini_iter_tol Int64 Upper bound of iteration for H min (Default: 500) mesh Symbol Mesh on the real axis option (Default: :linear)

Table 2 :

104Functions in processing flow.

Table 3 :

105Members of ImagDomainData.

Table 4 :

106Members of RealDomainData.

1071# load package

참고문헌 65건

  1. Continuous-Time Quantum Monte Carlo Algorithms for Fermions 2008 10.3929/ethz-a-005722583
  2. Lattice Methods for Quantum Chromodynamics 2006 10.1142/6065
  3. The Classical Moment Problem and Some Related Questions in Analysis 2020 10.1137/1.9781611976397
  4. Quantum Many-Particle Systems CRC Press eBooks · Informa · 2018 10.1201/9780429497926
  5. Condensed Matter Field Theory Cambridge University Press eBooks · Cambridge University Press · 2010 10.1017/cbo9780511789984
  6. Topics in Hardy Classes and Univalent Functions Birkhäuser Basel eBooks · 1994 10.1007/978-3-0348-8520-1
  7. Maximum entropy analysis of oversampled data problems European Biophysics Journal · Springer Science+Business Media · 1990 10.1007/bf02427376
  8. The general rational interpolation problem and its connection with the Nevanlinna-Pick interpolation and power moment problem Linear Algebra and its Applications · Elsevier BV · 1998 10.1016/s0024-3795(97)00346-7
  9. Application of Bayesian inference to stochastic analytic continuation Journal of Physics Conference Series · IOP Publishing · 2010 10.1088/1742-6596/200/1/012041
  10. A New Approach to Quantum-Statistical Mechanics Progress of Theoretical Physics · Oxford University Press · 1955 10.1143/ptp.14.351
  11. Density fluctuations in liquid4He. Path integrals and maximum entropy Journal of Low Temperature Physics · Springer Science+Business Media · 1996 10.1007/bf00751861
  12. Dynamical mean-field theory of strongly correlated fermion systems and the limit of infinite dimensions Reviews of Modern Physics · American Physical Society · 1996 10.1103/revmodphys.68.13
  13. Theory of superconductivity in strongly correlated electron systems Physics Reports · Elsevier BV · 2003 101016jphysrep200307002
  14. Hybridization expansion impurity solver: General formulation and application to Kondo lattice and two-orbital models Physical Review B · American Physical Society · 2006 10.1103/physrevb.74.155107
  15. Verification of Positive Definiteness BIT Numerical Mathematics · Springer Science+Business Media · 2006 10.1007/s10543-006-0056-1
  16. Stochastic method for analytic continuation of quantum Monte Carlo data Physical review. B, Condensed matter · American Physical Society · 1998 10.1103/physrevb.57.10287
  17. Über Eigenschaften von Ausbreitungsfunktionen und Renormierungskonstanten quantisierter Felder Il Nuovo Cimento · Italian Physical Society · 1954 10.1007/bf02783624
  18. Excitation Spectrum of a Supersolid Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.108.175301
  19. Continuous-time quantum Monte Carlo method for fermions Physical Review B · American Physical Society · 2005 10.1103/physrevb.72.035122
  20. Monte Carlo Method for Magnetic Impurities in Metals Physical Review Letters · American Physical Society · 1986 10.1103/physrevlett.56.2521
  21. Über die Beschränkungen analytischer Funktionen durch vorgegebene Funktionswerte Mathematische Annalen · Springer Nature · 1917 10.1007/bf01457103
  22. <i>Ab initio</i>low-energy dynamics of superfluid and solid<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:mmultiscripts><mml:mtext>H</mml:mtext><mml:mprescripts /><mml:none /><mml:mn>4</mml:mn></mml:mmultiscripts><mml:mtext>e</mml:mtext></mml:mrow></mml:math> Physical Review B · American Physical Society · 2010 10.1103/physrevb.82.174510
  23. Continuous-Time Solver for Quantum Impurity Models Physical Review Letters · American Physical Society · 2006 10.1103/physrevlett.97.076405
  24. Diagrammatic quantum Monte Carlo study of the Fröhlich polaron Physical review. B, Condensed matter · American Physical Society · 2000 10.1103/physrevb.62.6317
  25. Quasiparticle properties of the superconducting state of the two-dimensional Hubbard model Physical Review B · American Physical Society · 2015 10.1103/physrevb.91.085116
  26. Quasidirect decompositions of Hankel and Toeplitz matrices Linear Algebra and its Applications · Elsevier BV · 1984 10.1016/0024-3795(84)90028-4
  27. Analytical continuation of spectral data from imaginary time axis to real frequency axis using statistical sampling Physical Review B · American Physical Society · 2007 10.1103/physrevb.76.035115
  28. Spin fluctuations and high temperature superconductivity Advances In Physics · Taylor & Francis · 2000 10.1080/000187300412248
  29. Antiferromagnetism and the gap of a Mott insulator: Results from analytic continuation of the self-energy Physical Review B · American Physical Society · 2009 10.1103/physrevb.80.045101
  30. The Vacuum in Quantum Electrodynamics Progress of Theoretical Physics · Oxford University Press · 1951 10.1143/ptp/6.4.543
  31. Non-Euclidian metrics and the robust stabilization of systems with parameter uncertainty IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1985 10.1109/tac.1985.1103805
  32. Continuous-time Monte Carlo methods for quantum impurity models Reviews of Modern Physics · American Physical Society · 2011 10.1103/revmodphys.83.349
  33. Quantum Electrodynamics at Small Distances Physical Review · American Institute of Physics · 1954 10.1103/physrev.95.1300
  34. Absence of Diffusion in Certain Random Lattices Physical Review · American Institute of Physics · 1958 10.1103/physrev.109.1492
  35. (제목 없음) Applied Mathematics Research eXpress · Oxford University Press · 2003 10.1155/s1687120003212028
  36. Correlation effects and collective excitations in bosonic bilayers: Role of quantum statistics, superfluidity, and the dimerization transition Physical review. A/Physical review, A · American Physical Society · 2016 10.1103/physreva.94.013603
  37. Sign-Reversing Orbital Polarization in the Nematic Phase of FeSe due to the<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:msub><mml:mi>C</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:math>Symmetry Breaking in the Self-Energy Physical Review Letters · American Physical Society · 2016 10.1103/physrevlett.116.227001
  38. Quantum Theory of Many-Body Systems Graduate texts in physics · Springer Nature · 2014 10.1007/978-3-319-07049-0
  39. Numerical analytic continuation: Answers to well-posed questions Physical review. B./Physical review. B · American Physical Society · 2017 10.1103/physrevb.95.014102
  40. Sparse modeling approach to analytical continuation of imaginary-time quantum Monte Carlo data Physical review. E · American Physical Society · 2017 10.1103/physreve.95.061302
  41. Compressing Green's function using intermediate representation between imaginary-time and real-frequency domains Physical review. B./Physical review. B · American Physical Society · 2017 10.1103/physrevb.96.035147
  42. Optim: A mathematical optimization package for Julia The Journal of Open Source Software · Open Journals · 2018 10.21105/joss.00615
  43. Analytic continuation via domain knowledge free machine learning Physical review. B./Physical review. B · American Physical Society · 2018 10.1103/physrevb.98.245101
  44. <i>Ab initio</i> Path Integral Monte Carlo Results for the Dynamic Structure Factor of Correlated Electrons: From the Electron Liquid to Warm Dense Matter Physical Review Letters · American Physical Society · 2018 10.1103/physrevlett.121.255001
  45. Sparse sampling approach to efficient <i>ab initio</i> calculations at finite temperature Physical review. B./Physical review. B · American Physical Society · 2020 10.1103/physrevb.101.035144
  46. Sparse Modeling in Quantum Many-Body Problems Journal of the Physical Society of Japan · Physical Society of Japan · 2019 10.7566/jpsj.89.012001
  47. Lattice Gauge Theories World Scientific lecture notes in physics · World Scientific · 2011 10.1142/8229
  48. The Theory of Quantum Liquids CRC Press eBooks · Informa · 2018 10.4324/9780429492662
  49. Bayesian inference and the analytic continuation of imaginary-time quantum Monte Carlo data Physics Reports · Elsevier BV · 1996 10.1016/0370-1573(95)00074-7
  50. Nevanlinna Analytical Continuation Physical Review Letters · American Physical Society · 2021 10.1103/physrevlett.126.056402
  51. Analytical continuation of matrix-valued functions: Carathéodory formalism Physical review. B./Physical review. B · American Physical Society · 2021 10.1103/physrevb.104.165111
  52. A Probe into Propagators Deep Blue (University of Michigan) · University of Michigan · 2021 10.7302/1312
  53. Analytic continuation from limited noisy Matsubara data Journal of Computational Physics · Elsevier BV · 2022 10.1016/j.jcp.2022.111549
  54. Quantum Chromodynamics on the Lattice Lecture notes in physics · Springer Science+Business Media · 2009 10.1007/978-3-642-01850-3
  55. Many-Particle Physics Springer eBooks · Springer Nature · 2000 10.1007/978-1-4757-5714-9
  56. Über Potenzreihen, die im Innern des Einheitskreises beschränkt sind. Journal für die reine und angewandte Mathematik (Crelles Journal) · De Gruyter · 1918 10.1515/crll.1918.148.122
  57. sparse-ir: Optimal compression and sparse sampling of many-body propagators SoftwareX · Elsevier BV · 2022 10.1016/j.softx.2022.101266
  58. Don't Unroll Adjoint: Differentiating SSA-Form Programs arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1810.07951
  59. Theory Of Interacting Fermi Systems CRC Press eBooks · Informa · 2018 10.1201/9780429495724
  60. Unconventional density waves and superconductivities in Fe-based superconductors and other strongly correlated electron systems Advances In Physics · Taylor & Francis · 2021 10.1080/00018732.2022.2144590
  61. Rigorous formalism for unconventional symmetry breaking in Fermi liquid theory and its application to nematicity in FeSe Physical review. B./Physical review. B · American Physical Society · 2023 10.1103/physrevb.107.035137
  62. Bosonic Nevanlinna Analytic Continuation Journal of the Physical Society of Japan · Physical Society of Japan · 2023 10.7566/jpsj.92.035001
  63. Robust analytic continuation of Green's functions via projection, pole estimation, and semidefinite relaxation Physical review. B./Physical review. B · American Physical Society · 2023 10.1103/physrevb.107.075151
  64. Codebase release 1.0 for Nevanlinna.jl SciPost Physics Codebases · 2023 10.21468/scipostphyscodeb.19-r1.0
  65. On the Definition of the Renormalization Constants in Quantum Electrodynamics E-Periodica · 2010 10.5169/seals-112316