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

Continuous-time hybridization expansion quantum impurity solver for multi-orbital systems with complex hybridizations

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Hiroshi Shinaoka — Department of Physics, Saitama University, Saitama 338-8570, Japan|||Theoretische Physik, ETH Zurich, 8093 Zurich, Switzerland
  2. Emanuel Gull — University of Michigan, Ann Arbor, MI 48109, USA
  3. Philipp Werner — Department of Physics, University of Fribourg, 1700 Fribourg, Switzerland
DOI
10.1016/j.cpc.2017.01.003
저널
Computer Physics Communications
발행년도
2017
발행기관
Elsevier BV
피인용수
50
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.cpc.2017.01.003
토픽
Semiconductor Quantum Structures and Devices
OpenAlex ID
W2527893773

평가 내용

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

초록

초록이 없습니다.

본문 67,213자

본문 펼치기
## Continuous-time hybridization expansion quantum impurity solver for multi-orbital systems with complex hybridizations Hiroshi Shinaoka <sup>a</sup>, Emanuel Gull <sup>b</sup>, Philipp Werner <sup>c</sup> _aDepartment_ _of_ _Physics,_ _Saitama_ _University,_ _Saitama_ _338-8570,_ _Japan_ _bUniversity_ _of_ _Michigan,_ _Ann_ _Arbor,_ _Michigan_ _48109,_ _USA_ _cDepartment_ _of_ _Physics,_ _University_ _of_ _Fribourg,_ _1700_ _Fribourg,_ _Switzerland_ Abstract We describe an open-source implementation of the continuous-time hybridization-expansion quantum Monte Carlo method for impurity models with general instantaneous two-body interactions and complex hybridization functions. The code is built on an updated version of the core libraries of ALPS (Applications and Libraries for Physics Simulations) [ALPSCore libraries]. _Keywords:_ Quantum impurity problems, continuous-time impurity solver, hybridization expansion, complex hybridization functions, dynamical mean-field theory PROGRAM SUMMARY _Program_ _Title:_ ALPSCore CT-HYB _Journal_ _Reference:_ _Catalogue_ _identifier:_ _Licensing_ _provisions:_ GPLv3 _Programming_ _language:_ `C++`, MPI for parallelization. _Computer:_ PC, HPC cluster _Operating_ _system:_ Any, tested on Linux and Mac OS X _RAM:_ 100 MB - 1 GB. _Number_ _of_ _processors_ _used:_ 1 - 2000. _Keywords:_ impurity solver, CT-HYB _Classification:_ 4.4 _External_ _routines/libraries:_ ALPSCore libraries, Eigen3, Boost. _Nature_ _of_ _problem:_ Quantum impurity problem _Solution_ _method:_ Continuous-time hybridization expansion quantum Monte Carlo _Running_ _time:_ 1 min - 8 h (strongly depends on the problem to solve) 1. Introduction In condensed matter physics, dynamical meanfield theory (DMFT) [1] is a widely used tool _Email_ _address:_ `shinaoka@mail.saitama-u.ac.jp` (Hiroshi Shinaoka) for the study of strongly correlated electron systems. In a DMFT calculation, a correlated lattice model is mapped to an impurity problem whose bath degrees of freedom are self-consistently determined. Although the approximation was originally proposed for the single-band Hubbard model, the DMFT formalism can be extended to multi-orbital systems and cluster-type impurities [2]. Furthermore, DMFT can be combined with density functional theory based ab-initio calculations, to describe strongly correlated materials such as transition metal oxides [3]. In such realistic applications, one may have to treat local Coulomb interactions with non-density-density terms. Furthermore, in simulations of 4 _d_ and 5 _d_ transition metal oxides, spin-orbit coupling gives rise to complex hybridization functions [4]. In the presence of multiple local degrees of freedom or complex hybridization functions, the solution of the quantum impurity problem becomes a numerically costly task. For the DMFT self-consistency loop, we only have to compute single-particle quantities such as the selfenergy. However, it may be desirable to compute also higher-order correlation functions, to get access to spin-orbital susceptibilities, or in the context of diagrammatic extensions of the DMFT formalism [5, 6]. Continuous-time Monte Carlo is a general framework to solve a quantum models in a numerically _Preprint_ _submitted_ _to_ _Computer_ _Physics_ _Communications_ _May_ _2,_ _2017_ exact way by sampling a series expansion of the partition function. There are two complementary algorithms for quantum impurity problems with general interactions, called CT-INT (continuous-time interaction expansion) and CT-HYB (continuous-time bybridization expansion). The former is based on the expansion of the partition function with respect to the local interaction [7], while the latter is based on an expansion in the hybridization between the bath and the impurity [8]. CT-HYB is particularly efficient in the strongly correlated regime [9], and it is widely used for both model and material simulations. The available open-source implementations of CT-HYB [10–12] support neither complex hybridisation functions nor the measurement of the twoparticle Green’s function for general multi-orbital models. In this paper, we describe a state-of-the-art implementation of CT-HYB for multiple orbitals and complex hybridization functions. The code provides measurements of various observables and correlation functions relevant for DMFT calculations, including the single-particle Green’s function, density-density correlations, and four-time/twotime two-particle Green’s functions. The measurements are performed by worm sampling [13–16], to avoid ergodicity problems. The remainder of this paper is organized as follows. In Sec. 2, we introduce a general quantum impurity model. In Sec. 3, we describe CT-HYB and worm sampling. Section 4 describes the evaluation of the trace over local degrees of freedom, while Sec. 5 explains the possibility to change the single-particle basis. The installation and usage is detailed in Sec. 6, and Sec. 7 provides some examples of simulation results for a three-orbital model. Finally, we summarize the paper in Sec. 8. 2. General impurity model We consider a general multi-orbital impurity model defined by the Hamiltonian _H_ imp = _H_ loc + _H_ bath + _H_ hyb _,_ (1) where The indices _a_ and _b_ denote the internal degrees of freedom of the impurity, which we call _flavors_, e.g., a composite index of spin and orbital, while _α_ denotes those of the bath. The chemical potential is absorbed into _tab_ . For the Monte Carlo simulation, we switch to an action formulation and trace out the bath degrees of freedom. In the action _S_ imp = - _β_ 0 _dτ_ _H_ loc( _τ_ ) - _β_ + _dτdτ_ <sup>_′_</sup> <sup>�</sup> 0 _ab_ _ab_ _c_ <sup>_†_</sup> _a_ <sup>(</sup> <sup>_τ_</sup> <sup>)∆</sup> <sup>_ab_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>_−_</sup> <sup>_τ ′_</sup> <sup>)</sup> <sup>_cb_</sup> <sup>(</sup> <sup>_τ ′_</sup> <sup>)</sup> (5) all relevant local information of _H_ bath and _H_ hyb is encoded in the hybridization function defined by _<u>Vaα</u>_ <sup>_∗_</sup> <sup>_<u>Vαb</u>_</sup> _iωn −_ _ϵα_ ∆ _ab_ ( _iωn_ ) = _α_ _._ (6) Here, _β_ is the inverse temperature and _ωn_ = (2 _n_ + 1) _π/β_ a Matsubara frequency. The Fourier transformation to imaginary time can be written as ∆ _ab_ ( _τ_ ) = <sup><u>1</u></sup> _β_ _∞_ - _e_ <sup>_−_</sup> <sup>i</sup> <sup>_ωnτ_</sup> ∆ _ab_ (i _ωn_ ) _n_ = _−∞_ = <sup><u>1</u></sup> _β_ _∞_ _n_ =0 _e_ <sup>_−_</sup> <sup>i</sup> <sup>_ωnτ_</sup> _{_ ∆ _ab_ (i _ωn_ ) + ∆ _ba_ <sup>_∗_</sup> <sup>(i</sup> <sup>_ωn_</sup> <sup>)</sup> <sup>_} ._</sup> _e_ <sup>_−_</sup> <sup>i</sup> <sup>_ωnτ_</sup> _{_ ∆ _ab_ (i _ωn_ ) + ∆ _ba_ <sup>_∗_</sup> <sup>_†_</sup> _a_ <sup>_c†_</sup> _b_ _abcd_ _Vabcdc_ <sup>_†_</sup> _a_ <sup>_†_</sup> _b_ <sup>_cccd,_</sup> <sup>(2)</sup> _H_ loc = _H_ bath = _H_ hyb = _ab_ _α_ _α,b_ _tabc_ <sup>_†_</sup> _a_ <sup>_cb_</sup> <sup>+</sup> (7) The hybridization function is fermionic and hence _β_ -antiperiodic, ∆ _ab_ ( _τ_ + _β_ ) = _−_ ∆ _ab_ ( _τ_ ), with discontinuities at _τ_ = _nβ_ ( _n_ integer). For the simulations, we define ∆( _τ_ ) on the interval [0, _β_ ] in a continuous fashion. In the original literature [8, 17], there is a alternative notation for the hybridization function, _Fab_, which is related to ∆ _ab_ by _Fab_ ( _τ_ ) = _−_ ∆ _ba_ ( _β −_ _τ_ ) (0 _≤_ _τ_ _≤_ _β_ ) _._ (8) Our impurity solver takes ∆( _τ_ ) as an input in addition to the transfer matrix _tab_ and the Coulomb tensor _Uabcd_ . Note that the hybridization function can have diagonal and offdiagonal components, and that their values may be complex. The latter property is for example essential for the simulation of models with spin-orbit coupling [4]. The different components must satisfy the relation ∆ _ab_ ( _τ_ ) = ∆ <sup>_∗_</sup> _ba_ <sup>(</sup> <sup>_τ_</sup> <sup>).</sup> _ϵαd_ <sup>_†_</sup> _α_ <sup>_dα,_</sup> (3) _Vαbd_ <sup>_†_</sup> _α_ <sup>_cb_</sup> <sup>+ h</sup> <sup>_._</sup> <sup>c</sup> <sup>_._</sup> (4) 2 3. Hybridization expansion and worm sampling _3.1._ _Expansion_ _of_ _the_ _partition_ _function_ For a given inverse temperature _β_, the partition function _Z_ of the impurity model is expanded in powers of the hybridization as can be complex, we consider the absolute value _|w_ ( _c_ ) _|_ in the sampling. That is, we sample an unphysical partition function _Z_ ¯ _≡_ _c_ _|w_ ( _c_ ) _|._ (13) _Z_ _≡⟨e_ <sup>_−βH_</sup> _⟩_ - _β_ <sup>_′_</sup> 1 <sup>_· · ·_</sup> 0 _a_ 1 _,···,an_ _a_ <sup>_′_</sup> 1 <sup>_,···,a_</sup> _n_ <sup>_′_</sup> _a_ <sup>_′_</sup> 1 - _β_ d _τn_ d _τn_ <sup>_′_</sup> 0 _∝_ _∞_ _n_ =0 _n_ d _τ_ 1d _τ_ <sup>_′_</sup> 0 1 <u>1</u> _n_ ! <sup>2</sup> The ratio _Z/Z_ <sup>¯</sup> appears as a reweighing factor in the estimators of observables. We measure the fidelity susceptibility in this partition-function space [18, 19]. _3.2._ _Worm_ _sampling_ _of_ _the_ _Green’s_ _function_ We now briefly describe how to measure the expectation values of correlation functions. For instance, the single-particle Green’s function is defined as _×_ Trloc - _e_ <sup>_−βH_</sup> <sup>loc</sup> _Tτ_ _ca_ 1( _τ_ 1) _c_ <sup>_†_</sup> _a_ <sup>_′_</sup> 1 <sup>_′_</sup> 1 <sup>(</sup> <sup>_τ ′_</sup> 1 <sup>)</sup> <sup>_· · · ca_</sup> _n_ <sup>(</sup> <sup>_τn_</sup> <sup>)</sup> <sup>_c_</sup> _a_ <sup>_†_</sup> <sup>_′_</sup> _n_ <sup>(</sup> <sup>_τ ′_</sup> _n_ _a_ <sup>_′_</sup> <sup>_′_</sup> _n_ <sup>)</sup> _×_ det _M_ <sup>_−_</sup> <sup>1</sup> _,_ (9) where _n_ is the order of the expansion, _c_ <sup>_†_</sup> _a_ where _n_ is the order of the expansion, _c_ <sup>_†_</sup> _a_ <sup>(</sup> <sup>_τ_</sup> <sup>)</sup> <sup>=</sup> _e_ <sup>_τH_</sup> <sup>loc</sup> _c_ <sup>_†_</sup> _a_ <sup>_e−τH_</sup> <sup>loc</sup> <sup>and</sup> <sup>_ca_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup> <sup>=</sup> <sup>_eτH_</sup> <sup>loc</sup> <sup>_cae−τH_</sup> <sup>loc.</sup> <sup>The</sup> Tr[ _Tτ_ _e_ <sup>_−S_</sup> <sup>imp</sup> _ci_ ( _τ_ ) _c_ <sup>_†_</sup> _<u>j</u>_ <sup>(</sup> <sup>_τ ′_</sup> <sup>)]</sup> _,_ (14) _Z_ _e_ <sup>_τH_</sup> <sup>loc</sup> _c_ <sup>_†_</sup> _a_ <sup>_e−τH_</sup> <sup>loc</sup> <sup>and</sup> <sup>_ca_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup> <sup>=</sup> <sup>_eτH_</sup> <sup>loc</sup> <sup>_cae−τH_</sup> <sup>loc.</sup> <sup>The</sup> matrix elements of ( _M_ <sup>_−_</sup> <sup>1</sup> ) _ij_ are given by the hybridization function, _Gij_ ( _τ_ _−_ _τ_ <sup>_′_</sup> ) = _−_ <sup>_′_</sup> _i_ <sup>_,aj_</sup> <sup>(</sup> <sup>_τ ′_</sup> _i_ ( _M_ <sup>_−_</sup> <sup>1</sup> ) _ij_ = ∆ _a_ <sup>_′_</sup> _i_ <sup>_′_</sup> _i_ <sup>_−_</sup> <sup>_τj_</sup> <sup>)</sup> <sup>_._</sup> (10) where _τ, τ_ <sup>_′_</sup> _∈_ [0 _, β_ ). This quantity is the most important observable for DMFT calculations. Similarly to Eq. (9), the numerator of Eq. (14) is expanded as Tr[ _Tτ_ _e_ <sup>_−S_</sup> <sup>imp</sup> _ci_ ( _τ_ ) _c_ <sup>_†_</sup> _j_ <sup>(</sup> <sup>_τ ′_</sup> <sup>)]</sup> Equation (9) can be recast into = _Z_ B _Z_ _∝_ _∞_ _n_ =0 _a_ 1 _,···,an_ _∞_ _n_ =0 _a_ <sup>_′_</sup> 1 _n_ =0 _a_ 1 _,···,an_ _a_ <sup>_′_</sup> 1 <sup>_,···,a′_</sup> _n_ - _τ_ 2 - _τ_ 2 <sup>_′_</sup> _a_ <sup>_′_</sup> 1 - _β_ _a_ 1 _,···,an_ - _τ_ 2 <sup>_′_</sup> - _β_ <sup>_′_</sup> 1 <sup>_· · ·_</sup> 0 - _β_ <sup>_′_</sup> 1 <sup>_· · ·_</sup> 0 - _β_ _n_ =0 _a_ 1 _,···,an_ _a_ <sup>_′_</sup> 1 <sup>_,···,a′_</sup> _n_ - _τ_ 2 - _τ_ 2 <sup>_′_</sup> - _β_ - _τ_ 2 <sup>_′_</sup> d _τn_ 0 d _τn_ <sup>_′_</sup> 0 d _τ_ 1 0 d _τ_ <sup>_′_</sup> 0 1 d _τn_ 0 d _τ_ <sup>_′_</sup> 0 1 d _τn_ <sup>_′_</sup> 0 _n_ d _τ_ 1 0 _n_ _×_ Trloc - _e_ <sup>_−_</sup> <sup>(</sup> <sup>_β−τ_</sup> <sup>˜2</sup> <sup>_n_</sup> <sup>+2)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 2 _n_ +2 _· · ·_ _· · · e_ <sup>_−_</sup> <sup>(˜</sup> <sup>_τ_</sup> <sup>2</sup> <sup>_−τ_</sup> <sup>˜1)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 1 _e_ <sup>_−τ_</sup> <sup>˜1</sup> <sup>_H_</sup> <sup>loc</sup> - _e_ <sup>_−_</sup> <sup>(</sup> <sup>_β−τ_</sup> <sup>˜2</sup> <sup>_n_</sup> <sup>+2)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 2 _n_ +2 _· · ·_ _×_ Trloc - _e_ <sup>_−_</sup> <sup>(</sup> <sup>_β−τ_</sup> <sup>˜2</sup> <sup>_n_</sup> <sup>)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 2 _n · · · e_ <sup>_−_</sup> <sup>(˜</sup> <sup>_τ_</sup> <sup>2</sup> <sup>_−τ_</sup> <sup>˜1)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 1 _e_ <sup>_−τ_</sup> <sup>˜1</sup> <sup>_H_</sup> <sup>loc</sup> (11) _×_ ( _−_ 1) <sup>_P_</sup> <sup>trace</sup> _×_ det _M_ <sup>_−_</sup> <sup>1</sup> _,_ where 0 _≤_ _τ_ 1 _<_ _τ_ 2 _<_ _. . ._ _<_ _τn_ _<_ _β_, 0 _≤_ _τ_ 1 <sup>_′_</sup> _τ_ <sup>_′_</sup> where 0 _≤_ _τ_ 1 _<_ _τ_ 2 _<_ _. . ._ _<_ _τn_ _<_ _β_, 0 _≤_ _τ_ 1 <sup>_′_</sup> <sup>_<_</sup> _τ_ 2 <sup>_′_</sup> <sup>_<_</sup> <sup>_. . ._</sup> <sup>_<_</sup> <sup>_τ_</sup> _n_ <sup>_′_</sup> <sup>_<_</sup> <sup>_β_</sup> <sup>,</sup> <sup>and</sup> <sup>_{O_</sup> <sup>1,</sup> <sup>_· · ·_</sup> <sup>,</sup> <sup>_O_</sup> <sup>2</sup> <sup>_n}_</sup> <sup>is</sup> <sup>a</sup> <sup>time-</sup> _τ_ 2 <sup>_′_</sup> <sup>_<_</sup> <sup>_. . ._</sup> <sup>_<_</sup> <sup>_τ_</sup> _n_ <sup>_′_</sup> <sup>_<_</sup> <sup>_β_</sup> <sup>,</sup> <sup>and</sup> <sup>_{O_</sup> <sup>1,</sup> <sup>_· · ·_</sup> <sup>,</sup> <sup>_O_</sup> <sup>2</sup> <sup>_n}_</sup> <sup>is</sup> <sup>a</sup> <sup>time-</sup> ordered set of the impurity creation and annihilation operators. _P_ trace is the permutation of time ordering from _{ca_ 1( _τ_ 1) _, ca_ <sup>_†_</sup> <sup>_′_</sup> 1 <sup>(</sup> <sup>_τ ′_</sup> 1 <sup>)</sup> <sup>_, · · ·_</sup> <sup>_, ca_</sup> _n_ <sup>(</sup> <sup>_τn_</sup> <sup>)</sup> <sup>_, c_</sup> _a_ <sup>_†_</sup> <sup>_′_</sup> _n_ <sup>(</sup> <sup>_τ ′_</sup> _n_ <sup>)</sup> <sup>_}_</sup> _×_ ( _−_ 1) <sup>_P_</sup> <sup>trace</sup> det _M_ <sup>_−_</sup> <sup>1</sup> _,_ (15) <sup>_′_</sup> 1 <sup>(</sup> <sup>_τ ′_</sup> 1 <sup>)</sup> <sup>_, · · ·_</sup> <sup>_, ca_</sup> _n_ <sup>(</sup> <sup>_τn_</sup> <sup>)</sup> <sup>_, c_</sup> _a_ <sup>_†_</sup> <sup>_′_</sup> _n_ <sup>(</sup> <sup>_τ ′_</sup> _n_ dering from _{ca_ 1( _τ_ 1) _, ca_ <sup>_†_</sup> <sup>_′_</sup> 1 <sup>(</sup> <sup>_τ ′_</sup> 1 <sup>)</sup> <sup>_, · · ·_</sup> <sup>_, ca_</sup> _n_ <sup>(</sup> <sup>_τn_</sup> <sup>)</sup> <sup>_, c_</sup> _a_ <sup>_†_</sup> <sup>_′_</sup> _n_ <sup>(</sup> <sup>_τ ′_</sup> _n_ <sup>)</sup> <sup>_}_</sup> to _{O_ 1, _· · ·_, _O_ 2 _n}_ . The set _{τ_ ˜1 _, · · ·_ _,_ ˜ _τ_ 2 _n}_ is a time-ordered set of _{τ_ 1 _, · · ·_ _, τn, τ_ 1 <sup>_′_</sup> <sup>_, · · ·_</sup> <sup>_, τ_</sup> _n_ <sup>_′_</sup> <sup>_}_</sup> <sup>.</sup> In the Monte Carlo simulations, we perform an im _a_ <sup>_′_</sup> time-ordered set of _{τ_ 1 _, · · ·_ _, τn, τ_ 1 <sup>_′_</sup> <sup>_, · · ·_</sup> <sup>_, τ_</sup> _n_ <sup>_′_</sup> <sup>_}_</sup> <sup>.</sup> In the Monte Carlo simulations, we perform an importance sampling of _Z_ using the configurations _c_ = _{τ_ 1 _, τ_ 1 <sup>_′_</sup> <sup>_, · · ·_</sup> <sup>_, τn, τ_</sup> _n_ <sup>_′_</sup> <sup>;</sup> <sup>_a_</sup> <sup>1</sup> <sup>_, a′_</sup> 1 <sup>_, · · ·_</sup> <sup>_, an, a′_</sup> _n_ <sup>_}_</sup> <sup>and</sup> <sup>the</sup> Metropolis algorithm. Since the weight where _{O_ 1, _· · ·_, _O_ 2 _n_ +2 _}_ is a time-ordered set of the impurity creation and annihilation operators, and those of the Green’s function. _P_ trace is the permutation of time ordering from _{ca_ 1( _τ_ 1) _, ca_ <sup>_†_</sup> <sup>_′_</sup> 1 <sup>(</sup> <sup>_τ ′_</sup> 1 <sup>)</sup> <sup>_, · · ·_</sup> <sup>_, ca_</sup> _n_ <sup>(</sup> <sup>_τn_</sup> <sup>)</sup> <sup>_, c_</sup> _a_ <sup>_†_</sup> <sup>_′_</sup> _n_ <sup>(</sup> <sup>_τ ′_</sup> _n_ <sup>)</sup> <sup>_, ci_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup> <sup>_, c†_</sup> _j_ <sup>(</sup> <sup>_τ ′_</sup> <sup>)</sup> <sup>_}_</sup> <sup>_′_</sup> 1 <sup>(</sup> <sup>_τ ′_</sup> 1 <sup>)</sup> <sup>_, · · ·_</sup> <sup>_, ca_</sup> _n_ <sup>(</sup> <sup>_τn_</sup> <sup>)</sup> <sup>_, c_</sup> _a_ <sup>_†_</sup> <sup>_′_</sup> _n_ <sup>(</sup> <sup>_τ ′_</sup> _n_ _a_ <sup>_′_</sup> <sup>_′_</sup> _n_ <sup>)</sup> <sup>_, ci_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup> <sup>_, c†_</sup> _j_ _c_ = _{τ_ 1 _, τ_ 1 <sup>_′_</sup> <sup>_, · · ·_</sup> <sup>_, τn, τ_</sup> _n_ <sup>_′_</sup> <sup>;</sup> <sup>_a_</sup> <sup>1</sup> <sup>_, a′_</sup> 1 <sup>_, · · ·_</sup> <sup>_, an, a′_</sup> _n_ <sup>_}_</sup> <sup>and</sup> <sup>the</sup> Metropolis algorithm. Since the weight 1 <sup>_′_</sup> <sup>_, · · ·_</sup> <sup>_, τn, τ_</sup> _n_ <sup>_′_</sup> <sup>;</sup> <sup>_a_</sup> <sup>1</sup> <sup>_, a′_</sup> 1 algorithm. Since _{ca_ 1( _τ_ 1) _, ca_ <sup>_†_</sup> <sup>_′_</sup> 1 <sup>(</sup> <sup>_τ ′_</sup> 1 <sup>)</sup> <sup>_, · · ·_</sup> <sup>_, ca_</sup> _n_ <sup>(</sup> <sup>_τn_</sup> <sup>)</sup> <sup>_, c_</sup> _a_ <sup>_†_</sup> <sup>_′_</sup> _n_ <sup>(</sup> <sup>_τ ′_</sup> _n_ <sup>)</sup> <sup>_, ci_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup> <sup>_, c†_</sup> _j_ <sup>(</sup> <sup>_τ ′_</sup> <sup>)</sup> <sup>_}_</sup> to _{O_ 1, _· · ·_, _O_ 2 _n_ +2 _}_ . The set _{τ_ ˜1 _, · · ·_ _,_ ˜ _τ_ 2 _n_ +2 _}_ is a time-ordered set of _{τ_ 1 _, · · ·_ _, τn, τ_ 1 <sup>_′_</sup> <sup>_, · · ·_</sup> <sup>_, τ_</sup> _n_ <sup>_′_</sup> <sup>_, τ, τ ′}_</sup> <sup>.</sup> To construct the estimator of Eq. (14), we enlarge time-ordered set of _{τ_ 1 _, · · ·_ _, τn, τ_ 1 <sup>_′_</sup> <sup>_, · · ·_</sup> <sup>_, τ_</sup> _n_ <sup>_′_</sup> <sup>_, τ, τ ′}_</sup> <sup>.</sup> To construct the estimator of Eq. (14), we enlarge the configuration space as [13–15] - _e_ <sup>_−_</sup> <sup>(</sup> <sup>_β−τ_</sup> <sup>˜2</sup> <sup>_n_</sup> <sup>)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 2 _n · · ·_ _C_ = _CZ_ _⊕_ _CG_ (1) _,_ (16) _w_ ( _c_ ) =Trloc where a configuration _cA_ in the Green’s function space _CA_ is defined as _cA_ = _{τ_ 1 _, τ_ 1 <sup>_′_</sup> <sup>_, · · ·_</sup> <sup>_, τn, τ_</sup> _n_ <sup>_′_</sup> <sup>;</sup> <sup>_a_</sup> <sup>1</sup> <sup>_, a′_</sup> 1 <sup>_, · · ·_</sup> <sup>_, an, a_</sup> _n_ <sup>_′_</sup> <sup>;</sup> <sup>_ci_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup> <sup>_, c†_</sup> _j_ <sup>(</sup> <sup>_τ ′_</sup> <sup>)</sup> <sup>_}_</sup> <sup>.</sup> 1 <sup>_′_</sup> <sup>_, · · ·_</sup> <sup>_, τn, τ_</sup> _n_ <sup>_′_</sup> <sup>;</sup> <sup>_a_</sup> <sup>1</sup> <sup>_, a′_</sup> 1 <sup>_′_</sup> 1 <sup>_, · · ·_</sup> <sup>_, an, a_</sup> _n_ <sup>_′_</sup> <sup>;</sup> <sup>_ci_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup> <sup>_, c†_</sup> _j_ _e_ <sup>_−_</sup> <sup>(˜</sup> <sup>_τ_</sup> <sup>2</sup> <sup>_−τ_</sup> <sup>˜1)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 1 _e_ <sup>_−τ_</sup> <sup>˜1</sup> <sup>_H_</sup> <sup>loc</sup> �( _−_ 1) <sup>_P_</sup> <sup>trace</sup> det _M_ <sup>_−_</sup> <sup>1</sup> <sup>_†_</sup> _j_ <sup>(</sup> <sup>_τ ′_</sup> <sup>)</sup> <sup>_}_</sup> <sup>.</sup> (12) 3 The contribution of _cA_ to the expectation value reads _w_ ( _cA_ ) = Trloc - _e_ <sup>_−_</sup> <sup>(</sup> <sup>_β−τ_</sup> <sup>˜2</sup> <sup>_n_</sup> <sup>+2)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 2 _n_ +2 _· · ·_ _· · · e_ <sup>_−_</sup> <sup>(˜</sup> <sup>_τ_</sup> <sup>2</sup> <sup>_−τ_</sup> <sup>˜1)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 1 _e_ <sup>_−τ_</sup> <sup>˜1</sup> <sup>_H_</sup> <sup>loc</sup> �( _−_ 1) <sup>_P_</sup> <sup>trace</sup> det _M_ <sup>_−_</sup> <sup>1</sup> _,_ (17) the partition function _Z_ is real. The importance sampling works efficiently as long as _⟨_ sign _⟩Z_ is not too small (sign ≳ 0 _._ 1). In practice, instead of using the imaginary-time estimator, Eq. (20), we expand the Green’s function in the Legendre polynomials defined on the interval [0, _β_ ] [22] as up to a normalization factor. We sample in both configuration spaces according to weight _|w_ ( _c_ ) _|_ and _|w_ ( _cA_ ) _|_, respectively. In practice, we switch from _CZ_ to _CG_ (1) by inserting a “worm” _{ci_ ( _τ_ ), _c_ <sup>_†_</sup> _j_ <sup>(</sup> <sup>_τ ′_</sup> <sup>)</sup> <sup>_}_</sup> <sup>.</sup> _√_ <u>2</u> _<u>l</u>_ <u>+ 1</u> _Pl_ [ _x_ ( _τ_ )] _G_ <sup>_ab_</sup> _l_ <sup>_,_</sup> (21) _β_ _<u>√</u>_ _Nl_ _l≥_ 0 _CZ_ to _CG_ (1) by inserting a “worm” _{ci_ ( _τ_ ), _c_ <sup>_†_</sup> _j_ <sup>(</sup> <sup>_τ ′_</sup> <sup>)</sup> <sup>_}_</sup> <sup>.</sup> We return back to _CZ_ by removing a worm. _Gab_ ( _τ_ ) = _G_ <sup>_ab_</sup> _l_ = - _β_ 2 _l_ + 1 _dτPl_ [ _x_ ( _τ_ )]) _G_ ( _τ_ ) _,_ (22) 0 The total partition function _W_ <sup>¯</sup> is defined as _W_ ¯ = _Z_ ¯ + _η_ ¯ _ZG_ (1) (18) where _x_ ( _τ_ ) = 2 _τ/β_ _−_ 1 and _Pl_ ( _x_ ) is the _l_ -th Legendre polynomial defined on the interval [-1,1]. In the Legendre basis, the estimator reads with <u>2</u> _<u>l</u>_ <u>+ 1</u> _<u>⟨</u>_ <u>sign</u> _<u>P</u>_ <sup>˜</sup> _<u>l</u>_ <u>(</u> _<u>x</u>_ <u>(</u> _<u>τ</u>_ _<u>−</u>_ _<u>τ</u>_ <sup>_′_</sup> <u>)</u> _<u>⟩G</u>_ (1) _NZ ⟨_ sign _⟩Z_ (23) _,_ _Z_ ¯ _G_ (1) = - _β_ 0 ��Tr[ _Tτ_ _e−S_ imp _c_ ( _τ_ ) _c†_ ( _τ ′_ )]�� _._ (19) _G_ <sup>_ab_</sup> _l_ = <sup>_<u>β−</u>_</sup> <sup>1</sup> <sup>_<u>η−</u>_</sup> <sup>1</sup> <sup>_<u>NG</u>_</sup> <sup>(1)</sup> _<u>√</u>_ The overline means that we take the absolute values of the contributions of diagrams. The coefficient _η_ ( _>_ 0) was introduced so that the simulation spends almost the same number of Monte Carlo steps in both spaces. It appears as an additional factor in the weight _|w_ ( _cA_ ) _|_ . The parameter _η_ is adjusted during the thermalization process using the Wang-Landau algorithm [20, 21]. We refer the reader to Appendix A for more details. Considering the anti-periodicity of the Green’s function with respect to _β_, the estimator reads where _P_ ˜ _l_ [ _x_ ( _δτ_ )] = _Pl_ [ _x_ ( _δτ_ )] _,_ ( _δτ_ _>_ 0) _,_ _−Pl_ [ _x_ ( _δτ_ + _β_ )] _,_ ( _δτ_ _<_ 0) _._ (24) _G_ (∆ _τ_ ) = <sup>_<u>β−</u>_</sup> <sup>1</sup> <sup>_<u>η−</u>_</sup> <sup>1</sup> <sup>_<u>NG</u>_</sup> <sup>(1)</sup> <sup>_<u>⟨</u>_</sup> <sup><u>sign</u></sup> <sup>_<u>δ</u>_</sup> <sup>˜(∆</sup> <sup>_<u>τ</u>_</sup> <sup>_<u>−</u>_</sup> <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>τ ′</u>_</sup> <sup><u>))</u></sup> <sup>_<u>⟩G</u>_</sup> <sup>(1)</sup> The cutoff _Nl_ is a simulation parameter. Typical values are _Nl_ = 50 - 100. At this point, it is worth pointing out a practical limitation of this measurement. In the estimator (23), we measure the Green’s function only at one time difference and a pair of flavors at each measurement step. Thus, the sampling by this estimator is less efficient than the conventional measurement by removing hybridization lines from a configuration in _CZ_ as in the conventional CT-HYB [8]. To improve the statistics, we generate multi samples from a configuration in _CG_ (1) by reconnecting hybridization lines at each worm measurement step without reevaluating the trace. We refer the reader to Appendix C for more details. _3.3._ _Worm_ _measurement_ _of_ _other_ _quantities_ We also provide worm measurements of the following correlation functions, which play an important role in DMFT calculations: _NZ ⟨_ sign _⟩Z_ (20) _,_ for 0 _<_ ∆ _τ_ _<_ _β_ . To simplify the notation, we introduced _δ_ ˜( _τ_ ) = _δ_ ( _τ_ ) 0 _≤_ _τ_ _< β_ _−δ_ ( _τ_ + _β_ ) _−β_ _≤_ _τ_ _<_ 0 <sup>_._</sup> The symbols “sign” in the numerator and the denominator denote _w_ ( _cG_ (1)) _/|w_ ( _cG_ (1)) _|_ and _w_ ( _cZ_ ) _/|w_ ( _cZ_ ) _|_, respectively. _NZ_ and _NG_ (1) are the number of Monte Carlo steps spent in _CZ_ and _CG_ (1), respectively. The brackets _⟨· · ·⟩Z_ and _⟨· · ·⟩G_ (1) denote the Monte Carlo average in _CZ_ and _CG_ (1), respectively. The factor _β_ <sup>_−_</sup> <sup>1</sup> comes from the extra degree of freedom _τ_ <sup>_′_</sup> in the sampling in _CG_ (1). In general, _w_ ( _cZ_ ) _/|w_ ( _cZ_ ) _|_ is a complex number, but the expectation value _⟨_ sign _⟩Z_ is real, because 4 _•_ Two-particle Green’s function _G_ <sup>(2)</sup> _abcd_ <sup>(</sup> <sup>_τ_</sup> <sup>1</sup> <sup>_, τ_</sup> <sup>2</sup> <sup>_, τ_</sup> <sup>3</sup> <sup>_, τ_</sup> <sup>4) =</sup> After partitioning the Hilbert space into sectors, we construct an eigenbasis for each sector to rewrite the trace as <u>Tr[</u> _<u>Tτ</u>_ _<u>e</u>_ <sup>_−S_</sup> <sup>imp</sup> _<u>ca</u>_ <u>(</u> _<u>τ</u>_ <u>1)</u> _<u>c</u>_ <sup>_†_</sup> _<u>b</u>_ <sup>_†_</sup> _<u>b</u>_ <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>2)</u></sup> <sup>_<u>cc</u>_</sup> <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>3)</u></sup> <sup>_<u>c†</u>_</sup> _<u>d</u>_ Trloc <u>)</u> _<u>c</u>_ <sup>_†_</sup> _<u>b</u>_ <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>2)</u></sup> <sup>_<u>cc</u>_</sup> <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>3)</u></sup> <sup>_<u>c†</u>_</sup> _<u>d</u>_ <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>4)]</u></sup> _,_ _Z_ - _e_ <sup>_−_</sup> <sup>(</sup> <sup>_β−τ_</sup> <sup>2</sup> <sup>_n_</sup> <sup>)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 2 _n · · · e_ <sup>_−_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>2</sup> <sup>_−τ_</sup> <sup>1)</sup> <sup>_H_</sup> <sup>loc</sup> _O_ 1 _e_ <sup>_−τ_</sup> <sup>1</sup> <sup>_H_</sup> <sup>loc</sup> (25) _•_ Equal-time single-particle Green’s function [16] <u>Tr[</u> _<u>Tτ</u>_ _<u>e</u>_ <sup>_−S_</sup> <sup>imp</sup> _<u>c</u>_ <sup>_†_</sup> _<u>a</u>_ <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> <sup>_<u>cb</u>_</sup> <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>)]</u></sup> _,_ (26) _Z_ _•_ Two-time two-particle Green’s function 2 _n_ _E_ <sup>_s,s_</sup> <sup>2</sup> <sup>_n_</sup> ( _β −_ _τ_ 2 _n_ ) _O_ <sup>_s_</sup> <sup>2</sup> <sup>_n,s_</sup> <sup>2</sup> <sup>_n−_</sup> <sup>1</sup> = _s_ Tr 2 _n_ <sup>_s_</sup> <sup>2</sup> <sup>_n,s_</sup> <sup>2</sup> <sup>_n−_</sup> <sup>1</sup> _· · ·_ 1 _E_ <sup>_s_</sup> ( _τ_ 1) _,_ (29) _· · ·_ _E_ <sup>_s_</sup> <sup>1</sup> ( _τ_ 2 _−_ _τ_ 1) _O_ <sup>_s_</sup> <sup>1</sup> <sup>_,s_</sup> where _E_ <sup>_s_</sup> ( _τ_ ) is the diagonal matrix _{e_ <sup>_−ϵs_</sup> _n_ the _n_ -th eigenvalue of the sector _s_ ). _O_ _n_ <sup>_s_</sup> _n_ <sup>_τ_</sup> _}_ ( _ϵ_ <sup>_s_</sup> <sup>_s,s′_</sup> is <u>Tr[</u> _<u>Tτ</u>_ _<u>e</u>_ <sup>_−S_</sup> <sup>imp</sup> _<u>c</u>_ <sup>_†_</sup> _<u>a</u>_ <sup>_†_</sup> _<u>a</u>_ <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> <sup>_<u>cb</u>_</sup> <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> <sup>_<u>c†</u>_</sup> _<u>c</u>_ <sup><u>)</u></sup> <sup>_<u>cb</u>_</sup> <sup><u>(</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> <sup>_<u>c†</u>_</sup> _<u>c</u>_ <sup><u>(</u></sup> <sup>_<u>τ ′</u>_</sup> <sup><u>)</u></sup> <sup>_<u>cd</u>_</sup> <sup><u>(</u></sup> <sup>_<u>τ ′</u>_</sup> <sup><u>)]</u></sup> _._ (27) _Z_ _n_ <sup>is</sup> where _E_ <sup>_s_</sup> ( _τ_ ) is the diagonal matrix _{e_ <sup>_−ϵs_</sup> _n_ <sup>_τ_</sup> _}_ ( _ϵ_ <sup>_s_</sup> the _n_ -th eigenvalue of the sector _s_ ). _O_ <sup>_s,s′_</sup> is the matrix representation of an annihilation _d_ or a creation operator _d_ <sup>_†_</sup> . For a given sector _s_ <sup>_′_</sup>, there is only one non-zero block matrix _O_ <sup>_s,s′_</sup> ( _s_ is determined uniquely). The partitioning of the Hilbert space may be done by exploiting conserved quantum numbers that commute with _H_ loc. Examples include the total electron number as well as the special conserved quantities which commute with the SlaterKanamori Hamiltonian [24]. Recently, it was shown that it is possible to partition the local Hilbert space without prior knowledge of quantum numbers for CT-HYB [11, 25]. This is done by looking at nonzero elements of the matrix representations of _H_ loc and _c_ <sup>_†_</sup> _a_ <sup>in</sup> <sup>the</sup> <sup>occupation</sup> <sup>basis.</sup> <sup>Our</sup> <sup>code</sup> <sup>provides</sup> the same functionality based on an efficient cluster identification algorithm. We refer the readers to Appendix B for more technical details. The partitioning of the Hilbert space may be done by exploiting conserved quantum numbers that commute with _H_ loc. Examples include the total electron number as well as the special conserved quantities which commute with the SlaterKanamori Hamiltonian [24]. Recently, it was shown that it is possible to partition the local Hilbert space without prior knowledge of quantum numbers for CT-HYB [11, 25]. This is done by looking at nonzero elements of the matrix representations of _H_ loc and _c_ <sup>_†_</sup> _a_ <sup>in</sup> <sup>the</sup> <sup>occupation</sup> <sup>basis.</sup> <sup>Our</sup> <sup>code</sup> <sup>provides</sup> We measure the two-particle Green’s function and the two-time two-particle Green’s function in the Legendre basis. The extended configuration space for the measurement of multiple observable reads _W_ ¯ = _Z_ ¯ + _η_ ¯ _ZG_ (1) + _ηO_ 1 _Z_ ¯ _O_ 1 + _· · ·_ + _ηON_ _Z_ ¯ _ON,_ (28) where _O_ 1 _, · · ·_ _, ON_ are the observables measured by worm sampling. The coefficient _η, ηO_ 1 _, · · ·_ _, ηON_ are adjusted so that the simulation spends an equal amount of steps in each subspace. Worm insertion/removal steps result in transitions between _Z_ <sup>¯</sup> and the worm subspaces _Z_ <sup>¯</sup> _Oi_ . We also perform direct transitions between the worm spaces of different observables such as the equaltime single-particle Green’s function and the twotime two-particle Green’s function to reduce autocorrelation times. 4. Evaluation of the trace over the local Hilbert space _4.1._ _Construction_ _of_ _eigenbasis_ We briefly describe how we evaluate Eq. (12), which is the heart of the CT-HYB code. The size of the local Hilbert space grows exponentially with the number of orbitals or sites in the impurity. The computational cost is greatly reduced by partitioning the local Hilbert space into sectors such that _H_ loc is a block diagonal matrix and the block matrices of creation and annihilation operators have only a single nonzero block for each row [23]. 1 _E_ <sup>_s_</sup> ( _τ_ 1) _,_ (30) _· · ·_ _E_ <sup>_s_</sup> <sup>1</sup> ( _τ_ 2 _−_ _τ_ 1) _O_ <sup>_s_</sup> <sup>1</sup> <sup>_,s_</sup> _4.2._ _Sliding-window_ _update_ Monte Carlo updates consist of elementary updates such as the insertion/removal of a pair of _c_ and _c_ <sup>_†_</sup> . To compute the acceptance rate of a new configuration, we evaluate the trace using Eq. (29). This may cost _O_ ( _β_ ) operations because the number of matrices to be multiplied increases linearly with _β_ . We reduce the computational cost by using the sliding-window update proposed in Ref. [26]. As illustrated in Fig. 1(a), we define a narrow window in which the updates are performed on the imaginary time axis. The left and right end points are _τ_ L and _τ_ R ( _τ_ L _−_ _τ_ R = _τ_ win). The idea is that we precompute the products of all matrices for _τ_ _>_ _τ_ L and _τ_ _< τ_ R, respectively, and store them in memory. We define a _ket_ as _|τ_ R _, s⟩_ = _R_ ( _τ_ R _, s_ ) _sn_ R _,sn_ R _−_ 1 _n_ R _· · ·_ _≡_ _E_ <sup>_sn_</sup> <sup>R+1</sup> <sup>_,sn_</sup> <sup>R</sup> ( _τ_ R _−_ _τn_ R) _O_ 5 where _n_ R is the number of operators on the interval ( _τ_ R,0]. We define a _bra_ in a similar way as _⟨τ_ L _, s|_ = _L_ ( _τ_ L _, s_ ) 2 _n_ <sup>_s_</sup> <sup>2</sup> <sup>_n,s_</sup> <sup>2</sup> <sup>_n−_</sup> <sup>1</sup> _· · ·_ 2 _n_ _≡_ _E_ <sup>_s,s_</sup> <sup>2</sup> <sup>_n_</sup> ( _β −_ _τ_ 2 _n_ ) _O_ <sup>_s_</sup> <sup>2</sup> <sup>_n,s_</sup> <sup>2</sup> <sup>_n−_</sup> <sup>1</sup> _sn_ L _,sn_ L _−_ 1 _n_ L _· · ·_ _O_ _E_ <sup>_sn_</sup> <sup>L</sup> <sup>_−_</sup> <sup>1</sup> ( _τn_ L _−_ _τ_ L) _,_ (31) (a) (b) (c) (d) <u>bra</u> <u>ket</u> insertion removal shift where _n_ L is the index of the operator with the smallest imaginary time on the interval ( _β_, _τ_ L]. Then, the trace is rewritten as _s_ _⟨τ_ L _, s|_ _Q_ ( _τ_ L _, τ_ R) _|τ_ R _, s⟩_ _,_ (32) Figure 1: (Color online) (a) Elementary updates in the sliding window. (b) Sequential sweep of the window on the imaginary time axis. (c) Insertion of creation and annihilation operators crossing the boundary at _β_ = 0. (d) Global update in which all operators are shifted on the imaginary time axis. where _Q_ ( _τ_ L _, τ_ R) is the product of matrices on the interval ( _τ_ L, _τ_ R]. We do not have to recompute the bra and ket as long as updates are performed within the window. We propose a few elementary updates, whose number is proportional to that of flavors, at each position of the window. After that, we move the window to the next position with a finite overlap with the previous position as illustrated in Fig. 1 (b). We updates the bra and ket by applying creation, annihilation operators and time-evolution operators, or by loading cached data from memory. Noted that we do not have to calculate the bra and ket from scratch thanks to the sequential move of the window on the imaginary-time axis. The procedure is repeated by moving the window sequentially back and forth on the whole interval [0, _β_ ]. A reasonable value of the window width _τ_ win is automatically estimated during the thermalization process. We choose _τ_ win = _β/ ⟨n⟩_ MC, where _⟨n⟩_ MC is the Monte Carlo average of the perturbation order. In the sliding-window update, we never insert/remove a pair of creation and annihilation operators which cross the boundary at _β_ _≡_ 0 as illustrated in Fig. 1 (c). To avoid this problem, we also perform a global update in which all the operators are shifted on the imaginary-time axis by a fixed random time ∆ _τ_ _∈_ [0 _, β_ ] [see Fig. 1 (d)]. This update is proposed each time the window has completed a back-and-forth run on the whole interval. If this update is accepted, the bra and the ket are recomputed from scratch, which costs _O_ ( _β_ ). However, its computational cost is typically smaller than that of the sliding-window update because it is performed less frequently. _4.3._ _Restricting_ _the_ _trace_ _to_ _the_ _active_ _space_ To further reduce the computational cost, we offer several options of eliminating high-energy 6 states which do not contribute to low-temperature physics. The first one, called “inner-outer-state cutoff”, was originally introduced in Ref. [23]. Here, we simplify do not include the eigenstates of _H_ loc whose energies are higher than a certain cutoff in the construction of the block matrices. As a consequence, the matrices appearing in Eq. (29) are reduced in size. The second option is called “outer-state cutoff”, and was originally introduced in the Krylov algorithm [27]. In Eq. (30), the right most matrix is modified as _E_ <sup>_s_</sup> ( _τ_ 1) _→_ _E_ <sup>_s_</sup> ( _τ_ 1) _P_ <sup>_s_</sup> _,_ (33) where _P_ <sup>_s_</sup> is a projector to the active eigenstates in the sector _s_, e.g., eigenstates whose energies are lower than a certain value. We replace the left most matrix in the bra Eq. (31) in a similar way as well. If we keep only a few eigenstates in the projector, the cost will be reduced from _O_ ( _N_ H <sup>3</sup> <sup>)</sup> <sup>to</sup> _O_ ( _N_ H <sup>2</sup> <sup>).</sup> <sup>This</sup> <sup>may</sup> <sup>lead</sup> <sup>to</sup> <sup>a</sup> <sup>substantial</sup> <sup>speed-up</sup> when the linear dimensions of the block matrices is larger than _≈_ 20. In Ref. [27], it was demonstrated that at low temperatures, the approximate result converges to the exact result even when only the ground states of _H_ loc are kept in the projector. This approximation is safer than the “inner-outer-state cutoff” because all eigenstates remain accessible during the imaginary-time evolution. To further reduce computational costs, we adopt the lazy-trace evaluation method [28]. 5. Single-particle basis transformation In general, the average sign _⟨_ sign _⟩Z_ depends on your choice of a single-particle basis used for expanding the partition function with respect to the hybridization function in Eq. (11). It is practically useful to use a single-particle basis which gives a larger average sign to improve the statistics. To this end, our CT-HYB solver provides a functionality which allows the user to perform the expansion using an arbitrary single-particle local basis. A transformed single-particle basis is defined as with _Uab_ being a unitary matrix, which is an input parameter. The local Hamiltonian and the hybridization function are transformed to the new single-particle basis as described in Ref. [29, 30] before a Monte Carlo simulation. The user inputs _tab_, _Vabcd_ and ∆ _ab_ in the original basis to the impurity solver: The solver takes care of their transformation. During the Monte Carlo simulation, we measure all the observables such as the single-particle Green’s function in the transformed basis. Then, the measured results are transformed back to the original basis after the Monte Carlo simulation except for the density-density correlations. For instance, we collect the single-particle Green’s function _G_ ˜ _ij_ ( _τ_ _−_ _τ_ <sup>_′_</sup> ) = _−_ Tr[ _Tτ_ _e_ <sup>_−S_</sup> <sup>imp</sup> _c_ ˜ _i_ ( _τ_ )˜ _c_ <sup>_†_</sup> _<u>j</u>_ <sup>(</sup> <sup>_τ ′_</sup> <sup>)]</sup> _,_ (36) _Z_ during the Monte Carlo simulation. Once the simulation is done, the data are transformed back to the original basis as _Gij_ ( _τ_ _−_ _τ_ <sup>_′_</sup> ) = ˜ _i_ ˜ _j_ _Ui_ ˜ _iG_ <sup>˜</sup> ˜ _i_ ˜ _j_ ( _τ_ _−_ _τ_ <sup>_′_</sup> )( _U_ <sup>_†_</sup> )˜ _jj._ (37) _c_ ˜ _a_ = _c_ ˜ <sup>_†_</sup> _a_ = _b_ _b_ _Uba_ <sup>_∗_</sup> <sup>_cb,_</sup> (34) _Ubac_ <sup>_†_</sup> _b_ <sup>_,_</sup> (35) This functionality allows the user to choose any arbitrary basis transformation to improve the statistics. 6. Usage The CT-HYB code is built on an updated version of the core libraries of ALPS (Applications and Libraries for Physics Simulations libraries) [ALPSCore libraries] [31], the Boost libraries, and Eigen. Eigen is a C++ template header-file-only library for linear algebra. They must be pre-installed. One needs a MPI C++ compiler which supports C++03 to build the solver. At runtime, one can choose either a complex-number solver or a real-number solver. The two solvers have exactly the same interface. The CT-HYB solver reads parameters from a text file. In the next section, we discuss several examples. The latest version of the code is available from a public Git repository at `[https://github.com/](https://github.com/ALPSCore/CT-HYB)` `[ALPSCore/CT-HYB](https://github.com/ALPSCore/CT-HYB)` . One can also find a more detailed description of usage in Wiki documentation pages at `[https://github.com/ALPSCore/CT-HYB/](https://github.com/ALPSCore/CT-HYB/wiki)` `[wiki](https://github.com/ALPSCore/CT-HYB/wiki)` . 7 7. Example: Three-orbital _t_ 2g model with Slater-Kanamori interaction _7.1._ _Model_ We consider a three-orbital model for the _t_ 2g shell of _d_ orbitals with a Slater-Kanamori interaction and spin-orbit coupling. Its Hamiltonian is given by _σσ_ <sup>_′_</sup> <sup>LS</sup> _iσ,jσ_ <sup>_′c†_</sup> _iσ_ <sup>_†_</sup> _iσ_ <sup>_cjσ′_</sup> _H_ = 3 _ij_ _h_ <sup>LS</sup> + <sup><u>1</u></sup> 2 - _ijkl_ _σσ_ <sup>_′_</sup> <sup>_†_</sup> _jσ_ <sup>_′ckσ′clσ,_</sup> (38) _Vijklc_ <sup>_†_</sup> <sup>_†_</sup> _iσ_ <sup>_c†_</sup> where _c_ <sup>_†_</sup> _iσ_ <sup>and</sup> <sup>_ciσ_</sup> <sup>are</sup> <sup>creation/annihilation</sup> <sup>oper-</sup> ators of an electron at orbital _i_ with spin _σ_ . The first term denotes the spin-orbit coupling for the _t_ 2 _g_ basis. If the states are ordered as _dxy↑_, _dxy↓_, _dyz↑_, _dyz↓_, _dzx↑_, _dzx↓_, its matrix elements are 0 0 0 1 0 _−i_ 0 0 _−_ 1 0 _−i_ 0 0 _−_ 1 0 0 _i_ 0 1 0 0 0 0 _−i_ 0 _i_ _−i_ 0 0 0 _i_ 0 0 _i_ 0 0     _,_    _hiσ,jσ′_ = <sup>_<u>ζ</u>_</sup> 2         (39) where _ζ_ ( _>_ 0) is the amplitude of the spin-orbit coupling. The none-zero elements of the Coulomb tensor are given by _Viiii_ = _U_, _Vijji_ = _U −_ 2 _J_, _Vijij_ = _J_, _Viijj_ = _J_ . The chemical potential is chosen such that the system is close to half filling: _µ_ = <sup><u>5</u></sup> 2 <sup>_U −_</sup> <sup>5</sup> <sup>_J_</sup> <sup>.</sup> The bath consists of three non-interacting orbitals. The intra-bath Hamiltonian reads 3 _ij_ <sup>bath</sup> _ij_ _d_ <sup>_†_</sup> <sup>_†_</sup> _iσ_ <sup>_djσ,_</sup> (40) _H_ bath = 3 _i̸_ = _j_ _t_ <sup>_′_</sup> _d_ <sup>_†_</sup> _iσ_ <sup>_djσ_</sup> <sup>=</sup> _h_ <sup>bath</sup> _ij_ where _t_ <sup>_′̸_</sup> = 0 gives rise to off-diagonal elements of the hybridization function. The hybridization term reads <sup>_†_</sup> _iσ_ <sup>_diσ_</sup> <sup>+</sup> <sup>_d†_</sup> _iσ_ <sup>_†_</sup> _iσ_ <sup>_ciσ_</sup> <sup>)</sup> <sup>_,_</sup> (41) _H_ hyb = _λ_ 3 _i_ ( _c_ <sup>_†_</sup> where we take the coupling _λ_ = 1. From Eqs. (40) and (41), we obtain the hybridization function _<u>e</u>_ <sup>_−_</sup> <sup>i</sup> <sup>_ωnτ_</sup> _iωnI_ _−_ _h_ <sup>bath</sup> <sup>_,_</sup> (42) ∆ _iσjσ′_ ( _τ_ ) = _−_ <sup>_<u>λ</u>_</sup> <sup>2</sup> <sup>_<u>δ</u>_</sup> _β_ <sup>_<u>σσ′</u>_</sup> _∞_ _n_ = _−∞_ _7.2._ _Diagonal_ _hybridization_ _function_ We first solve the model with a diagonal hybridization function, i.e., for _t_ <sup>_′_</sup> = 0. We take _ζ_ = 1, _U_ = 10, _J/U_ = 1 _/_ 4, _β_ = 40. In Fig. 2, we compare the single-particle Green’s function _G_ ( _τ_ ) measured by the worm sampling with numerically exact results computed by pomerol [32]. The average sign is about 0.95. The number of Legendre polynomials is _Nl_ = 50. The perturbation expansion was performed in the original _t_ 2g basis. One can see that our code can measure both the diagonal ( _G_ 00) and off-diagonal elements ( _G_ 02, _G_ 05). Using the conventional sampling method, it would not be possible to measure the off-diagonal elements of _G_ ( _τ_ ) in the case of a diagonal hybridization function. _7.3._ _Off-diagonal_ _hybridization_ _function_ Next, we solve the model for _t_ <sup>_′_</sup> = 0 _._ 2, _ζ_ = 1, _U_ = 10, _J/U_ = 1 _/_ 4, _β_ = 10. In Fig. 3, we compare the computed results with exact results. The number of Legendre polynomials is _Nl_ = 30. The perturbation expansion was performed in the original _t_ 2g basis. The average sign is about 0.48. 8. Summary We have presented an open-source C++ implementation of the continuous-time hybridization expansion Monte Carlo method for multi-orbital impurity models with general instantaneous two-body interactions and complex hybridization functions. We have discussed the technical details of the implementation, and presented some examples of Monte Carlo simulation results for a three-orbital model, which can serve as a benchmark or reference. Acknowledgments We gratefully acknowledge support by the wider ALPS community [33, 34]. HS and PW acknowledge support from the Deutsche Forschungsgemeinschaft via FOR 1346, the SNSF (Swiss National Science Foundation) Grant No. 200021E-149122, ERC Advanced Grant SIMCOFE and NCCR MARVEL. We thank Markus Wallerberger and Florian Sohn for useful comments on the manuscript and the code. This work was supported by JSPS KAKENHI Grant Number 15H05885 (J-Physics), 16K17735. EG was supported by DOE ER 46932. Part of the calculations were performed on the ISSP supercomputing system. where _I_ is an identity matrix. 8 ### 10 0 10 − 1 10 − 2 10 − 3 10 − 4 0 . 00 0 . 05 0 . 10 0 . 15 0 . 20 0 . 04 0 . 03 0 . 02 0 . 01 0 . 00 − 0 . 01 − 0 . 02 − 0 . 03 − 0 . 040 . 00 0 . 05 0 . 10 0 . 15 0 . 20 ### 10 0 10 − 1 10 − 2 0 . 00 0 . 05 0 . 10 0 . 15 0 . 20 0 . 02 0 . 01 0 . 00 − 0 . 01 − 0 . 02 − 0 . 03 − 0 . 040 . 00 0 . 05 0 . 10 0 . 15 0 . 20 0 . 002 0 . 001 0 . 000 − 0 . 001 − 0 . 002 − 0 . 003 − 0 . 0040 . 00 0 . 05 0 . 10 0 . 15 0 . 20 ### 0 . 006 0 . 004 0 . 002 0 . 000 − 0 . 002 − 0 . 004 − 0 . 0060 . 00 0 . 05 0 . 10 0 . 15 0 . 20 ### 0 . 04 0 . 03 0 . 02 0 . 01 0 . 00 ### − 0 . 01 − 0 . 02 − 0 . 03 − 0 . 040 . ### 0 . 00 0 . 05 0 . 10 0 . 15 0 . 20 _τ/β_ ### 0 . 040 0 . 035 0 . 030 0 . 025 0 . 020 0 . 015 0 . 010 0 . 005 0 . 000 0 . 00 0 . 05 0 . 10 0 . 15 0 . 20 _τ/β_ Figure 2: (Color online) The single-particle Green’s function _G_ ( _τ_ ) computed for _ζ_ = 1, _U_ = 10, _J/U_ = 1 _/_ 4, _β_ = 40, and _t_ <sup>_′_</sup> = 0. The crosses show the results of the CT-HYB code, while the solid lines correspond to the exact results. Figure 3: (Color online) The single-particle Green’s function _G_ ( _τ_ ) computed for _ζ_ = 1, _U_ = 10, _J/U_ = 1 _/_ 4, _β_ = 10, and _t_ <sup>_′_</sup> = 0 _._ 2. The crosses show the results of the CT-HYB code, while the solid lines correspond to the exact results. 9 References [1] A. Georges, G. Kotliar, W. Krauth, M. J. Rozen berg, Dynamical mean-field theory of strongly correlated fermion systems and the limit of infinite dimensions, Reviews of Modern Physics 68 (1) (1996) 13–125. [2] T. Maier, M. Jarrell, T. Pruschke, M. H. Hettler, Quan tum cluster theories, Reviews of Modern Physics 77 (3) (2005) 1027–1080. [3] G. Kotliar, S. Savrasov, K. Haule, V. Oudovenko, O. Parcollet, C. Marianetti, Electronic structure calculations with dynamical mean-field theory, Reviews of Modern Physics 78 (3) (2006) 865–951. [4] H. Shinaoka, S. Hoshino, M. Troyer, P. Werner, Phase Diagram of Pyrochlore Iridates: All-in–All-out Magnetic Ordering and Non-Fermi-Liquid Properties, Physical Review Letters 115 (15) (2015) 156401–5. [5] A. Toschi, A. Katanin, K. Held, Dynamical vertex ap proximation: A step beyond dynamical mean-field theory, Physical Review B 75 (4) (2007) 045118–8. [6] A. N. Rubtsov, M. I. Katsnelson, A. I. Lichtenstein, Dual fermion approach to nonlocal correlations in the Hubbard model, Physical Review B 77 (3) (2008) 033101–4. [7] A. Rubtsov, V. Savkin, A. Lichtenstein, Continuous time quantum Monte Carlo method for fermions, Physical Review B 72 (3) (2005) 035122. [8] P. Werner, A. Comanac, L. de’ Medici, M. Troyer, A. Millis, Continuous-Time Solver for Quantum Impurity Models, Physical Review Letters 97 (7) (2006) 076405. [9] E. Gull, P. Werner, A. Millis, M. Troyer, Performance analysis of continuous-time solvers for quantum impurity models, Physical Review B 76 (23) (2007) 235123. [10] H. Hafermann, P. Werner, E. Gull, Efficient imple mentation of the continuous-time hybridization expansion quantum impurity solver, to appear in Computer Physics Communications 184 (4) (2013) 1280–1286. [11] P. Seth, I. Krivenko, M. Ferrero, O. Parcollet, TRIQS/CTHYB: A continuous-time quantum Monte Carlo hybridisation expansion solver for quantum impurity problems, to appear in Computer Physics Communications 200 (2016) 274–284. [12] L. Huang, Y. Wang, Z. Y. Meng, L. Du, P. Werner, X. Dai, iQIST: An open source continuous-time quantum Monte Carlo impurity solver toolkit, to appear in Computer Physics Communications 195 (2015) 140– 160. [13] N. V. Prokof’Ev, B. V. Svistunov, I. S. Tupitsyn, “Worm” algorithm in quantum Monte Carlo simulations, Physics Letters A 238 (4-5) (1998) 253–257. [14] E. Gull, A. J. Millis, A. I. Lichtenstein, A. N. Rubtsov, M. Troyer, P. Werner, Continuous-time Monte Carlo methods for quantum impurity models, Reviews of Modern Physics 83 (2) (2011) 349–404. [15] P. Gunacker, M. Wallerberger, E. Gull, A. Hausoel, G. Sangiovanni, K. Held, Continuous-time quantum Monte Carlo using worm sampling, Physical Review B 92 (15) (2015) 155102–10. [16] P. Gunacker, M. Wallerberger, T. Ribic, A. Hausoel, G. Sangiovanni, K. Held, Worm-improved estimators in continuous-time quantum Monte Carlo, Physical Review B 94 (12) (2016) 125153. [17] P. Werner, A. Millis, Hybridization expansion impu rity solver: General formulation and application to Kondo lattice and two-orbital models, Physical Review B 74 (15) (2006) 155107. [18] L. Wang, Y.-H. Liu, J. Imriska, P. N. Ma, M. Troyer, Fidelity Susceptibility Made Simple: A Unified Quantum Monte Carlo Approach, Physical Review X 5 (3). [19] L. Wang, H. Shinaoka, M. Troyer, Fidelity Suscepti bility Perspective on the Kondo Effect and Impurity Quantum Phase Transitions, Physical Review Letters 115 (23) (2015) 236601–6. [20] F. Wang, D. P. LANDAU, Efficient, Multiple-Range Random Walk Algorithm to Calculate the Density of States, Physical Review Letters 86 (10) (2001) 2050– 2053. [21] F. Wang, D. P. LANDAU, Determining the density of states for classical statistical models: A random walk algorithm to produce a flat histogram, Physical Review E 64 (2001) 056101. [22] L. Boehnke, H. Hafermann, M. Ferrero, F. Lechermann, O. Parcollet, Orthogonal polynomial representation of imaginary-time Green’s functions, Physical Review B 84 (7) (2011) 075145. [23] K. Haule, Quantum Monte Carlo impurity solver for cluster dynamical mean-field theory and electronic structure calculations with adjustable cluster base, Physical Review B 75 (15) (2007) 155113. [24] N. Parragh, A. Toschi, K. Held, G. Sangiovanni, Con served quantities of SU(2)-invariant interactions for correlated fermions and the advantages for quantum Monte Carlo simulations, Physical Review B (15) (2012) 155158. `[arXiv:1209.0915v1](http://arxiv.org/abs/1209.0915v1)` . [25] N. Parragh, Strongly Correlated Multi Orbital Systems - A Continuous-Time Quantum Monte Carlo Analysis, Ph.D. thesis, University of W¨urzburg (Dec. 2013). [26] H. Shinaoka, M. Dolfi, M. Troyer, P. Werner, Hybridiza tion expansion Monte Carlo simulation of multi-orbital quantum impurity problems: matrix product formalism and improved sampling, Journal of Statistical Mechanics: Theory and Experiment 2014 (6) (2014) P06012. [27] A. M. L¨auchli, P. Werner, Krylov implementation of the hybridization expansion impurity solver and application to 5-orbital models, Physical Review B 80 (23) (2009) 235117. [28] P. S´emon, C.-H. Yee, K. Haule, A. M. S. Tremblay, Lazy skip-lists: An algorithm for fast hybridizationexpansion quantum Monte Carlo, Physical Review B 90 (7) (2014) 075149. [29] P. S´emon, A. M. S. Tremblay, Importance of subleading corrections for the Mott critical point, Physical Review B 85 (20) (2012) 201101–5. [30] H. Shinaoka, Y. Nomura, S. Biermann, M. Troyer, P. Werner, Negative sign problem in continuous-time quantum Monte Carlo: Optimal choice of single-particle basis for impurity problems, Physical Review B 92 (19) (2015) 195126–14. [31] A. Gaenko, A. E. Antipov, G. Carcassi, T. Chen, Up dated core libraries of the ALPS project, to appear in Computer Physics Communications 213 (2016) 235– 251. [32] A. E. Antipov, I. Krivenko. pomerol 1.1 [online] (May 2015). [33] B. Bauer, L. D. Carr, H. G. Evertz, A. Feiguin, J. Freire, S. Fuchs, L. Gamper, J. Gukelberger, E. Gull, S. Guertler, The ALPS project release 2.0: open source software for strongly correlated systems, Journal of Statistical Mechanics: Theory and Experiment 2011 (05) 10 (2011) P05001. [34] A. F. Albuquerque, F. Alet, P. Corboz, P. Dayal, A. Feiguin, S. Fuchs, L. Gamper, E. Gull, S. G¨urtler, A. Honecker, R. Igarashi, M. K¨orner, A. Kozhevnikov, A. L¨auchli, S. R. Manmana, M. Matsumoto, I. P. McCulloch, F. Michel, R. M. Noack, G. Paw�lowski, L. Pollet, T. Pruschke, U. Schollwock, S. Todo, S. Trebst, M. Troyer, P. Werner, S. Wessel, The ALPS project release 1.3: Open-source software for strongly correlated systems, Journal of Magnetism and Magnetic Materials 310 (2) (2007) 1187–1193. [35] J. Hoshen, R. Kopelman, Percolation and cluster dis tribution. I. Cluster multiple labeling technique and critical concentration algorithm, Physical Review B 14 (1976) 3438. Appendix A. Estimation of volumes of con- figuration spaces We give a brief description on how to estimate the volumes of configuration spaces in the worm sampling using the Wang-Landau algorithm [20, 21]. Let us consider the case of measuring _N_ observables _O_ 1 _, · · ·_ _, ON_ by the worm sampling. The corresponding configuration spaces are _CO_ 1 _, · · ·_ _, CON_, while that of the partition function is _CZ_ . We design our Monte Carlo dynamics so that we spend a roughly equal number of steps in each of the _N_ +1 subspaces. This is done by choosing _ηi_ = _VZ/Vi_ in the measurement process, where _Vi_ is the volume of subspace _i_ ( _i_ = _O_ 1 _, · · ·_ _, ON_ ). During the thermalization processes, we estimate the subspace volumes following the standard procedure of the Wang-Landau algorithm. In practice, we start a Monte Carlo simulation with an initial guess _Vj_ = 1 ( _j_ = _Z, · · ·_ _, ON_ ). The acceptance rate of a worm insertion/removal is computed using the current values of the weights as _ηi_ = _VZ/Vi_ ( _i_ = _O_ 1 _, · · ·_ _, ON_ ). After each attempt of a worm insertion or removal, we update _Vj_ as _V_ ( _>j_ 1) _→_ is _λV_ a _j_,modificationwhere _j_ is thefactor.currentThissubspaceforces theandcon- _λ_ figuration to visit all the subspaces. During this random walk between the subspaces, we count the number of Monte Carlo steps _Nj_ spent in each subspace ( _j_ = _Z, O_ 1 _, · · ·_ _, ON_ ). This random walk is performed until the histogram _{Nj}_ becomes reasonably _flat_ . We found that a maximum deviation of 20% from the mean value is a reasonable criterion. Once this criterion is met, we reset the histogramtor as _λ_ to _←_ ze _√_ <u>ro</u> _λ_ ., andA newupdaterandomthewalkmodificationis performedfac (a) 1 2 3 4 5 1 1 3 1 3 2 3 4 5 (b) 1 3 <mark>2</mark> 1 2 3 4 5 1 2 3 4 5 <mark>1</mark> 1 2 1 4 5 <mark>2</mark> 1 2 1 4 4 <mark>3</mark> 1 2 1 1 1 Unify two sectors <mark>2</mark> _√_ tor as _λ_ _←_ _λ_ . A new random walk is performed until a flat histogram _{Nj}_ is again obtained with the new (smaller) modification factor. We repeat Figure B.4: (Color online) (a) Partitioning of a 5 _×_ 5 Hamiltonian. The _i_ -th element in the occupation basis belongs to the sector _si_ . Sectors are merged by adding off-diagonal elements to _H_ loc, one by one (squares with numbers). (b) Partitioning of the creation operator. this procedure until _{Vj}_ ( _j_ = _Z, O_ 1 _, · · ·_ _, ON_ ) converges within a reasonable accuracy as _λ_ converges to 1. Appendix B. Auto partitioning of the local Hilbert space We illustrate our procedure for the auto partitioning of the Hilbert space in Fig. B.4. First, we compute the matrix elements of _H_ loc in the occupation basis for a given single-particle basis. In the first step [Fig. B.4(a)], we partition the Hilbert space into subspaces so that _H_ loc becomes a block diagonal matrix. In the second step [Fig. B.4(b)], we unify some of the sectors so that the block matrices of creation and annihilation operators have only a single nonzero block for each row. If there is no non-zero element, i.e., _H_ loc = 0, each vector in the occupation basis forms its own subspace (sector). Hereafter, we denote the sector to which the _i_ -th element of the occupation basis belongs by _si_ . We add non-zero elements into the matrix of _H_ loc one by one. Each time we add a new nonzero element _Hij̸_ = 0, we unify the two sectors _si_ and _sj_, if those two vectors belong to different sectors ( _si̸_ = _sj_ ). The produce is illustrated in Fig. B.4(a) for a 5 _×_ 5 matrix. After go 11 ing through all the nonzero elements and reordering rows and columns appropriately, the matrix _H_ loc becomes block-diagonal. In the second step [Fig. B.4(b)], we compute the elements of the block matrices of creation operators. If more than two blocks are nonzero in a given row, we unify the corresponding two sectors. This procedure is repeated for each column as well. The elementary operation of this procedure is unifying two sectors _s_ and _s_ <sup>_′_</sup> for given _s_ and _s_ <sup>_′_</sup> ( _s_ _<_ _s_ <sup>_′_</sup> ). A naive procedure would be to scan through all vectors having _s_ <sup>_′_</sup> and assign _s_ to them inefficient for a large number of orbitals because we( _si_ _←_ _p_ if _si_ = _s_ <sup>_′_</sup> ). But, this is computationally have to scan the whole Hilbert space many times during the partitioning of the matrices. Instead, we adopt the Hoshen-Kopelman single-pass cluster identification algorithm [35]. Appendix C. Measurement of singleparticle Green’s function by reconnecting hybridization lines Here we describe how to generate multiple configurations for the measurement of the single-particle Green’s function. First, we present a general procedure for measuring multiple samples from a single configuration _c_ 0 in the worm space _CA_ for an observable _A_ . We assume that the thermodynamic average of _A_ is given by _⟨A⟩_ = _⟨f_ ( _cA_ ) _⟩_ MC _,_ (C.1) where _⟨· · ·⟩_ MC is the Monte Carlo average, and _f_ is some function of a configuration in _CA_ . At the measurement step, we randomly generate a set of _N_ configurations, _S_ = _{c_ 0 _, c_ 1 _, c_ 2 _, · · ·_ _, cN_ _−_ 1 _}_, including the current one _c_ 0 ( _N_ _>_ 1). _Pc→S_ denotes the probability that the set _S_ is generated when the current configuration is _c_ . Here, we require _Pci→S_ = _Pcj_ _→S_ for 0 _≤_ _i̸_ = _j_ _≤_ _N_ _−_ 1. Then, it is easy to prove that (a) (b) Figure C.5: (a) Illustration of a configuration with a worm for the single-particle Green’s function. Up and down arrows with solid lines represent annihilation and creation operators coupled with the bath, respectively. Annihilation and creation operators of the worm are denoted by dashed arrows. (b) Three configurations can be generated by reconnecting hybridization lines from the configuration in (a). We compute the relative Monte Carlo weights of these configurations as follows. (i) First, we attach hybridization lines to the creation and annihilation operators of the worm. (ii) Then, we detach a creation operator and an annihilation operator from the bath. It should be noted that, to avoid a singular matrix, we need to introduce auxiliary fields, which will be removed again in step (ii). For step (i), we define the following matrix of hybridization functions, <u>∆</u> _<u>a</u>_ <sup>_′_</sup> _<u>N</u>_ <sup>_<u>,b</u>_</sup> <u>0</u> ∆ _a,a_ 1 _· · ·_ ∆ _a,aN_ ∆ _a,b_ _s_ 1 0 _· · ·_ 0 _s_ 2 _s_ 3 ∆ _a_ <sup>_′_</sup> <sup>_′_</sup> 1 <sup>_,b_</sup> 0   ... ... <u>∆</u> _<u>a</u>_ <sup>_′_</sup> _<u>N</u>_ <sup>_<u>,b</u>_</sup> <u>0</u> _M_ <sup>_′_</sup> =   _M_ 0 _,_ (C.3) - <u>�</u> _⟨A⟩_ = _<u>i</u>_ <sup>_<u>wif</u>_</sup> <sup><u>(</u></sup> <sup>_<u>ci</u>_</sup> <sup><u>)</u></sup> <u>�</u> _i_ <sup>_wi_</sup> MC where _M_ 0 is the matrix defined in Eq. (10) for the current configuration, e.g., the one shown in Fig. C.5(a). The auxiliary fields _s_ 1, _s_ 2, and _s_ 3 in the last column and row were introduced to avoid a singular matrix, i.e, det _M_ <sup>_′_</sup> = 0 for ∆ _a,b_ = 0. We compute the inverse matrix ( _M_ <sup>_′_</sup> ) <sup>_−_</sup> <sup>1</sup> and the ratio det _M_ <sup>_′_</sup> _/_ det _M_ 0 from _M_ 0 <sup>_−_</sup> <sup>1,</sup> <sup>∆</sup> <sup>_a′_</sup> _i_ <sup>_,b_</sup> <sup>,</sup> <sup>and</sup> <sup>∆</sup> <sup>_a,aj_</sup> using the fast update formula [14]. The choice of the auxiliary fields may be arbitrary a long as a singular matrix is avoided, because the last column and row will be removed. In practice, we adopt _si_ = _±δ_, with _δ_ being a small number (typically around 10 <sup>_−_</sup> <sup>5</sup> ). Once ( _M_ <sup>_′_</sup> ) <sup>_−_</sup> <sup>1</sup> is computed, we are ready to compute the relative weight _wij_ of all the configurations generated by reconnecting hybridization lines, _._ (C.2) Let us consider a configuration in the _G_ <sup>(1)</sup> space illustrated in Fig. C.5(a). In this case, we can generate three additional configurations shown in Fig. C.5(b) by reconnecting hybridization lines, which does not require the reevaluation of the trace. 12 where _i_ and _j_ represent creation and annihilation operators detached from the bath. Counting sign changes from permutations of columns and rows, the relative weight is obtained as ∆ _wij_ _≡_ _wij/wnn_ = (det _M_ <sup>_′_</sup> _/_ det _M_ 0) _,_ where _NG_ (2) and _NZ_ represent the numbers of Monte Carlo steps in the worm space and the partition function space, respectively. As for the single-particle Green’s function, we generate multiple samples following the procedure described below. First, we attach hybridization lines to the creation and annihilation operators of the worm by adding three columns and rows one of each made up of auxiliary fields - to the hybridization-function matrix. Then, we remove three columns and rows. We define the matrix of the intermediate state by _×_ det - ( _M_ <sup>_′−_</sup> <sup>1</sup> ) _i,j_ ( _M_ <sup>_′−_</sup> <sup>1</sup> ) _i,n_ +1 ( _M_ <sup>_′−_</sup> <sup>1</sup> ) _n_ +1 _,j_ ( _M_ <sup>_′−_</sup> <sup>1</sup> ) _n_ +1 _,n_ +1 (C.4) where _n_ is the perturbation order. Here, we removed the last column and row as well to avoid systematic errors from the auxiliary fields. In practice, the Monte Carlo average in Eq. (23) is replaced by the weighted averaged over the configurations _M_ 0 _c,a_ <sup>_′_</sup> 1 ∆ _c,a_ <sup>_′_</sup> _N_ ∆ _c,b_ ∆ _c,d_ _s_ 2 _· · ·_ 0 _· · ·_ 0 _s_ 3 _s_ 4 _s_ 5 <sup>_′_</sup> 1 ∆ _a,a_ <sup>_′_</sup> _· · ·_ <sup>_′_</sup> 1 ∆ _c,a_ <sup>_′_</sup> _· · ·_ ∆ _a_ 1 _,b_ ∆ _a_ 1 _,d_ 0   �� _nij_ <sup>∆</sup> <sup>_wij_</sup> <sup>sign(</sup> <u>�</u> <sup>_wnn_</sup> _<u>n</u>_ <sup>)sign(∆</sup> <sup>_wij_</sup> <sup>) ˜</sup> <sup>_Pl_</sup> <sup>(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_τj_</sup> <sup>_<u>−</u>_</sup> <sup>_τ ′_</sup> _i_   ~~~~ <u></u> _M_ 0 ... ... ... <u>∆</u> _<u>aN</u>_ _<u>,b</u>_ <u>∆</u> _<u>a</u>_ <u>1</u> _<u>,d</u>_ <u>0</u> ∆ _a,a_ <sup>_′_</sup> 1 ∆ _a,a_ <sup>_′_</sup> _N_ ∆ _a,b_ ∆ _a,d_ _s_ 1 _· · ·_ <u>�</u> <sup>_wnn_</sup> _<u>nij</u>_ <sup>)sign(∆</sup> <sup>_| wij/wwnnij|_</sup> <sup>) ˜</sup> <sup>_Pl_</sup> <sup>(</sup> <sup>_x_</sup> <sup>(</sup> <sup>_τj_</sup> <sup>_<u>−</u>_</sup> <sup>_τ ′_</sup> _i_ <sup>))</sup> _G_ <sup>(1)</sup> _,_ _M_ <sup>_′_</sup> = ∆ _a,a_ <sup>_′_</sup> 1 ∆ _a,a_ <sup>_′_</sup> _N_ ∆ _a,b_ ∆ _a,d_ _s_ 1 _· · ·_ ∆ _c,a_ <sup>_′_</sup> 1 ∆ _c,a_ <sup>_′_</sup> _N_ ∆ _c,b_ ∆ _c,d_ _s_ 2 _· · ·_ _,_ (C.5) where sign( _wnn_ ) is the sign of the Monte Carlo weight of the current configuration. Appendix D. Measurement of the twoparticle Green’s function We measure the two-particle Green’s function in the mixed basis representation proposed in Ref. [22]: ∆ _wαβγη_ = (det _M_ <sup>_′_</sup> _/_ det _M_ 0) _×_ det( _M_ <sup>_′−_</sup> <sup>1</sup> ; _α, γ, n_ + 1 : _β, η, n_ + 1) _,_ (D.5) where we use the shorthand notation (D.4) where _si_ ( _i_ = 1 _, · · ·_ _,_ 5) are auxiliary fields. Now, we _c_ define. Similarly _a_ <sup>_′_</sup> _N_ +1 to <sup>_≡_</sup> <sup>_b_</sup> Eq. <sup>,</sup> <sup>_a′_</sup> _N_ (+2C.4 <sup>_≡_</sup> ), <sup>_d_</sup> the <sup>,</sup> <sup>_aN_</sup> relative <sup>+1</sup> <sup>_≡_</sup> <sup>_a_</sup> <sup>, and</sup> weight <sup>_aN_</sup> of <sup>+2</sup> the <sup>_≡_</sup> worm _caα_ _c_ <sup>_†_</sup> _a_ <sup>_′_</sup> _β_ <sup>_caγ_</sup> <sup>_c†_</sup> _a_ <sup>_′_</sup> _η_ <sup>is</sup> <sup>given</sup> <sup>by</sup> <sup>_′_</sup> _N_ +1 to <sup>_≡_</sup> <sup>_b_</sup> Eq. <sup>,</sup> <sup>_a′_</sup> <sup>_′_</sup> _β_ <sup>_caγ_</sup> <sup>_c†_</sup> _a_ _a_ <sup>_′_</sup> <sup>_†_</sup> _a_ <sup>_′_</sup> _η_ <sup>is</sup> <sup>given</sup> <sup>by</sup> _G_ <sup>(2)</sup> _abcd_ _G_ <sup>(2)</sup> _abcd_ <sup>(</sup> <sup>_τ_</sup> <sup>12</sup> <sup>_, τ_</sup> <sup>34</sup> <sup>_, τ_</sup> <sup>14) =</sup> - - _<u>√</u>_ <u>2</u> _<u>l</u>_ <u>+ 1</u> _~~<u>√</u>~~_ <u>2</u> _~~<u>√</u>~~_ <u>2</u> _<u>l</u>_ <sup>_′_</sup> <u>+ 1</u> _β_ <sup>3</sup> ( _−_ 1) <sup>_l′_</sup> <sup>+1</sup> _<u>√</u>_ <u>2</u> _<u>l</u>_ <u>+ 1</u> _~~<u>√</u>~~_ _Ai_ 1 _,j_ 1 _Ai_ 1 _,j_ 2 _Ai_ 1 _,j_ 3 _Ai_ 2 _,j_ 1 _Ai_ 2 _,j_ 2 _Ai_ 2 _,j_ 3 _Ai_ 3 _,j_ 1 _Ai_ 3 _,j_ 2 _Ai_ 3 _,j_ 3 (D.6) _l,l_ <sup>_′_</sup> _≥_ 0 _m∈_ Z   _._ _× Pl_ ( _x_ ( _τ_ 12)) _Pl′_ ( _x_ ( _τ_ 34)) _e_ <sup>i</sup> <sup>_ωmτ_</sup> <sup>14</sup> _Gabcd_ <sup>(2)</sup> (D.1) _abcd_ <sup>(2)</sup> <sup>(</sup> <sup>_l, l′,_</sup> <sup>i</sup> <sup>_ωn_</sup> <sup>)</sup> <sup>_,_</sup>  det( _A_ ; _i_ 1 _i_ 2 _i_ 3 : _j_ 1 _j_ 2 _j_ 3) = det  where _ωn_ = 2 _mπ/β_ . A worm for the two-particle Green’s function consists of four operators _ca_ ( _τa_ ) _c_ <sup>_†_</sup> _b_ <sup>(</sup> <sup>_τ ′_</sup> _b_ <sup>)</sup> <sup>_cc_</sup> <sup>(</sup> <sup>_τc_</sup> <sup>)</sup> <sup>_c†_</sup> _d_ <sup>(</sup> <sup>_τ ′_</sup> _d_ <sup>)</sup> with four independent flavor and time variables. In the mixed basis representation, the worm estimator reads <sup>_′_</sup> _b_ <sup>)</sup> <sup>_cc_</sup> <sup>(</sup> <sup>_τc_</sup> <sup>)</sup> <sup>_c†_</sup> _d_ <sup>_†_</sup> _b_ <sup>(</sup> <sup>_τ ′_</sup> _b_ <sup>_†_</sup> _d_ <sup>(</sup> <sup>_τ ′_</sup> _d_ <u>2</u> _<u>l</u>_ <u>+ 1</u> _~~<u>√</u>~~_ _~~<u>√</u>~~_ <u>2</u> _<u>l</u>_ <sup>_′_</sup> <u>+ 1</u> _β_ ( _−_ 1) <sup>_l′_</sup> <sup>+1</sup> _G_ <sup>(2)</sup> _abcd_ <sup>(</sup> <sup>_l, l′, iωn_</sup> <sup>) =</sup> <sup>_N_</sup> _G_ <sup>(2)</sup> _<u>√</u>_ _× ⟨_ ( _MabMcd −_ _MadMcb_ ) _P_ ˜ _l_ ( _τa −_ _τb_ <sup>_′_</sup> <sup>) ˜</sup> <sup>_P ′_</sup> _l_ <sup>(</sup> <sup>_τc_</sup> <sup>_−_</sup> <sup>_τ ′_</sup> _d_ <sup>)</sup> <sup>_eiω_</sup> _b_ <sup>_′_</sup> <sup>) ˜</sup> <sup>_P ′_</sup> _l_ <sup>_′_</sup> _d_ <sup>)</sup> <sup>_eiωn_</sup> <sup>(</sup> <sup>_τa−τ_</sup> _d_ <sup>_′_</sup> <sup>_τ_</sup> _d_ <sup>_′_</sup> <sup>)</sup> _⟩G_ (2) _._ (D.2) <sup>_′_</sup> _l_ <sup>(</sup> <sup>_τc_</sup> <sup>_−_</sup> <sup>_τ ′_</sup> _d_ We omitted the index for imaginary time to simplify the notation. In contrast to the measurement of the single-particle Green’s function, we do not take the summation of _α_, _β_, _γ_, and _η_ over all columns and rows, because it would cost _O_ ( _n_ <sup>4</sup> ), which is more expensive than the Monte Carlo updates [ _O_ ( _n_ <sup>3</sup> )]. Instead, we generate two sets _S_ col and _S_ row by selecting a few elements from 1, 2, _· · ·_, _n_ +1, _n_ +2 so that they always include _n_ + 1 and _n_ + 2. The size of the two sets _n_ <sup>_′_</sup> is taken to be typically around 5–10. The summation is taken over these two sets as _α, γ_ _∈_ _S_ col and _β, η_ _∈_ _S_ row. Here, the normalization factor is given by _<u>NG</u>_ (2) _N_ = _,_ (D.3) _ηG_ (2) _⟨_ sign _⟩_ _NZ_ 13

섹션 본문 102문단 · 26,424자

(제목 없음)

1We describe an open-source implementation of the continuous-time hybridization-expansion quantum Monte Carlo method for impurity models with general instantaneous two-body interactions and complex hybridization functions. The code is built on the ALPS libraries (Applications and Libraries for Physics Simulations).

Introduction

2In condensed matter physics, dynamical meanfield theory (DMFT) [1] is a widely used tool for the study of strongly correlated electron systems. In a DMFT calculation, a correlated lattice model is mapped to an impurity problem whose Email address: shinaoka@mail.saitama-u.ac.jp (Hiroshi Shinaoka) bath degrees of freedom are self-consistently determined. Although the approximation was originally proposed for the single-band Hubbard model, the DMFT formalism can be extended to multi-orbital systems and cluster-type impurities [2]. Furthermore, DMFT can be combined with density functional theory based ab-initio calculations, to describe strongly correlated materials such as transition metal oxides [3]. In such realistic applications, one may have to treat local Coulomb interactions with non-density-density terms. Furthermore, in simulations of 4d and 5d transition metal oxides, spin-orbit coupling gives rise to complex hybridization functions [4]. In the presence of multiple local degrees of freedom or complex hybridization functions, the solution of the quantum impurity problem becomes a numerically costly task. For the DMFT self-consistency loop, we only have to compute single-particle quantities such as the selfenergy. However, it may be desirable to compute also higher-order correlation functions, to get access to spin-orbital susceptibilities, or in the context of diagrammatic extensions of the DMFT formalism [5,6].

3Continuous-time Monte Carlo is a general framework to solve a quantum models in a numerically exact way by sampling a series expansion of the partition function. There are two complementary algorithms for quantum impurity problems with general interactions, called CT-INT (continuous-time inter-action expansion) and CT-HYB (continuous-time bybridization expansion). The former is based on the expansion of the partition function with respect to the local interaction [7], while the latter is based on an expansion in the hybridization between the bath and the impurity [8]. CT-HYB is particularly efficient in the strongly correlated regime [9], and it is widely used for both model and material simulations.

4The available open-source implementations of CT-HYB [10][11][12] support neither complex hybridisation functions nor the measurement of the twoparticle Green's function for general multi-orbital models. In this paper, we describe a state-of-the-art implementation of CT-HYB for multiple orbitals and complex hybridization functions. The code provides measurements of various observables and correlation functions relevant for DMFT calculations, including the single-particle Green's function, density-density correlations, and four-time/twotime two-particle Green's functions. The measurements are performed by worm sampling [13][14][15][16], to avoid ergodicity problems.

5The remainder of this paper is organized as follows. In Sec. 2, we introduce a general quantum impurity model. In Sec. 3, we describe CT-HYB and worm sampling. Section 4 describes the evaluation of the trace over local degrees of freedom, while Sec. 5 explains the possibility to change the single-particle basis. The installation and usage is detailed in Sec. 6, and Sec. 7 provides some examples of simulation results for a three-orbital model. Finally, we summarize the paper in Sec. 8.

General impurity model

6We consider a general multi-orbital impurity model defined by the Hamiltonian

7where

8The indices a and b denote the internal degrees of freedom of the impurity, which we call flavors, e.g., a composite index of spin and orbital, while α denotes those of the bath. The chemical potential is absorbed into t ab . For the Monte Carlo simulation, we switch to an action formulation and trace out the bath degrees of freedom. In the action

9all relevant local information of H bath and H hyb is encoded in the hybridization function defined by

10Here, β is the inverse temperature and ω n = (2n + 1)π/β a Matsubara frequency. The Fourier transformation to imaginary time can be written as

11The hybridization function is fermionic and hence β-antiperiodic, ∆ ab (τ +β) = −∆ ab (τ ), with discontinuities at τ = nβ (n integer). For the simulations, we define ∆(τ ) on the interval [0, β] in a continuous fashion. In the original literature [8,17], there is a alternative notation for the hybridization function, F ab , which is related to ∆ ab by

12Our impurity solver takes ∆(τ ) as an input in addition to the transfer matrix t ab and the Coulomb tensor U abcd . Note that the hybridization function can have diagonal and offdiagonal components, and that their values may be complex. The latter property is for example essential for the simulation of models with spin-orbit coupling [4]. The different components must satisfy the relation ∆ ab (τ ) = ∆ * ba (τ ).

Expansion of the partition function

13For a given inverse temperature β, the partition function Z of the impurity model is expanded in powers of the hybridization as

14where n is the order of the expansion, c † a (τ ) = e τ H loc c † a e −τ H loc and c a (τ ) = e τ H loc c a e −τ H loc . The matrix elements of (M −1 ) ij are given by the hybridization function,

15Equation (9) can be recast into Z ∝ ∞ n=0 a1,··· ,an a 1 ,··· ,a n τ2 0 dτ 1

16where 0 ≤ τ 1 < τ 2 < . . . < τ n < β, 0 ≤ τ 1 < τ 2 < . . . < τ n < β, and {O 1 , · · · , O 2n } is a timeordered set of the impurity creation and annihilation operators. P trace is the permutation of time ordering from {c a1 (τ 1 ), c † a 1 (τ 1 ), · · · , c an (τ n ), c † a n (τ n )} to {O 1 , · · · , O 2n }. The set {τ 1 , · · · ,τ 2n } is a time-ordered set of {τ 1 , · · · , τ n , τ 1 , · · · , τ n }. In the Monte Carlo simulations, we perform an importance sampling of Z using the configurations c = {τ 1 , τ 1 , · · · , τ n , τ n ; a 1 , a 1 , · · · , a n , a n } and the Metropolis algorithm. Since the weight

17can be complex, we consider the absolute value |w(c)| in the sampling. That is, we sample an unphysical partition function

18The ratioZ/Z appears as a reweighing factor in the estimators of observables.

Worm sampling of the Green's function

19We now briefly describe how to measure the expectation values of correlation functions. For instance, the single-particle Green's function is defined as

20where τ, τ ∈ [0, β). This quantity is the most important observable for DMFT calculations. Similarly to Eq. (9), the numerator of Eq. (14) is expanded as

21∞ n=0 a1,··· ,an a 1 ,··· ,a n τ2 0 dτ 1

22where {O 1 , · · · , O 2n+2 } is a time-ordered set of the impurity creation and annihilation operators, and those of the Green's function. P trace is the permutation of time ordering from {c a1 (τ 1 ), c † a 1 (τ 1 ), · · · , c an (τ n ), c † a n (τ n ), c i (τ ), c † j (τ )} to {O 1 , · · · , O 2n+2 }. The set {τ 1 , · · · ,τ 2n+2 } is a time-ordered set of {τ 1 , · · · , τ n , τ 1 , · · · , τ n , τ, τ }.

23To construct the estimator of Eq. (14), we enlarge the configuration space as [13][14][15]

24where a configuration c A in the Green's function space C A is defined as c A = {τ 1 , τ 1 , · · · , τ n , τ n ; a 1 , a 1 , · · · , a n , a n ;

25up to a normalization factor. We sample in both configuration spaces according to weight |w(c)| and |w(c A )|, respectively. In practice, we switch from

26We return back to C Z by removing a worm.

27The total partition functionW is defined as

28withZ

29The overline means that we take the absolute values of the contributions of diagrams. The coefficient η (> 0) was introduced so that the simulation spends almost the same number of Monte Carlo steps in both spaces. It appears as an additional factor in the weight |w(c A )|. The parameter η is adjusted during the thermalization process using the Wang-Landau algorithm [18,19]. We refer the reader to Appendix A for more details.

30Considering the anti-periodicity of the Green's function with respect to β, the estimator reads

31for 0 < ∆τ < β. To simplify the notation, we introduced

32The symbols "sign" in the numerator and the denominator denote w(c G (1) )/|w(c G (1) )| and w(c Z )/|w(c Z )|, respectively. N Z and N G (1) are the number of Monte Carlo steps spent in C Z and C G (1) , respectively. The brackets · · · Z and · · · G (1) denote the Monte Carlo average in C Z and C G (1) , respectively. The factor β −1 comes from the extra degree of freedom τ in the sampling in C G (1) . In general, w(c Z )/|w(c Z )| is a complex number, but the expectation value sign Z is real, because the partition function Z is real. The importance sampling works efficiently as long as sign Z is not too small (sign 0.1).

33In practice, instead of using the imaginary-time estimator, Eq. (20), we expand the Green's function in the Legendre polynomials defined on the interval [0, β] [20] as

34where x(τ ) = 2τ /β − 1 and P l (x) is the l-th Legendre polynomial defined on the interval [-1,1]. In the Legendre basis, the estimator reads

35wherẽ

36The cutoff N l is a simulation parameter. Typical values are N l = 50 -100. At this point, it is worth pointing out a practical limitation of this measurement. In the estimator (23), we measure the Green's function only at one time difference and a pair of flavors at each measurement step. Thus, the sampling by this estimator is less efficient than the conventional measurement by removing hybridization lines from a configuration in C Z as in the conventional CT-HYB [8].

37To improve the statistics, we generate multi samples from a configuration in C G (1) by reconnecting hybridization lines at each worm measurement step without reevaluating the trace. We refer the reader to Appendix C for more details.

Worm measurement of other quantities

38We also provide worm measurements of the following correlation functions, which play an important role in DMFT calculations:

39• Two-particle Green's function

40• Equal-time single-particle Green's function [16] Tr

41• Two-time two-particle Green's function

42We measure the two-particle Green's function and the two-time two-particle Green's function in the Legendre basis. The extended configuration space for the measurement of multiple observable reads

43where O 1 , · · · , O N are the observables measured by worm sampling. The coefficient η, η O1 , · · · , η O N are adjusted so that the simulation spends an equal amount of steps in each subspace. Worm insertion/removal steps result in transitions betweenZ and the worm subspacesZ Oi . We also perform direct transitions between the worm spaces of different observables such as the equaltime single-particle Green's function and the twotime two-particle Green's function to reduce autocorrelation times.

Evaluation of the trace over the local

44Hilbert space

Construction of eigenbasis

45We briefly describe how we evaluate Eq. (12), which is the heart of the CT-HYB code. The size of the local Hilbert space grows exponentially with the number of orbitals or sites in the impurity. The computational cost is greatly reduced by partitioning the local Hilbert space into sectors such that H loc is a block diagonal matrix and the block matrices of creation and annihilation operators have only a single nonzero block for each row [21].

46After partitioning the Hilbert space into sectors, we construct an eigenbasis for each sector to rewrite the trace as

47where E s (τ ) is the diagonal matrix {e − s n τ } ( s n is the n-th eigenvalue of the sector s). O s,s is the matrix representation of an annihilation d or a creation operator d † . For a given sector s , there is only one non-zero block matrix O s,s (s is determined uniquely).

48The partitioning of the Hilbert space may be done by exploiting conserved quantum numbers that commute with H loc . Examples include the total electron number as well as the special conserved quantities which commute with the Slater-Kanamori Hamiltonian [22]. Recently, it was shown that it is possible to partition the local Hilbert space without prior knowledge of quantum numbers for CT-HYB [11,23]. This is done by looking at nonzero elements of the matrix representations of H loc and c † a in the occupation basis. Our code provides the same functionality based on an efficient cluster identification algorithm. We refer the readers to Appendix B for more technical details.

Sliding-window update

49Monte Carlo updates consist of elementary updates such as the insertion/removal of a pair of c 5 and c † . To compute the acceptance rate of a new configuration, we evaluate the trace using Eq. (29). This may cost O(β) operations because the number of matrices to be multiplied increases linearly with β. We reduce the computational cost by using the sliding-window update proposed in Ref. [24]. As illustrated in Fig. 1(a), we define a narrow window in which the updates are performed on the imaginary time axis. The left and right end points are τ L and τ R (τ L − τ R = τ win ). The idea is that we precompute the products of all matrices for τ > τ L and τ < τ R , respectively, and store them in memory.

50We define a ket as

51where n R is the number of operators on the interval (τ R ,0]. We define a bra in a similar way as

52where n L is the index of the operator with the smallest imaginary time on the interval (β, τ L ]. Then, the trace is rewritten as

53where Q(τ L , τ R ) is the product of matrices on the interval (τ L , τ R ]. We do not have to recompute the bra and ket as long as updates are performed within the window.

54We propose a few elementary updates, whose number is proportional to that of flavors, at each position of the window. After that, we move the window to the next position with a finite overlap with the previous position as illustrated in Fig. 1 (b). We updates the bra and ket by applying creation, annihilation operators and time-evolution operators, or by loading cached data from memory. Noted that we do not have to calculate the bra and ket from scratch thanks to the sequential move of the window on the imaginary-time axis. The procedure is repeated by moving the window sequentially back and forth on the whole interval [0, β].

55A reasonable value of the window width τ win is automatically estimated during the thermalization process. We choose τ win = β/ n MC , where n MC is the Monte Carlo average of the perturbation order.

56In the sliding-window update, we never insert/remove a pair of creation and annihilation operators which cross the boundary at β ≡ 0 as illustrated in Fig. 1 (c). To avoid this problem, we also perform a global update in which all the operators are shifted on the imaginary-time axis by a fixed random time ∆τ ∈ [0, β] [see Fig. 1 (d)]. This update is proposed each time the window has completed a back-and-forth run on the whole interval. If this update is accepted, the bra and the ket are recomputed from scratch, which costs O(β). However, its computational cost is typically smaller than that of the sliding-window update because it is performed less frequently.

Restricting the trace to the active space

57To further reduce the computational cost, we offer several options of eliminating high-energy states which do not contribute to low-temperature physics. The first one, called "inner-outer-state cutoff", was originally introduced in Ref. [21]. Here, we simplify do not include the eigenstates of H loc whose energies are higher than a certain cutoff in the construction of the block matrices. As a consequence, the matrices appearing in Eq. (29) are reduced in size.

58The second option is called "outer-state cutoff", and was originally introduced in the Krylov algorithm [25]. In Eq. (30), the right most matrix is modified as

59where P s is a projector to the active eigenstates in the sector s, e.g., eigenstates whose energies are lower than a certain value. We replace the left most matrix in the bra Eq. (31) in a similar way as well. If we keep only a few eigenstates in the projector, the cost will be reduced from O(N 3 H ) to O(N 2 H ). This may lead to a substantial speed-up when the linear dimensions of the block matrices is larger than ≈ 20.

60In Ref. [25], it was demonstrated that at low temperatures, the approximate result converges to the exact result even when only the ground states of H loc are kept in the projector. This approximation is safer than the "inner-outer-state cutoff" because all eigenstates remain accessible during the imaginary-time evolution.

Single-particle basis transformation

61In general, the average sign sign Z depends on your choice of a single-particle basis used for expanding the partition function with respect to the hybridization function in Eq. (11). It is practically useful to use a single-particle basis which gives a larger average sign to improve the statistics.

62To this end, our CT-HYB solver provides a functionality which allows the user to perform the expansion using an arbitrary single-particle local basis. A transformed single-particle basis is defined asc

63with U ab being a unitary matrix, which is an input parameter. The local Hamiltonian and the hybridization function are transformed to the new single-particle basis as described in Ref. [26,27] before a Monte Carlo simulation. The user inputs t ab , V abcd and ∆ ab in the original basis to the impurity solver: The solver takes care of their transformation.

64During the Monte Carlo simulation, we measure all the observables such as the single-particle Green's function in the transformed basis. Then, the measured results are transformed back to the original basis after the Monte Carlo simulation except for the density-density correlations.

65For instance, we collect the single-particle Green's functioñ

66during the Monte Carlo simulation. Once the simulation is done, the data are transformed back to the original basis as

67This functionality allows the user to choose any arbitrary basis transformation to improve the statistics.

Usage

68The CT-HYB code is built on ALPS (Applications and Libraries for Physics Simulations libraries) [28], the Boost libraries, and Eigen. Eigen is a C++ template header-file-only library for linear algebra. They must be pre-installed. One needs a C++ compiler which supports C++03 to build the solver. MPI parallelization is enabled by using a MPI C++ compiler. At runtime, one can choose either a complex-number solver or a real-number solver. The two solvers have exactly the same interface. The CT-HYB solver reads parameters from a text file. In the next section, we discuss several examples.

69The latest version of the code is available from a public Git repository at https://github.com/ ALPSCore/CT-HYB. One can also find a more detailed description of usage in Wiki documentation pages at https://github.com/ALPSCore/CT-HYB/ wiki.

Example: Three-orbital t 2g model with

70Slater-Kanamori interaction

Model

71We consider a three-orbital model for the t 2g shell of d orbitals with a Slater-Kanamori interaction and spin-orbit coupling. Its Hamiltonian is given by

72where c † iσ and c iσ are creation/annihilation operators of an electron at orbital i with spin σ. The first term denotes the spin-orbit coupling for the t 2g basis. If the states are ordered as d xy↑ , d xy↓ , d yz↑ , d yz↓ , d zx↑ , d zx↓ , its matrix elements are

73where ζ (>0) is the amplitude of the spin-orbit coupling. The none-zero elements of the Coulomb tensor are given by

74The chemical potential is chosen such that the system is close to half filling: µ = 5 2 U −5J. 7

75The bath consists of three non-interacting orbitals. The intra-bath Hamiltonian reads

76where t = 0 gives rise to off-diagonal elements of the hybridization function. The hybridization term reads

77where we take the coupling λ = 1. From Eqs. (40) and (41), we obtain the hybridization function

78where I is an identity matrix.

Diagonal hybridization function

79We first solve the model with a diagonal hybridization function, i.e., for t = 0. We take ζ = 1, U = 10, J/U = 1/4, β = 40. In Fig. 2, we compare the single-particle Green's function G(τ ) measured by the worm sampling with numerically exact results computed by pomerol [29]. The average sign is about 0.95. The number of Legendre polynomials is N l = 50. The perturbation expansion was performed in the original t 2g basis. One can see that our code can measure both the diagonal (G 00 ) and off-diagonal elements (G 02 , G 05 ). Using the conventional sampling method, it would not be possible to measure the off-diagonal elements of G(τ ) in the case of a diagonal hybridization function.

Off-diagonal hybridization function

80Next, we solve the model for t = 0.2, ζ = 1, U = 10, J/U = 1/4, β = 10. In Fig. 3, we compare the computed results with exact results. The number of Legendre polynomials is N l = 30. The perturbation expansion was performed in the original t 2g basis. The average sign is about 0.48.

Summary

81We have presented an open-source C++ implementation of the continuous-time hybridization expansion Monte Carlo method for multi-orbital impurity models with general instantaneous two-body interactions and complex hybridization functions. We have discussed the technical details of the implementation, and presented some examples of Monte Carlo simulation results for a three-orbital model, which can serve as a benchmark or reference. In the second step [Fig. B.4(b)], we compute the elements of the block matrices of creation operators. If more than two blocks are nonzero in a given row, we unify the corresponding two sectors. This procedure is repeated for each column as well.

82The elementary operation of this procedure is unifying two sectors s and s for given s and s (s < s ). A naive procedure would be to scan through all vectors having s and assign s to them (s i ← p if s i = s ). But, this is computationally inefficient for a large number of orbitals because we have to scan the whole Hilbert space many times during the partitioning of the matrices. Instead, we adopt the Hoshen-Kopelman single-pass cluster identification algorithm [32].

83Appendix C. Measurement of singleparticle Green's function by reconnecting hybridization lines

84Here we describe how to generate multiple configurations for the measurement of the single-particle Green's function. First, we present a general procedure for measuring multiple samples from a single configuration c 0 in the worm space C A for an observable A. We assume that the thermodynamic

average of A is given by

85where · · · MC is the Monte Carlo average, and f is some function of a configuration in C A . At the measurement step, we randomly generate a set of N configurations, S = {c 0 , c 1 , c 2 , · · · , c N −1 }, including the current one c 0 (N > 1). P c→S denotes the probability that the set S is generated when the current configuration is c. Here, we require P ci→S = P cj →S for 0 ≤ i = j ≤ N − 1. Then, it is easy to prove that

86Let us consider a configuration in the G (1) space illustrated in Fig. C.5(a). In this case, we can generate three additional configurations shown in We compute the relative Monte Carlo weights of these configurations as follows. (i) First, we attach hybridization lines to the creation and annihilation operators of the worm. (ii) Then, we detach a creation operator and an annihilation operator from the bath. It should be noted that, to avoid a singular matrix, we need to introduce auxiliary fields, which will be removed again in step (ii).

87For step (i), we define the following matrix of hybridization functions,

88where M 0 is the matrix defined in Eq. (10) for the current configuration, e.g., the one shown in Fig. C.5(a). The auxiliary fields s 1 , s 2 , and s 3 in the last column and row were introduced to avoid a singular matrix, i.e, detM = 0 for ∆ a,b = 0. We compute the inverse matrix (M ) −1 and the ratio detM /detM 0 from M −1 0 , ∆ a i ,b , and ∆ a,aj using the fast update formula [14]. The choice of the auxiliary fields may be arbitrary a long as a singular matrix is avoided, because the last column and row will be removed. In practice, we adopt s i = ±δ, with δ being a small number (typically around 10 −5 ).

89Once (M ) −1 is computed, we are ready to compute the relative weight w ij of all the configurations generated by reconnecting hybridization lines, where i and j represent creation and annihilation operators detached from the bath. Counting sign changes from permutations of columns and rows, the relative weight is obtained as

90where n is the perturbation order. Here, we removed the last column and row as well to avoid systematic errors from the auxiliary fields. In practice, the Monte Carlo average in Eq. (23) is replaced by the weighted averaged over the configurations n ij ∆w ij sign(w nn )sign(∆w ij )P l (x(τ j − τ i ))

91where sign(w nn ) is the sign of the Monte Carlo weight of the current configuration.

92Appendix D. Measurement of the twoparticle Green's function

93We measure the two-particle Green's function in the mixed basis representation proposed in Ref. [20]:

94abcd (τ 12 , τ 34 , τ 14 ) = l,l ≥0 m∈Z √ 2l + 1 √ 2l + 1 β 3 (−1) l +1 × P l (x(τ 12 ))P l (x(τ 34 ))e iωmτ14 G (2) abcd (l, l , iω n ), (D.1)

95where ω n = 2mπ/β. A worm for the two-particle Green's function consists of four operators c a (τ a )c † b (τ b )c c (τ c )c † d (τ d ) with four independent flavor and time variables. In the mixed basis representation, the worm estimator reads

96Here, the normalization factor is given by

97where N G (2) and N Z represent the numbers of Monte Carlo steps in the worm space and the partition function space, respectively. As for the single-particle Green's function, we generate multiple samples following the procedure described below. First, we attach hybridization lines to the creation and annihilation operators of the worm by adding three columns and rowsone of each made up of auxiliary fields -to the hybridization-function matrix. Then, we remove three columns and rows.

98We define the matrix of the intermediate state by

99where s i (i = 1, · · · , 5) are auxiliary fields. Now, we define a N +1 ≡ b, a N +2 ≡ d, a N +1 ≡ a, and a N +2 ≡ c. Similarly to Eq. (C.4), the relative weight of the 13 worm c aα c † a β c aγ c † a η is given by ∆w αβγη = (detM /detM 0 ) × det(M −1 ; α, γ, n + 1 : β, η, n + 1),

100where we use the shorthand notation det(A; i 1 i 2 i 3 :

101(D.6)

102We omitted the index for imaginary time to simplify the notation. In contrast to the measurement of the single-particle Green's function, we do not take the summation of α, β, γ, and η over all columns and rows, because it would cost O(n 4 ), which is more expensive than the Monte Carlo updates [O(n 3 )]. Instead, we generate two sets S col and S row by selecting a few elements from 1, 2, · · · , n + 1, n + 2 so that they always include n + 1 and n + 2. The size of the two sets n is taken to be typically around 5-10. The summation is taken over these two sets as α, γ ∈ S col and β, η ∈ S row .

참고문헌 35건

  1. Quantum Monte Carlo impurity solver for cluster dynamical mean-field theory and electronic structure calculations with adjustable cluster base Physical Review B · American Physical Society · 2007 10.1103/physrevb.75.155113
  2. Fidelity Susceptibility Made Simple: A Unified Quantum Monte Carlo Approach Physical Review X · American Physical Society · 2015 10.1103/physrevx.5.031007
  3. <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si56.gif" display="inline" overflow="scroll"><mml:mi>i</mml:mi><mml:mstyle mathvariant="normal"><mml:mi>QIST</mml:mi></mml:mstyle></mml:math>: An open source continuous-time quantum Monte Carlo impurity solver toolkit Computer Physics Communications · Elsevier BV · 2015 10.1016/j.cpc.2015.04.020
  4. Fidelity Susceptibility Perspective on the Kondo Effect and Impurity Quantum Phase Transitions Physical Review Letters · American Physical Society · 2015 10.1103/physrevlett.115.236601
  5. Negative sign problem in continuous-time quantum Monte Carlo: Optimal choice of single-particle basis for impurity problems Physical Review B · American Physical Society · 2015 10.1103/physrevb.92.195126
  6. Conserved quantities of<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mi>U</mml:mi><mml:mo>(</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math>-invariant interactions for correlated fermions and the advantages for quantum Monte Carlo simulations Physical Review B · American Physical Society · 2012 10.1103/physrevb.86.155158
  7. Efficient implementation of the continuous-time hybridization expansion quantum impurity solver Computer Physics Communications · Elsevier BV · 2012 10.1016/j.cpc.2012.12.013
  8. Determining the density of states for classical statistical models: A random walk algorithm to produce a flat histogram Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2001 10.1103/physreve.64.056101
  9. 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
  10. 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
  11. Dynamical vertex approximation: A step beyond dynamical mean-field theory Physical Review B · American Physical Society · 2007 10.1103/physrevb.75.045118
  12. Efficient, Multiple-Range Random Walk Algorithm to Calculate the Density of States Physical Review Letters · American Physical Society · 2001 10.1103/physrevlett.86.2050
  13. Orthogonal polynomial representation of imaginary-time Green’s functions Physical Review B · American Physical Society · 2011 10.1103/physrevb.84.075145
  14. Lazy skip-lists: An algorithm for fast hybridization-expansion quantum Monte Carlo Physical Review B · American Physical Society · 2014 10.1103/physrevb.90.075149
  15. “Worm” algorithm in quantum Monte Carlo simulations Physics Letters A · Elsevier BV · 1998 10.1016/s0375-9601(97)00957-2
  16. Dual fermion approach to nonlocal correlations in the Hubbard model Physical Review B · American Physical Society · 2008 10.1103/physrevb.77.033101
  17. Quantum cluster theories Reviews of Modern Physics · American Physical Society · 2005 10.1103/revmodphys.77.1027
  18. Performance analysis of continuous-time solvers for quantum impurity models Physical Review B · American Physical Society · 2007 10.1103/physrevb.76.235123
  19. Continuous-time quantum Monte Carlo method for fermions Physical Review B · American Physical Society · 2005 10.1103/physrevb.72.035122
  20. Percolation and cluster distribution. I. Cluster multiple labeling technique and critical concentration algorithm Physical review. B, Solid state · American Physical Society · 1976 10.1103/physrevb.14.3438
  21. Continuous-Time Solver for Quantum Impurity Models Physical Review Letters · American Physical Society · 2006 10.1103/physrevlett.97.076405
  22. Krylov implementation of the hybridization expansion impurity solver and application to 5-orbital models Physical Review B · American Physical Society · 2009 10.1103/physrevb.80.235117
  23. Importance of subleading corrections for the Mott critical point Physical Review B · American Physical Society · 2012 10.1103/physrevb.85.201101
  24. TRIQS/CTHYB: A continuous-time quantum Monte Carlo hybridisation expansion solver for quantum impurity problems Computer Physics Communications · Elsevier BV · 2015 10.1016/j.cpc.2015.10.023
  25. Phase Diagram of Pyrochlore Iridates: All-in–All-out Magnetic Ordering and Non-Fermi-Liquid Properties Physical Review Letters · American Physical Society · 2015 10.1103/physrevlett.115.156401
  26. Electronic structure calculations with dynamical mean-field theory Reviews of Modern Physics · American Physical Society · 2006 10.1103/revmodphys.78.865
  27. Continuous-time Monte Carlo methods for quantum impurity models Reviews of Modern Physics · American Physical Society · 2011 10.1103/revmodphys.83.349
  28. Worm-improved estimators in continuous-time quantum Monte Carlo Physical review. B./Physical review. B · American Physical Society · 2016 10.1103/physrevb.94.125153
  29. Updated core libraries of the ALPS project Computer Physics Communications · Elsevier BV · 2016 10.1016/j.cpc.2016.12.009
  30. The ALPS project release 1.3: Open-source software for strongly correlated systems Journal of Magnetism and Magnetic Materials · Elsevier BV · 2006 10.1016/j.jmmm.2006.10.304
  31. Percolation and Cluster Distribution. I. Cluster Multiple Labeling Technique and Critical Concentration Algorithm 1976
  32. Hybridization expansion Monte Carlo simulation of multi-orbital quantum impurity problems: matrix product formalism and improved sampling reroDoc Digital Library · European Organization for Nuclear Research · 2014
  33. The ALPS project release 2.0: open source software for strongly correlated systems Journal of Statistical Mechanics Theory and Experiment · Institute of Physics · 2011 10.1088/1742-5468/2011/05/p05001
  34. Strongly Correlated Multi-Orbital Systems : A Continuous-Time Quantum Monte Carlo Analysis 2013
  35. Continuous-time quantum Monte Carlo using worm sampling Physical Review B · American Physical Society · 2015 10.1103/physrevb.92.155102