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

Efficient linear-scaling quantum transport calculations on graphics processing units and applications on electron transport in graphene

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Fan, Zheyong
  2. Uppstu, Andreas
  3. Siro Topi
  4. Harju Ari
DOI
10.48550/arxiv.1307.0288
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1307.0288
토픽
Graphene research and applications
OpenAlex ID
W6910671078

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We implement, optimize, and validate the linear-scaling Kubo-Greenwood quantum transport simulation on graphics processing units by examining resonant scattering in graphene. We consider two practical representations of the Kubo-Greenwood formula: a Green-Kubo formula based on the velocity auto-correlation and an Einstein formula based on the mean square displacement. The code is fully implemented on graphics processing units with a speedup factor of up to 16 (using double-precision) relative to our CPU implementation. We compare the kernel polynomial method and the Fourier transform method for the approximation of the Dirac delta function and conclude that the former is more efficient. In the ballistic regime, the Einstein formula can produce the correct quantized conductance of one-dimensional graphene nanoribbons except for an overshoot near the band edges. In the diffusive regime, the Green-Kubo and the Einstein formalisms are demonstrated to be equivalent. A comparison of the length-dependence of the conductance in the localization regime obtained by the Einstein formula with that obtained by the non-equilibrium Green's function method reveals the challenges in defining the length in the Kubo-Greenwood formalism at the strongly localized regime.

본문 73,923자

본문 펼치기
## Efficient linear-scaling quantum transport calculations on graphics processing units and applications on electron transport in graphene Zheyong Fan <sup>∗</sup>, Andreas Uppstu, Topi Siro, Ari Harju _COMP Centre of Excellence and Helsinki Institute of Physics, Department of Applied Physics, Aalto University,_ _Helsinki, Finland_ Abstract We implement, optimize, and validate the linear-scaling Kubo-Greenwood quantum transport simulation on graphics processing units by examining resonant scattering in graphene. We consider two practical representations of the Kubo-Greenwood formula: a Green-Kubo formula based on the velocity auto-correlation and an Einstein formula based on the mean square displacement. The code is fully implemented on graphics processing units with a speedup factor of up to 16 (using double-precision) relative to our CPU implementation. We compare the kernel polynomial method and the Fourier transform method for the approximation of the Dirac delta function and conclude that the former is more efficient. In the ballistic regime, the Einstein formula can produce the correct quantized conductance of one-dimensional graphene nanoribbons except for an overshoot near the band edges. In the diffusive regime, the Green-Kubo and the Einstein formalisms are demonstrated to be equivalent. A comparison of the lengthdependence of the conductancein the localization regime obtained by the Einstein formula with that obtained by the non-equilibrium Green’s function method reveals the challenges in defining the length in the Kubo-Greenwood formalism at the strongly localized regime. _Keywords:_ graphene, Quantum transport, Kubo-Greenwood formula, Chebyshev polynomial expansion, Graphics processing unit, CUDA 1. Introduction Quantum simulations are very important tools to study transport phenomena in the nanoscale, both for electrons and phonons. There are mainly two numerical approaches for quantum transport simulations, one is the widely used nonequilibrium Green’s function (NEGF) method [1] and the other is the Kubo-Greenwood method [2, 3]. Both methods have been widely used to study the electronic properties of graphene, a two-dimensional sheet of carbon atoms [4, 5]. Despite this, the field of electronic transport in graphene has remained very actively debated. So far, the NEGF method has been mostly used to simulate relatively small systems, due to the cubic scaling of the computational effort associated with matrix inversion. Although an efficient iterative method [6] enables the simulation of very long systems, this method is still restricted to studying quasione-dimensional (1D) systems, such as carbon nanotubes and graphene nanoribbons (GNRs). The application of the NEGF method to realistically sized two-dimensional (2D) graphene is still not feasible. In contrast, for the Kubo-Greenwood method, a real-space linear-scaling method has been developed [7–10] and used to study transport properties of both quasi-1D systems [11–13] and 2D graphene sheets [14–21]. Moreover, this method has been generalized to studying thermal conductivity [22]. Besides the real-space Kubo method [7–10], which expresses the conductivity as a time-derivative of the mean square displacement, another seemingly different approach [23], which expresses the conductivity as a time-integration of the velocity auto-correlation function, has also been used to study the electronic transport properties of large-scale single-layer [23] and multi-layer [24] graphene sheets, and disordered graphene antidot lattices [25]. Although both of the above methods are based on the KuboGreenwood formula, no connection has been made between them. One of our purposes is to identify the time-derivative approach and the time-integration approach as an Einstein relation and the corresponding Green-Kubo relation, and demonstrate their equivalence numerically. Furthermore, a thorough validation of Kubo-Greenwood formula based quantum transport methods for all the transport regimes is also absent. We thus aim to perform a comprehensive evaluation of the applicability of the linear-scaling Kubo-Greenwood quantum transport simulation method for all three transport regimes: the ballistic, diffusive, and localized regimes. To achieve the above, we find that an efficient implementation is very desirable. Despite the linear-scaling nature of these numerical methods, they are still computationally demanding in most cases. Nowadays, the use of graphics processing units (GPUs) have played a more and more important role in computational physics; finding the solutions to many problems in computational physics has become impressively accelerated by ∗Corresponding author _Email address:_ zheyong.fan@aalto.fi (Zheyong Fan) _Preprint submitted to Computer Physics Communication_ _July 22, 2013_ , (8) using a single or multiple GPUs [26]. In this work, we consider the implementation of the Kubo-Greenwood quantum transport simulation on the GPU, with a unified treatment of the various involved theoretical formalisms and numerical techniques. We will evaluate the performance and correctness of our implementation, as well as the applicability of the method itself. This paper is organized as follows. In section 2, we present the theoretical background of the Kubo-Greenwood formula and the Green-Kubo and Einstein relations which are both derived. In section 3, we give a detailed discussion of the involved numerical techniques and their GPU implementations. After making a performance evaluation in section 4, we thoroughly evaluate the computational method in different transport regimes in section 5. Section 6 concludes. 2. Theoretical formalism The Kubo-Greenwood formula [3] for DC conductivity σ <sup>KG</sup> µν <sup>(</sup> <sup>_E_</sup> <sup>) as a function of the energy</sup> <sup>_E_</sup> <sup>at zero temperature is</sup> ρ( _E_ ) = Tr - Ω2 <sup>δ(</sup> <sup>_E_</sup> <sup>−</sup> <sup>_H_</sup> <sup>)</sup> where _V_ ( _t_ ) = _U_ <sup>†</sup> ( _t_ ) _VU_ ( _t_ ) = _e_ <sup>_iHt_</sup> <sup>/ℏ</sup> _Ve_ <sup>−</sup> <sup>_iHt_</sup> <sup>/ℏ</sup> is the velocity operator in the Heisenberg representation, and ρ( _E_ ) the density of states (DOS). The Green-Kubo relation constitutes essentially the formalism used by Yuan _et al._ [23, 24]. For a specific Green-Kubo formula, there is generally a corresponding Einstein formula. By integrating the Green-Kubo formula, we obtain the following Einstein formula, which expresses the REC as a time-derivative of the mean square displacement (MSD) ∆ _X_ <sup>2</sup> ( _E_, _t_ ), σ <sup>E1</sup> ( _E_, _t_ ) = _e_ <sup>2</sup> ρ( _E_ ) <sup>_d_</sup> (9) 2 _dt_ <sup>∆</sup> <sup>_X_</sup> <sup>2(</sup> <sup>_E_</sup> <sup>,</sup> <sup>_t_</sup> <sup>),</sup> - Ω2 <sup>δ(</sup> <sup>_E_</sup> <sup>−</sup> <sup>_H_</sup> <sup>) (</sup> <sup>_X_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) −</sup> <sup>_X_</sup> <sup>)2�</sup> ∆ _X_ <sup>2</sup> ( _E_, _t_ ) = Tr Tr <sup>_X_</sup> <sup>)2�</sup>, (10) - Ω2 <sup>δ(</sup> <sup>_E_</sup> <sup>−</sup> <sup>_H_</sup> <sup>)</sup> <sup>KG</sup> µν <sup>(</sup> <sup>_E_</sup> <sup>) =</sup> <sup>2πℏ</sup> <sup>_e_</sup> <sup>2</sup> Ω σ <sup>KG</sup> µν <sup>ℏ</sup> <sup>_e_</sup> <sup>2</sup> Tr Ω - _V_ µδ( _E_ - _H_ ) _V_ νδ( _E_ - _H_ )� - . (1) where _X_ ( _t_ ) = _U_ <sup>†</sup> ( _t_ ) _XU_ ( _t_ ) is the position operator in the Heisenberg representation. An alternative definition, in which the derivative in the above equation is replaced by a division, σ <sup>E2</sup> ( _E_, _t_ ) = _e_ <sup>2</sup> ρ( _E_ ) <sup>∆</sup> <sup>_X_</sup> <sup>2(</sup> <sup>_E_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup>, (11) 2 _t_ where ℏ is the reduced Plank constant, _e_ is the electron charge, Ω is the system volume, _V_ µ is the velocity operator in the µdirection, _H_ is the Hamiltonian of the system, and Tr denotes the trace. The factor of two results from spin degeneracy. For simplicity, we only consider transport along one direction. Then, the above formula can be simplified to be σ <sup>KG</sup> ( _E_ ) = <sup>2πℏ</sup> <sup>_e_</sup> <sup>2</sup> (2) Ω Tr [ _V_ δ( _E_ - _H_ ) _V_ δ( _E_ - _H_ )] . By Fourier transforming one of the δ functions in the above formula, 1 δ( _E_ - _H_ ) = 2πℏ - +∞ −∞ −∞ _dte_ <sup>_i_</sup> <sup>(</sup> <sup>_E_</sup> <sup>−</sup> <sup>_H_</sup> <sup>)</sup> <sup>_t_</sup> <sup>/ℏ</sup>, (3) is frequently used, since it gives smoother curves for the REC than σ <sup>E1</sup> ( _E_, _t_ ) does. The above Einstein relation is exactly the real-space Kubo method [7–10]. We will demonstrate the equivalence of the Green-Kubo formalism and the Einstein formalism numerically. Specifically, we will show that σ <sup>E1</sup> ( _E_, _t_ ) and σ <sup>GK</sup> ( _E_, _t_ ) are equivalent, while σ <sup>E2</sup> ( _E_, _t_ ) deviates from the other two to some degree. By going from the Kubo-Greenwood formalism to the Green-Kubo or the Einstein formalism, the conductivity becomes a function of not only the energy _E_, but also the correlation time _t_ . Usually, one takes the following large time limit: σ <sup>KG</sup> ( _E_ ) = _t_ lim→∞ _t_ lim→∞ <sup>σGK(</sup> <sup>_E_</sup> <sup>,</sup> <sup>_t_</sup> <sup>) =</sup> _t_ <sup>lim</sup> →∞ we have σ( _E_ ) = <sup>_e_</sup> <sup>2</sup> Ω or equivalently, σ( _E_ ) = <sup>_e_</sup> <sup>2</sup> Ω - +∞ −∞ _t_ <sup>lim</sup> →∞ <sup>σE1(</sup> <sup>_E_</sup> <sup>,</sup> <sup>_t_</sup> <sup>).</sup> (12) - +∞ −∞ - _e_ <sup>_iEt_</sup> <sup>/ℏ</sup> _Ve_ <sup>−</sup> <sup>_iHt_</sup> <sup>/ℏ</sup> _V_ δ( _E_ - _H_ )�, (4) - _e_ <sup>_iHt_</sup> <sup>/ℏ</sup> _Ve_ <sup>−</sup> <sup>_iHt_</sup> <sup>/ℏ</sup> _V_ δ( _E_ - _H_ )� . (5) _dt_ Tr _dt_ Tr due to the remaining δ function. Through a change of variables, _t_ →− _t_, we get the following Green-Kubo formula [2, 27], which expresses the running electrical conductivity (REC) as a time-integration of the velocity auto-correlation (VAC) _Cvv_ ( _E_, _t_ ), However, the convergence of this limit is only ensured for diffusive transport, in which case the VAC decays to zero and the MSD becomes proportional to _t_, resulting in a converged REC. For ballistic transport, the VAC oscillates around a fixed value and the MSD increases quadratically with increasing _t_, resulting in a divergent REC. In the localized regime, the VAC develops negative values and the slope of the MSD decreases, resulting in a decaying REC. In this paper, we take graphene as our test system. We use _Nx_ to represent the number of dimer lines located along the zigzag edge and _Ny_ to represent the number of zigzag-shaped chains across the armchair edge. Thus, an _Nx_ × _Ny_ graphene sample has _N_ = _NxNy_ carbon atoms, and the lengths in the zigzag and armchair directions are _Lx_ = √3 _Nxa_ /2 and _Ly_ = 3 _Nya_ /2, σ <sup>GK</sup> ( _E_, _t_ ) = _e_ <sup>2</sup> ρ( _E_ ) _Cvv_ ( _E_, _t_ ) _dt_, (6) �0 _t_ √ - Ω2 <sup>δ(</sup> <sup>_E_</sup> <sup>−</sup> <sup>_H_</sup> <sup>) (</sup> <sup>_V_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_V_</sup> <sup>+</sup> <sup>_VV_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)) /2</sup> 2 and armchair directions are _Lx_ = √3 _Nxa_ /2 and _Ly_ = 3 _Nya_ /2, respectively, where _a_ = 0.142 nm is the carbon-carbon bond length used. For 2D graphene, periodic boundary conditions are applied in both directions; for quasi-1D armchair graphene nanoribbon (AGNR) and zigzag graphene nanoribbon (ZGNR), _Cvv_ ( _E_, _t_ ) = Tr Tr - Ω2 <sup>δ(</sup> <sup>_E_</sup> <sup>−</sup> <sup>_H_</sup> <sup>)</sup> <sup>(</sup> <sup>_t_</sup> <sup>)) /2</sup> -, (7) <sup>2</sup> we use periodic boundary conditions along the transport (longitudinal) direction, and non-periodic boundary conditions along the perpendicular direction. We use a nearest-neighbor _pz_ orbit tight-binding Hamiltonian for pristine systems: _3.1.2._ _Approximation of the_ δ _function_ The second approximation is related to the δ function. There are various kinds of methods to approximate this, including the Lanczos recursion method (LRM) [29, 30], the Fourier transform method (FTM) [31, 32], and the kernel polynomial method (KPM) [28]. The LRM and the KPM has been compared in Ref. [28]. In this work, we use the FTM and the KPM and give a comparison of them. In the FTM [31, 32], the δ function is approximated by a truncated discrete Fourier series expansion, and we can rewrite Eqs. (19-21) as _H_ = ⟨ _mn_ ⟩ _Hmn_ | _m_ ⟩⟨ _n_ | = − ⟨ _mn_ ⟩ γ0| _m_ ⟩⟨ _n_ |, (13) where the hopping parameter γ0 is chosen to be 2.7 eV. With this notation, the position and velocity operators can be expressed as _X_ = - _m_ _m_ _Xm_ | _m_ ⟩⟨ _m_ |, (14) + _Nm_ _n_ =− _Nm_ + _Nm_ =− _N_ ℏ <sup>_i_</sup> <sup>[</sup> <sup>_H_</sup> <sup>,</sup> <sup>_X_</sup> <sup>] =</sup> ℏ <sup>_i_</sup> _V_ = ℏ <sup>_i_</sup> ℏ ⟨ _mn_ ⟩ ρ( _E_ ) _Cvv_ ( _E_, _t_ ) ≈ π <sup>∆</sup> ℏ <sup>τ</sup> Ω ρ( _E_ ) _Cvv_ ( _E_, _t_ ) ≈ π <sup>∆</sup> ℏ <sup>τ</sup> Ω ρ( _E_ ) ≈ π <sup>∆</sup> ℏ <sup>τ</sup> Ω ρ( _E_ ) ≈ π <sup>∆</sup> ℏ <sup>τ</sup> Ω _wne_ <sup>_iEn_</sup> <sup>∆τ/ℏ</sup> _Fn_ <sup>DOS</sup>, (22) _wne_ <sup>_iEn_</sup> <sup>∆τ/ℏ</sup> _Fn_ <sup>DOS</sup> ( _Xn_ - _Xm_ ) _Hmn_ | _m_ ⟩⟨ _n_ |. (15) We also consider systems with random single vacancies, which are modeled by removing carbon atoms randomly according to the prescribed defect concentrations. The defect concentration _n_ is determined by the system size _N_ and the number of vacancies _Nv_ as _n_ = _Nv_ / _N_ . ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ) ≈ π <sup>∆</sup> ℏ <sup>τ</sup> Ω ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ) ≈ π <sup>∆</sup> ℏ <sup>τ</sup> Ω + _Nm_ _n_ =− _Nm_ + _Nm_ =− _N_ _wn_ Re _e_ <sup>_iEn_</sup> <sup>∆τ/ℏ</sup> _Fn_ <sup>VAC</sup> ( _t_ ) -, (23) _n_ =− _Nm_ + _Nm_ =− _N_ _wne_ <sup>_iEn_</sup> <sup>∆τ/ℏ</sup> _Fn_ <sup>MSD</sup> ( _t_ ), (24) _n_ <sup>VAC</sup> ( _t_ ), and _Fn_ <sup>MSD</sup> ( _n_ <sup>MSD</sup> ( _t_ ) are the Fourier moments: 3. Numerical implementation _3.1._ _Numerical approximations_ Based on the discussion of the last section, we see that the quantities that need to be calculated are ρ( _E_ ), ρ( _E_ ) _Cvv_ ( _E_, _t_ ), and ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ). To facilitate the numerical calculation, we firstly rewrite ρ( _E_ ) _Cvv_ ( _E_, _t_ ) and ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ) in the following symmetric forms (using the cyclic properties of the trace): where _Fn_ <sup>DOS</sup> _n_ <sup>DOS</sup>, _Fn_ <sup>VAC</sup> _Fn_ <sup>DOS</sup> (25) ≈⟨φ| _U_ ( _n_ ∆τ)|φ⟩, _Fn_ <sup>VAC</sup> ( _n_ <sup>VAC</sup> (26) ( _t_ ) ≈⟨φ| _U_ ( _t_ ) _VU_ ( _n_ ∆τ) _U_ ( _t_ ) <sup>†</sup> _V_ |φ⟩, _Fn_ <sup>MSD</sup> _n_ <sup>MSD</sup> (27) ( _t_ ) ≈⟨φ|[ _X_, _U_ ( _t_ )] <sup>†</sup> _U_ ( _n_ ∆τ)[ _X_, _U_ ( _t_ )]|φ⟩. ρ( _E_ ) _Cvv_ ( _E_, _t_ ) = <sup>2</sup> Ω <sup>Re</sup> - _U_ ( _t_ ) _V_ δ( _E_ - _H_ ) _U_ ( _t_ ) <sup>†</sup> _V_ �� (16) Note that a window function should be applied before performing the Fourier transform to suppress the unwanted Gibbs oscillation. Usually, a Hanning window (28) �� ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ) = <sup>2</sup> Ω �[ _X_, _U_ ( _t_ )] <sup>†</sup> δ( _E_ - _H_ )[ _X_, _U_ ( _t_ )] �Tr <sup>2</sup> Ω <sup>Tr</sup> - . (17) is used [31]. We will discuss the choice of the time step ∆τ used in the above Fourier transforms when we compare the relative performance of the FTM and the KPM in the next section. In the KPM [28], the δ function is approximated by a truncated Chebyshev polynomial expansion, and we can rewrite Eqs. (19-21) as _wn_ = <sup>1</sup> 2 _wn_ = <sup>1</sup> 2 π _n_ 1 + cos - - _Nm_ + 1 The reason for this will be apparent when we consider the GPUimplementation. To achieve linear-scaling, we have to make three approximations presented below. _3.1.1._ _Approximation of the trace_ The first approximation is to use a random vector |φ⟩ to evaluate the trace [28]: _Nm_ −1 - _n_ =0 Tr [ _A_ ] ≈⟨φ| _A_ |φ⟩, (18) 2 ρ( _E_ ) ≈ πΩ √ 1 πΩ √ _n_, (29) _gn_ (2 − δ _n_ 0) _Tn_ ( _E_ ) _C_ <sup>DOS</sup> _n_, _gn_ (2 − δ _n_ 0) _Tn_ ( _E_ ) _C_ <sup>DOS</sup> where _A_ is an arbitrary matrix operator, and |φ⟩ is normalized to the matrix dimension _N_, ⟨φ|φ⟩ = _N_ . With this approximation, we have 1 − _E_ <sup>2</sup> (30) , _Tn_ ( _E_ ) _Cn_ <sup>VAC</sup> _n_ <sup>VAC</sup> ( _t_ ) ρ( _E_ ) ≈ Ω <sup>2</sup> _Nm_ −1 - _n_ =0 _gn_ (2−δ _n_ 0)Re 2 ρ( _E_ ) _Cvv_ ( _E_, _t_ ) ≈ πΩ √ 1 πΩ √ 1 − _E_ <sup>2</sup> ρ( _E_ ) _Cvv_ ( _E_, _t_ ) ≈ Ω <sup>2</sup> ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ) ≈ Ω <sup>2</sup> (19) Ω <sup>2</sup> <sup>⟨φ|δ(</sup> <sup>_E_</sup> <sup>−</sup> <sup>_H_</sup> <sup>)|φ⟩,</sup> _n_ =0 Ω <sup>2</sup> <sup>Re</sup> �⟨φ| _U_ ( _t_ ) _V_ δ( _E_ - _H_ ) _U_ ( _t_ ) <sup>†</sup> _V_ |φ⟩ -, (20) 2 ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ) ≈ πΩ √ 1 πΩ _Nm_ −1 - _n_ =0 √ 1 − _E_ <sup>2</sup> _n_ ( _t_ ), _gn_ (2 − δ _n_ 0) _Tn_ ( _E_ ) _C_ <sup>MSD</sup> (21) Ω <sup>2</sup> <sup>⟨φ|[</sup> <sup>_X_</sup> <sup>,</sup> <sup>_U_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)]†δ(</sup> <sup>_E_</sup> <sup>−</sup> <sup>_H_</sup> <sup>)[</sup> <sup>_X_</sup> <sup>,</sup> <sup>_U_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)]|φ⟩.</sup> (31) where _Tn_ ( _E_ ) is the _n_ th order Chebyshev polynomial of the first kind and _Cn_ <sup>DOS</sup>, _Cn_ <sup>VAC</sup> ( _t_ ), and _Cn_ <sup>MSD</sup> ( _t_ ) are the Chebyshev mo The error introduced by this approximation decreases with increasing _N_ . For a given _N_, the accuracy can also be increased by using a higher number of random vectors. Quantitatively, the relative error is of order _O_ (1/ <sup>√</sup> _Nr_ _N_ ) [28], where _Nr_ is the number of random vectors. _n_ <sup>DOS</sup>, _Cn_ <sup>VAC</sup> _n_ <sup>VAC</sup> ( _t_ ), and _Cn_ <sup>MSD</sup> kind and _Cn_ <sup>DOS</sup>, _Cn_ <sup>VAC</sup> ( _t_ ), and _Cn_ <sup>MSD</sup> ( _t_ ) are the Chebyshev mo ments: _Cn_ <sup>DOS</sup> _Cn_ <sup>VAC</sup> _n_ <sup>DOS</sup> (32) ≈⟨φ| _Tn_ ( _H_ )|φ⟩, 3 _n_ <sup>VAC</sup> (33) ( _t_ ) ≈⟨φ| _U_ ( _t_ ) _VTn_ ( _H_ ) _U_ ( _t_ ) <sup>†</sup> _V_ |φ⟩, _Cn_ <sup>MSD</sup> _n_ <sup>MSD</sup> (34) ( _t_ ) ≈⟨φ|[ _X_, _U_ ( _t_ )] <sup>†</sup> _Tn_ ( _H_ )[ _X_, _U_ ( _t_ )]|φ⟩. Similarly, a damping factor should be applied before performing the Chebyshev summation in order to suppress the Gibbs oscillation. Usually, the Jackson damping [28] _gn_ = (1 − _n_ α) cos (π _n_ α) + α sin (π _n_ α) cot (πα), (35) where α = 1/( _Nm_ + 1) is used. Note that the above Chebyshev expansions assume that _H_ has been scaled and shifted [28] so that the spectrum lies in the interval [−1, 1] . Both the Fourier and the Chebyshev moments can be evaluated iteratively. Detailed algorithms will be presented when we consider the GPU-implementation. _3.1.3._ _Approximation of the time-evolution_ The third approximation is to evaluate the application of the time-evolution operators on state vectors using a finite-term polynomial expansion. From the discussion above, we see that there are three kinds of time-evolution operators: _U_ (∆ _t_ ), _U_ (∆ _t_ ) <sup>†</sup> = _U_ (−∆ _t_ ), and [ _X_, _U_ ( _t_ )]. Their operations can be evaluated very accurately and efficiently in a linear-scaling way by using the Chebyshev polynomial expansion [33, 34]: CPU and the GPU. Here we present the pseudo codes for calculating ρ( _E_ ), ρ( _E_ ) _Cvv_ ( _E_, _t_ ), and ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ) in Algorithms 1, 2, and 3, respectively. While for ρ( _E_ ), we only need to calculate one set of moments, for ρ( _E_ ) _Cvv_ ( _E_, _t_ ) and ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ), we have to calculate a set of moments at each correlation time _tm_ (0 ≤ _m_ < _Nc_ ). Thus, calculating the conductivity is generally much more demanding than calculating the DOS. Note that we only calculate the moments in the GPU, and copy their results to the CPU for performing the Fourier transform or the Chebyshev summation. We could do all the calculations in the GPU, but it does not result in a significant gain in the overall performance, since the calculation of the moments takes the majority of the computation time. In the previous subsection, we have written ρ( _E_ ) _Cvv_ ( _E_, _t_ ) and ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ) in symmetric forms. The advantage is that we can use the following iteration relations to calculate the conductivity at different correlation times: _U_ <sup>†</sup> ( _t_ + ∆ _t_ ) _V_ |φ⟩ = _U_ <sup>†</sup> (∆ _t_ ) _U_ <sup>†</sup> ( _t_ ) _V_ |φ⟩, (42) ⟨φ| _U_ ( _t_ + ∆ _t_ ) _V_ = ⟨φ| _U_ ( _t_ ) _U_ (∆ _t_ ) _V_, (43) [ _X_, _U_ ( _t_ +∆ _t_ )]|φ⟩ = _U_ (∆ _t_ )[ _X_, _U_ ( _t_ )]|φ⟩+[ _X_, _U_ (∆ _t_ )] _U_ ( _t_ )|φ⟩. (44) Algorithm 1 Pseudo code for calculating ρ( _E_ ). 1: if use the FTM then 2: calculate _Fn_ <sup>DOS</sup> - ∆ℏ _t_ _Tm_ ( _H_ ), (36) _U_ (±∆ _t_ ) ≈ _Np_ −1 - _m_ =0 (2 − δ0 _m_ )(∓ _i_ ) <sup>_m_</sup> _Jm_ [ _X_, _Tm_ ( _H_ )], (37) 3: copy the _Fn_ <sup>DOS</sup> 4: calculate ρ( _E_ ) in the CPU using Eq. (22) 5: end if _n_ <sup>DOS</sup> in Eq. (25) in the GPU _n_ <sup>DOS</sup> data from the GPU to the CPU [ _X_, _U_ (∆ _t_ )] ≈ _Np_ −1 (2 − δ0 _m_ )(− _i_ ) <sup>_m_</sup> _Jm_ - _m_ =0 - ∆ℏ _t_ 6: if use the KPM then 7: calculate _Cn_ <sup>DOS</sup> 8: copy the _Cn_ <sup>DOS</sup> _n_ <sup>DOS</sup> in Eq. (32) in the GPU _n_ <sup>DOS</sup> data from the GPU to the CPU where _Jm_ ℏ - ∆ _t_ where _Jm_ ℏ is the _m_ th order Bessel function of the first kind. Time-evolution of quantum states has also been considered with� ∆ _t_ regard to GPU computation in other contexts [35–37]. The above expansions assume that the spectrum of _H_ lies in the interval [−1, 1]. For a Hamiltonian with spectrum beyond this range, we need to shift and scale it, with a corresponding opposite scaling of the time interval ∆ _t_ . The order of expansion _Np_ depends on the time interval ∆ _t_ and the desired accuracy. The above summations can be efficiently evaluated by using the following recursion relations ( _m_ ≥ 2): 9: calculate ρ( _E_ ) in the CPU using Eq. (29) 10: end if Algorithm 2 Pseudo code for calculating ρ( _E_ ) _Cvv_ ( _E_, _t_ ). Require: |φ⟩ is the initial random vector _Tm_ ( _H_ ) = 2 _HTm_ −1( _H_ ) − _Tm_ −2( _H_ ), (38) [ _X_, _Tm_ ( _H_ )] = 2[ _X_, _H_ ] _Tm_ −1( _H_ ) + 2 _H_ [ _X_, _Tm_ −1( _H_ )] − [ _X_, _Tm_ −2], (39) _T_ 0( _H_ ) = 1 _T_ 1( _H_ ) = _H_, (40) [ _X_, _T_ 0( _H_ )] = 0, [ _X_, _T_ 1( _H_ )] = [ _X_, _H_ ]. (41) _3.2._ _GPU implementation_ In this subsection, we consider the GPU implementation of the algorithms. We use CUDA [38] as our developing tool. We only discuss the relevant techniques of our CUDA implementation when appropriate; the reader is referred to the official programming guide [38] for more details. To achieve high performance, we implement nearly all of the algorithms on the GPU, minimizing data transfer between the 1: for _m_ = 1 to _Nc_ - 1 do 2: 2: calculate _U_ <sup>†</sup> ( _tm_ ) _V_ |φ⟩ iteratively using Eq. (42) 3: calculate ⟨φ| _U_ ( _tm_ ) _V_ iteratively using Eq. (43) 4: if use the FTM then 4: if use the FTM then 5: calculate _Fn_ <sup>VAC</sup> 5: calculate _Fn_ <sup>VAC</sup> in Eq. (26) in the GPU 6: copy the _Fn_ <sup>VAC</sup> data from the GPU to the CPU _n_ <sup>VAC</sup> data from the GPU to the CPU 7: calculate ρ( _E_ ) _Cvv_ ( _E_, _tm_ ) in the CPU using Eq. (23) 8: end if 9: if use the KPM then 10: calculate _Cn_ <sup>VAC</sup> 10: calculate _Cn_ <sup>VAC</sup> in Eq. (33) in the GPU 11: copy the _Cn_ <sup>VAC</sup> data from the GPU to the CPU _n_ <sup>VAC</sup> data from the GPU to the CPU 12: calculate ρ( _E_ ) _Cvv_ ( _E_, _tm_ ) in the CPU using Eq. (30) 13: end if 14: end for The calculation of the moments in both the FTM and the KPM used in the above three algorithms can also be carried 4 Algorithm 3 Pseudo code for calculating ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _t_ ). Require: |φ⟩ is the initial random vector 1: for _m_ = 0 to _Nc_ - 1 do 2: calculate [ _X_, _U_ ( _tm_ )]|φ⟩ iteratively using Eq. (44) 3: if use the FTM then Algorithm 5 Pseudo code for calculating the Chebyshev moments _Cn_ = ⟨φ _L_ | _Tn_ ( _H_ )|φ _R_ ⟩. 3: if use the FTM then 4: calculate _Fn_ <sup>MSD</sup> 4: calculate _Fn_ <sup>MSD</sup> in Eq. (27) in the GPU 5: copy the _Fn_ <sup>MSD</sup> data from the GPU to the CPU _n_ <sup>MSD</sup> data from the GPU to the CPU 6: calculate ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _tm_ ) in the CPU using Eq. (24) 1: kernel: |φ0⟩←|φ _R_ ⟩ 2: kernel: _C_ 0 ←⟨φ _L_ |φ0⟩ 3: kernel: |φ1⟩← _H_ |φ0⟩ 4: kernel: _C_ 1 ←⟨φ _L_ |φ1⟩ 7: end if 8: if use the KPM then 9: calculate _Cn_ <sup>MSD</sup> 9: calculate _Cn_ <sup>MSD</sup> in Eq. (34) in the GPU 10: copy the _Cn_ <sup>MSD</sup> data from the GPU to the CPU _n_ <sup>MSD</sup> data from the GPU to the CPU 11: calculate ρ( _E_ )∆ _X_ <sup>2</sup> ( _E_, _tm_ ) in the CPU using Eq. (31) 5: for _n_ = 2 to _Nm_ - 1 do 6: kernel: |φ2⟩← 2 _H_ |φ1⟩−|φ0⟩ 7: 7: kernel: _Cn_ ←⟨φ _L_ |φ2⟩ 8: end for 8: end for 12: end if 13: end for out iteratively. We note that the Fourier moments in equations (25 - 27) can be expressed in a unified way: _Fn_ ≈⟨φ _L_ | _U_ ( _n_ ∆ _t_ )|φ _R_ ⟩. (45) Different moments only differ in |φ _L_ ⟩ and |φ _R_ ⟩: for DOS, |φ _L_ ⟩ = |φ _R_ ⟩ = |φ⟩; for VAC, |φ _L_ ⟩ = _VU_ <sup>†</sup> ( _t_ )|φ⟩ and |φ _R_ ⟩ = _U_ <sup>†</sup> ( _t_ ) _V_ |φ⟩; for MSD, |φ _L_ ⟩ = |φ _R_ ⟩ = [ _X_, _U_ ( _t_ )]|φ⟩. Similarly, the Chebyshev moments in equations (32 - 34) can be expressed uniformly as _Cn_ ≈⟨φ _L_ | _Tn_ ( _H_ )|φ _R_ ⟩. (46) Thus, we can present the calculations of these different moments in a unified way, as shown in Algorithms 4 and 5. Algorithm 4 Pseudo code for calculating the Fourier moments _Fn_ = ⟨φ _L_ | _U_ ( _n_ ∆τ)|φ _R_ ⟩. Algorithm 6 Pseudo code for calculating |φout⟩ = _U_ (±∆ _t_ )|φin⟩ 1: kernel: |φ0⟩←|φin⟩ 2: kernel: |φ1⟩← _H_ |φ0⟩ - |φ0⟩ + 2(∓ _i_ ) _J_ 1 |φ1⟩ ℏ 3: kernel: |φout⟩← _J_ 0 - ∆ _t_ 4: for _m_ = 2 to _Np_ - 1 ℏ - ∆ _t_ - ∆ _t_ 4: for _m_ = 2 to _Np_ - 1 do 5: kernel: |φ2⟩← 2 _H_ |φ1⟩−|φ0⟩ 6: 6: kernel: |φout⟩←|φout⟩ + 2(∓ _i_ ) <sup>_m_</sup> _Jm_ 7: ℏ - ∆ _t_ 6: ℏ kernel: |φout⟩←|φout⟩ + 2(∓ _i_ ) <sup>_m_</sup> _Jm_ |φ2⟩ 7: - ∆ _t_ Permute pointers: |φ0⟩←|φ1⟩, |φ1⟩←|φ2⟩, |φ2⟩←|φ0⟩ 8: end for 8: end for 1: kernel: |φ <sup>′</sup> _R_ <sup>⟩←|φ</sup> <sup>_R_</sup> <sup>⟩</sup> 2: kernel: _F_ 0 ←⟨φ _L_ |φ _R_ <sup>′</sup> <sup>⟩</sup> 3: for _n_ = 1 to _Nm_ do 3: for _n_ = 1 to _Nm_ do 4: calculate |φ <sup>′</sup> _R_ <sup>⟩←</sup> 5: <sup>′</sup> _R_ <sup>⟩←</sup> <sup>_U_</sup> <sup>(∆τ)|φ′</sup> _R_ 5: kernel: _Fn_ ←⟨φ _L_ |φ _R_ <sup>′</sup> 6: end for <sup>′</sup> _R_ <sup>⟩</sup> <sup>in the GPU</sup> 6: end for 7: kernel: |φ <sup>′</sup> _R_ <sup>⟩←|φ</sup> <sup>_R_</sup> <sup>⟩</sup> 8: for _n_ = 1 to _Nm_ do _R_ <sup>′</sup> <sup>⟩</sup> 8: for _n_ = 1 to _Nm_ do 9: calculate |φ <sup>′</sup> _R_ <sup>⟩←</sup> _R_ <sup>′</sup> <sup>⟩</sup> <sup>′</sup> _R_ <sup>⟩←</sup> <sup>_U_</sup> <sup>†(∆τ)|φ′</sup> _R_ Algorithm 7 Pseudo code for calculating = |φout⟩ [ _X_, _U_ (∆ _t_ )]|φin⟩ 1: kernel: |φ0⟩←|φin⟩ 2: kernel: |φ0 <sup>_x_</sup> <sup>⟩←</sup> <sup>0</sup> 3: kernel: |φ1⟩← _H_ |φ0⟩ 10: kernel: _F_ - _n_ ←⟨φ _L_ |φ _R_ <sup>′</sup> 11: end for <sup>′</sup> _R_ <sup>⟩</sup> <sup>in the GPU</sup> 11: end for |φ1 <sup>_x_</sup> We next consider the time-evolution of quantum states. In Algorithms 6 and 7, we present the algorithms for evaluating |φout⟩ = _U_ (±∆ _t_ )|φin⟩ and |φout⟩ = [ _X_, _U_ (∆ _t_ )]|φin⟩, according to Eq. (36) and Eq. (37), respectively. In Algorithm 6, besides the input vector |φin⟩, and the output vector |φout⟩, we need three auxiliary vectors, |φ0⟩, |φ1⟩, and |φ2⟩. In Algorithm 7, we need another set of auxiliary vectors, |φ0 <sup>_x_</sup> <sup>⟩, |φ</sup> 1 <sup>_x_</sup> <sup>⟩, and |φ</sup> 2 <sup>_x_</sup> <sup>⟩.</sup> <sup>All of these</sup> vectors should be defined in global memory in order to pass data between kernels. An examination of Algorithms 6 and 7 reveals that, apart from some simple linear transformations, the only nontrivial calculations are the matrix-vector multiplications, |φout⟩ = 5 4: kernel: |φ1 <sup>_x_</sup> <sup>⟩←</sup> <sup>[</sup> <sup>_X_</sup> <sup>,</sup> <sup>_H_</sup> <sup>]|φin⟩</sup> ℏ 5: kernel: |φout⟩← 2(− _i_ ) _J_ 1 - ∆ _t_ 6: for _m_ = 2 to _Np_ - 1 do ℏ 5: kernel: |φout⟩← 2(− _i_ ) _J_ 1 - ∆ _t_ - |φ1 <sup>_x_</sup> <sup>⟩</sup> 6: for _m_ = 2 to _Np_ - 1 do 7: kernel: |φ2⟩← 2 _H_ |φ1⟩−|φ0⟩ 8: kernel: |φ2 <sup>_x_</sup> <sup>⟩←</sup> <sup>2[</sup> <sup>_X_</sup> <sup>,</sup> <sup>_H_</sup> <sup>]|φ1⟩</sup> <sup>+</sup> 2 <sup>_x_</sup> <sup>⟩←</sup> <sup>2[</sup> <sup>_X_</sup> <sup>,</sup> <sup>_H_</sup> <sup>]|φ1⟩</sup> <sup>+ 2</sup> <sup>_H_</sup> <sup>|φ</sup> 1 <sup>_x_</sup> <sup>⟩−|φ</sup> 0 <sup>_x_</sup> <sup>⟩</sup> |φ2 <sup>_x_</sup> φ2 9: kernel: |φout⟩←|φout⟩ + 2(− _i_ ) <sup>_m_</sup> _Jm_ ℏ - ∆ _t_ 2 <sup>_x_</sup> <sup>⟩</sup> 10: - ∆ _t_ Permute pointers: |φ0⟩←|φ1⟩, |φ1⟩←|φ2⟩, |φ2⟩←|φ0⟩ 11: Permute pointers: |φ0 <sup>_x_</sup> <sup>⟩←|φ</sup> 1 <sup>_x_</sup> <sup>⟩, |φ</sup> 1 <sup>_x_</sup> <sup>⟩←|φ</sup> 2 <sup>_x_</sup> <sup>⟩, |φ</sup> 2 <sup>_x_</sup> <sup>⟩←|φ</sup> 0 <sup>_x_</sup> <sup>⟩</sup> 12: end for 12: end for 0 <sup>_x_</sup> <sup>⟩←|φ</sup> 1 <sup>_x_</sup> <sup>⟩, |φ</sup> 1 <sup>_x_</sup> <sup>⟩←|φ</sup> 2 <sup>_x_</sup> <sup>⟩, |φ</sup> 2 <sup>_x_</sup> <sup>⟩←|φ</sup> 0 <sup>_x_</sup> <sup>⟩</sup> _H_ |φin⟩ and |φout⟩ = [ _X_, _H_ ]|φin⟩. In Algorithm 8, we present the pseudo code of the CUDA kernel which evaluates |φout⟩ = _H_ |φin⟩; the evaluation of |φout⟩ = [ _X_, _H_ ]|φin⟩ is very similar. The strategy in Algorithm 8 is to use one thread for one element of the output vector. By using a block size of _S b_, the number of blocks in the kernel is ( _N_ - 1)/ _S b_ + 1, where _N_ is the number of sites in the system. Thus, this kernel is executed with the configuration of <<< ( _N_ - 1)/ _S b_ + 1, _S b_ >>>. The if statement on line 1 is necessary to avoid manipulating invalid memory in the case of _N_ not being an integer multiple of _S b_ . Lines 2-7 are devoted to the calculation of φout[ _n_ ], where the variable temp is used to reduce the global memory access, which is very time-consuming. We use a neighbor list to specify the Hamiltonian, denoting the number of neighbors to site _n_ as NN _n_, and indexing the _k_ th neighbor of site _n_ as NL _nk_ . For a sparse Hamiltonian, NN _n_ is much smaller than the total number of sites _N_ . The NL _nk_ data should be coded in such a way that the indices of the _k_ th neighbor sites for all the sites are stored consecutively, i.e., in the order of NL00, NL10, NL20, · · ·, NL01, NL11, NL21, - · ·, NL0 _k_, NL1 _k_, NL2 _k_, - · · . This special order ensures coalescing in global memory access, which means that consecutive threads access consecutive data in the global memory. This requirement has also been noticed in our previous work on molecular dynamics simulations [39]. Algorithm 8 The algorithm for evaluating |φout⟩ = _H_ |φin⟩ Require: φin[ _m_ ] is the _m_ th component of |φin⟩ Require: φout[ _n_ ] is the _n_ th component of |φout⟩ Require: _n_ = blockIdx.x * blockDim.x + threadIdx.x Require: _N_ is the number of sites in the system Require: NN _n_ is the total number of neighbor sites of site _n_ Require: NL _nk_ is the index of the _k_ th neighbor site of site _n_ 1: if _n_ < _N_ then 2: temp ← 0 3: 3: for _k_ = 0 to NN _n_ - 1 do 4: _m_ ← NL _nk_ 5: temp ← temp + _Hnm_ φin[ _m_ ] 6: end for 7: φout[ _n_ ] ← temp 8: end if 8: end if 4. Performance evaluation In this section, we compare the relative performance of our GPU and CPU implementations, and the relative performance of the FTM and the KPM. _4.1._ _GPU versus CPU_ We firstly evaluate the relative performance of our GPU implementation with respect to our CPU implementation. The comparison is made between a Tesla K20 GPU card and an Intel Xeon E5-1620 @ 3.60 GHz CPU core. The serial CPU code is implemented in C/C++ and is compiled with an O3 optimization mode. Although the algorithms in the previous section are presented by using a complex number notation, in both 6 the CPU and the GPU implementation, we use two real vectors for a complex state vector, which can save nearly half of the calculations compared with a naive use of the intrinsic complex number. Both the CPU and the GPU code use double-precision arithmetics. The major computation which scales linearly with the system size is the Chebyshev iteration, which is used for both the timeevolution and the KPM. We thus present a performance evaluation of the Chebyshev iteration part of the code in some detail. We chose to present the testing results for |φ2⟩ = 2 _H_ |φ1⟩−|φ0⟩; those for |φ2 <sup>_x_</sup> <sup>⟩</sup> <sup>= 2[</sup> <sup>_X_</sup> <sup>,</sup> <sup>_H_</sup> <sup>]|φ1⟩</sup> <sup>+ 2</sup> <sup>_H_</sup> <sup>|φ</sup> 1 <sup>_x_</sup> <sup>⟩−|φ</sup> 0 <sup>_x_</sup> <sup>⟩</sup> <sup>are similar.</sup> Figure 1 shows the results of the performance evaluation of the Chebyshev iteration part, where the speedup factor is defined as the computation time in the CPU over that in the GPU. The computational time in the CPU scales linearly with respect to the simulation size, which reflects the linear-scaling nature of the algorithm. The computation time in the GPU also scales linearly approximately. The speedup factor increases from about 10.5 to about 16.5 with the number of atoms in the simulated system increasing from 0.2 million to 1.6 million and nearly saturates thereafter. For all the other calculations such as the evaluation of the inner products, we also obtained a comparable speedup factor. The overall speedup factor of our GPU implementation over our CPU implementation is observed to be about 16. This speedup factor seems to be not very impressive. Indeed, in our recent work on exact diagonalization of the Hubbard model using the LRM on the GPU [40], a speedup factor of about 60 is obtained using double-precision. The difference in the speedup factor results from the different computational intensities of the problems. For example, in the Hubbard model, for a Hamiltonian size of 853776 (12 spin sites), the computation times for one Lanczos iteration in the CPU and the GPU are about 120 ms and 2 ms, respectively, giving a speedup factor of 60 [40]. In comparison, for our tight-biding model with a Hamiltonian size of 10 <sup>6</sup>, the computation times for one Chebyshev iteration in the CPU and the GPU are about 12.8 ms and 0.8 ms, giving a speedup factor of 16. We see that for a given Hamiltonian size, the Hubbard model is about 10 times more computationally intensive than the single-particle tight-binding model and attains a higher speedup factor. Similar dependence of the speedup factor on the computational intensity has also been observed in our recent work on molecular dynamics simulation [39]. _4.2._ _KPM versus FTM_ We then give a comparison of the relative performance of the KPM and the FTM. For the FTM, the calculation of each Fourier moment involves a time-evolution with a time step ∆τ. The choice of the time step used in the FTM is related to the Nyquist sampling rates used in digital signal analysis: it should not be too large to give aliasing errors, and not too small to reduce the energy resolution [31]. The optimal value of ∆τ corresponding to a maximum bandwidth ∆ _E_ of the energy spectrum without aliasing error can be fixed to be ∆τ = <sup>2πℏ</sup> (47) ∆ _E_ <sup>.</sup> 40 30 20 10 (a) CPU <u>GPU</u> 0 0.5 1 1.5 2 2.5 3 number of atoms (10 <sup>6</sup> ) For a scaled Hamiltonian with spectrum [−1, 1], we have ∆ _E_ = 2 and ∆τ = πℏ. Then, the dimensionless argument in the Bessel function is π, which determines the number of Chebyshev iterations in the time evolution operator _U_ (∆τ) to be about _Np_ = 20 for an accuracy of 10 <sup>−15</sup> . In contrast, the calculation of each Chebyshev moment in the KPM only involves one Chebyshev iteration. To give a fair comparison of the relative efficiency, we should also consider the energy resolution δ _E_, which is related to the number of moments 2 _Nm_ + 1 in the FTM and _Nm_ in the KPM. Quantitatively, we have 2πℏ ∆ _E_ δ _E_ = (48) ∆τ(2 _Nm_ + 1) <sup>=</sup> 2 _Nm_ + 1 δ _E_ = <sup>π∆</sup> <sup>_E_</sup> _Nm_ 18 16 14 12 in the FTM [31] and (b) (49) 10 0.5 1 1.5 2 2.5 3 number of atoms (10 <sup>6</sup> ) Figure 1: (Color online) (a) Computation times for evaluating |φ2⟩ = 2 _H_ |φ1⟩−|φ0⟩ in the CPU and the GPU and (b) the corresponding speedup factor as a function of the system size. Double-precision is used for both the CPU and the GPU code. 0.4 0.3 0.2 0.1 FTM <u>KPM</u> 0 −10 −5 0 5 10 energy (eV) Figure 2: (Color online) DOS as a function of energy for 2D graphene of size 2048 × 1024 (using 10 random vectors) with defect density _n_ = 1% calculated by the KPM with _Nm_ = 1000 and the FTM with 2 _Nm_ + 1 = 1001. in the KPM [28], respectively. Figure 2 gives a comparison of the DOSs calculated by the the KPM with _Nm_ = 1000 and the FTM with 2 _Nm_ + 1 = 1001. We see that they give consistent results and the FTM indeed has a higher energy resolution when using the same number of moments. By combining the above analysis, we come to the conclusion that the KPM is about 20/π ≈ 6.4 times as efficient as the FTM for achieving the same energy resolution. However, for the transport simulations, this difference of efficiency only matters in the diffusive regime, where the correlation time step ∆ _t_ should be relatively small, and the computation time is dominated by the calculation of the δ function. In the localized regime, where the correlation time step is usually chosen to be very large, the computation time is dominated by the timeevolution [ _X_, _U_ ( _t_ )]|φ⟩, and the relative efficiency of the KPM over the FTM does not lead to a significant gain in performance for the whole simulation. 5. Validation In this section, we validate our GPU code by studying the transport properties of 2D graphene and quasi-1D graphene nanoribbons in both the ballistic, the diffusive and the localized regimes. _5.1._ _The ballistic transport regime_ For ballistic transport without any scattering, the VAC does not decay with time, resulting in a divergent conductivity. A finite conductance can only be deduced by introducing a length scale. While there is no intrinsic definition of length in the Green-Kubo and the Einstein formulas, a definition of length in terms of the MSD, is frequently used [10, 17, 18]. The conductance of a system with width _W_ can be defined as _L_ ( _E_, _t_ ) = 2 �∆ _X_ <sup>2</sup> ( _E_, _t_ ) (50) _W_ _G_ ( _E_ ) = _L_ ( _E_, _t_ ) <sup>σE1(</sup> <sup>_E_</sup> <sup>,</sup> <sup>_t_</sup> <sup>).</sup> (51) 7 20 15 1 ~~0~~ 5 (a) (b) Einstein formula <u>NEGF</u> KPM <u>NEGF</u> 0 −1.5 −1 −0.5 0 0.5 1 1.5 energy (eV) 102 100 10−2 −1.5 −1 −0.5 0 0.5 1 1.5 energy (eV) (d) E = 0 eV <u>E = 0.725 eV</u> 100 10−2 (c) Einstein formula <u>NEGF</u> 10−4 −1.5 −1 −0.5 0 0.5 1 1.5 energy (eV) 3 2 1 0 −1 −2 0 10 20 30 40 50 time (fs) Figure 4: (Color online) Ballistic transport properties for pristine ZGNR of size 65536 × 16 (using 100 random vectors). (a) Ballistic conductance as a function of energy calculated by the Einstein formula (Eq. (51)) and the NEGF method. (b) DOS calculated by the KPM and the NEGF correlation time for the Dirac point and the next band edge.method. (c) - _v_ <sup>2</sup> ( _E_ ) as a function of energy deduced from the calculated DOS and conductance by using Eq. (52). (d) VACs as a function of 600 500 400 300 200 100 NPBC, 2048 × 1024 NPBC, 1024 × 1024 PBC, 2048 × 1024 <u>PBC, 1024 × 1024</u> 0 0 100 200 300 400 500 time (fs) Figure function 3: of(Colorthe correlationonline) Lengthtime fordefinedpristineby graphene _L_ = 2 �∆with _X_ <sup>2</sup> ( _E_ di, _t_ ff)erentas a sizes and different boundary conditions along the transport direction (the zigzag direction): periodic (PBC) and non-periodic (NPBC). The solid and dashed horizontal lines indicate the sample lengths along the transport direction: 126 nm and 252 nm for 1024 × 1024 graphene and 2048 × 1024 graphene, respectively. Although the correlation time _t_ appears in the above equation, a converged time-independent (length-independent) value of _G_ ( _E_ ) can be obtained within a short correlation time. We note that the factor of 2 in the above length definition is necessary to obtain correct results if we use the correct definition of conductivity, σ <sup>E1</sup> ( _E_, _t_ ), rather than the alternative, σ <sup>E2</sup> ( _E_, _t_ ), which is half of σ <sup>E1</sup> ( _E_, _t_ ) in the ballistic regime. To justify the factor of 2 in Eq. (50), we examine the timedependence of the length for pristine graphene with different sizes and different boundary conditions along the transport direction, which is chosen to be the zigzag direction. By applying periodic boundary conditions in the transport direction, there is no noticeable difference in the results obtained by using a longer sample (252 nm for 2048 × 1024 graphene) and a shorter sample (126 nm for 1024 × 1024 graphene), which reflects the small finite size effect in Green-Kubo-like formulas [39]. In contrast, by imposing a non-periodic boundary condition in the transport direction, the diffusion of electrons is confined by the sample size, with the maximum diffusion length as defined in Eq. (50) being the length of the sample. The factor of 2 can also distancebe understood intuitively:in one direction, and�∆ _X_ the <sup>2</sup> ( _E_ factor, _t_ ) is the absolute diof 2 accounts ffforusionthe diffusion in the opposite direction. We now study the ballistic transport properties of a 65536 × 16 pure ZGNR by comparing the results with those obtained by the NEGF method. As can be seen from Fig. 4 (a), the overall plateaus of the quantized conductance can be correctly pro 8 duced by Eq. (51), but the conductances around the band edges are overestimated. Markussen _et al_ . [12] also noticed this problem and argued that the overshoots near the band edges originate from the nonequivalence between the expectation values of _v_ ( _E_ ) and the square root of the expectation value of _v_ <sup>2</sup> ( _E_ ). Here, we give an analysis of this problem from the numerical perspective. In the ballistic regime, the VAC oscillates around some value (see Fig. 4 (d) for an example), and an average value of _v_ <sup>2</sup> ( _E_ ) can be well established over a short correlation time. Thus we can express the MSD as ∆ _X_ <sup>2</sup> ( _E_, _t_ ) = _v_ <sup>2</sup> ( _E_ ) _t_ <sup>2</sup>, which results in the following expression for the conductance: _G_ ( _E_ ) = <sup>_W_</sup> _v_ <sup>2</sup> ( _E_ ). (52) 2 <sup>_e_</sup> <sup>2ρ(</sup> <sup>_E_</sup> <sup>)</sup> One may note that for the Dirac point, σ <sup>E1</sup> ( _E_, _t_ ) has large fluctuations when _t_ - 10 fs. This reflects the numerical difficulty of calculating the derivative in Eq. (9), especially for small time steps, and is probably the reason for the preference of using σ <sup>E2</sup> ( _E_, _t_ ) instead of σ <sup>E1</sup> ( _E_, _t_ ) in some previous works. However, we stress that σ <sup>E2</sup> ( _E_, _t_ ) is a wrong definition in principle and should be used with caution. The most interesting quantity in the diffusive regime is the semi-classical conductivity, σsc, which is conventionally defined [11–21] to be the maximum value of the REC: σ _sc_ ( _E_ ) = max{σ( _E_, _t_ ), _t_ - 0}. (53) Using this definition, the calculated σsc( _E_ ) (the solid line in Fig. 6) exhibits a plateau of minimum conductivity σmin = 4 _e_ <sup>2</sup> /(π _h_ ) in the range of | _E_ | < 0.25 eV, along with a peak around the Dirac point. Similar results have been obtained by Yuan _et_ _al._ using the Green-Kubo formula [23] and by Cresti _et_ _al._ using the Einstein formula [21]. One may note that the peaks found by Yuan _et al._ [23] are much lower than those found by Cresti _et_ _al._ [21]. This difference partly results from the different numerical approaches, but the major reason is that Cresti _et al._ use Eq. (53) to calculate σsc( _E_ ), while Yuan _et al._ just integrate the VAC to some given correlation time. A comment on the connection and difference between the Green-Kubo method in our work and the numerical approach developed by Yuan _et_ _al._ is in order. After some algebra, we can rewrite their formula for DC conductivity (Eq. (41) in Ref. [23]) using our notations as: Fig. 4 (b) presents the calculated DOS and Fig. 4 (c) presents the deduced _v_ <sup>2</sup> ( _E_ ). We see that both ρ( _E_ ) and _v_ <sup>2</sup> ( _E_ ) are thesingulardeducednear �the _v_ <sup>2</sup> (band _E_ ). Weedges.see thatThus,boththeρcalculation( _E_ ) and - _v_ of <sup>2</sup> ( _E_ ballis-) are tic conductance in the Einstein formalism involves multiplications of big and small numbers, which is numerically unstable. Since the MSD and the VAC are squared quantities, we obtain an overestimation rather than an underestimation of the conductance. �the _v_ <sup>2</sup> (band _E_ ). Weedges.see thatThus,boththeρcalculation( _E_ ) and _5.2._ _The di_ ff _usive transport regime_ We now turn to discuss the diffusive transport regime. We consider 2D graphene of size 2048 × 1024 with defect concentration _n_ = 1%. We use both the Green-Kubo formula and the Einstein formula. The time step is chosen to be ∆ _t_ = 0.1 fs, small enough to exhibit the detailed features of the ballistic-todiffusive transition. Figure 5 (a-c) shows the VACs for different energies as a function of correlation time. We see that the VAC does not decay monotonically. For the Dirac point _E_ = 0.0 eV, the VAC decays to zero within one fs and then develops negative values up to 5 fs, after which the VAC stays at zero for a relatively long time. For higher energies, _E_ = 0.5 eV and 1.0 eV, apart from the expected exponential decay, there is also an oscillatory component. This oscillation has been discussed by de Laissardiere _el_ _al._ [16], and is attributed to the Zitterbewegung effect. A spectral analysis shows that the frequency ω of the oscillation is directly related to the electron energy by ω = 2 _E_ /ℏ, which is consistent with the oscillation factor cos <sup>2</sup> ( _Et_ /ℏ) in the VAC [16]. By going from the Green-Kubo to the Einstein formalism, these oscillations are smoothed out, as shown by the MSD curves in Figure 5 (d-f). The ballistic-to-diffusive transition is featured by the decay of the VAC in the Green-Kubo formalism, or the quadratic-to-linear transition of the MSD in the Einstein formalism. From the VAC and the MSD, we can calculate RECs, σ <sup>GK</sup> ( _E_, _t_ ), σ <sup>E1</sup> ( _E_, _t_ ), and σ <sup>E2</sup> ( _E_, _t_ ), as shown in Fig. 5 (gi). We see that the derivative-based definition of the REC in the Einstein formalism is equivalent to the REC defined in the Green-Kubo formalism: σ <sup>E1</sup> ( _E_, _t_ ) = σ <sup>GK</sup> ( _E_, _t_ ). In contrast, the division-based definition of the REC in the Einstein formalism deviates from the other two in the ballistic-to-diffusive regime. which is equivalent to Eq. (6) and Eq. (20) in our work. The difference between our approach and their is mainly related to the numerical implementations. They firstly precompute∆τ all the “quasi-eigenstates” | _Em_ ⟩ = δ( _Em_ - _H_ )|φ⟩≈ 2πℏ _n_ =− _Nm_ <sup>_eiEm_</sup> <sup>_n_</sup> <sup>∆τ/ℏ</sup> <sup>_U_</sup> <sup>(</sup> <sup>_n_</sup> <sup>∆τ)|φ⟩</sup> <sup>for</sup> <sup>a</sup> <sup>given</sup> <sup>number</sup> <sup>of</sup> <sup>energy</sup> points�+ _ENmm_ and then store them in memory, before calculating σ( _E_, _t_ ) using Eq. (54). This strategy may be very efficient, but is not economic in terms of memory usage, restricting the number of energy points considered in one simulation to be around 64 [24]. Although Eq. (53) has been widely used, there is no rigorous justification for using it. The reason for choosing this definition may be related to the unavoidable localization effects [16–21] in most of the problems studied by this method. When localization takes place, the REC decays with increasing correlation time after achieving the diffusive regime, and it is difficult to apply Eq. (12) to find a time-independent (length-independent) σsc( _E_ ). Although Eq. (53) works fine for higher energies, it is problematic near the Dirac point. From Fig. 5 (g) we see that, the correctly defined REC drops abruptly from 1 fs to 5 fs and much more slowly when _t_ - 10 fs. While the latter slow decay is a sign of weak localization, which is usually a precursor of strong localization, the earlier fast decay cannot be attributed to a localization effect. Thus, the peak value around 1 fs (corresponding to a length of about 1 nm) cannot be taken as the σ( _E_, _t_ ) ≈ <sup>2</sup> Ω <sup>_e_</sup> <sup>2</sup> Re �0 _t_ �⟨φ| _VU_ <sup>†</sup> ( _t_ ) _VU_ ( _t_ )|δ( _E_ - _H_ )|φ⟩�, (54) 9 1 0.5 0 (g) E = 0.0 eV 6 4 2 (a) (d) E = 0.0 eV E = 0.0 eV 4 2 0 0 10 20 30 40 50 correlation time (fs) 0 10 20 30 40 50 correlation time (fs) 0 0 20 40 60 correlation time (fs) 1 0.5 0 (b) (e) E = 0.5 eV 8 6 4 2 (h) E = 0.5 eV E = 0.5 eV 150 100 50 0 0 10 20 30 40 50 correlation time (fs) 0 10 20 30 40 50 correlation time (fs) 0 0 20 40 60 correlation time (fs) 1 0.5 0 (i) E = 1.0 eV GK E1 <u>E2</u> (c) (f) E = 1.0 eV 20 15 10 5 E = 1.0 eV 250 200 150 100 50 0 0 10 20 30 40 50 correlation time (fs) 0 10 20 30 40 50 correlation time (fs) 0 0 20 40 60 correlation time (fs) Figure 5: (Color online) (a-c) VACs, (d-f) MSDs, and (g-i) RECs as a function of correlation time at different energies for 2D graphene of size 2048 × 1024 (using 30 random vectors) with defect concentration _n_ = 1% calculated by the KPM with _Nm_ = 3000. For the RECs, the legends “GK”, “E1”, and “E2” refer to Eq. 6, Eq. 9, and Eq. 11, respectively. 10 20 15 10 5 <u>maximum</u> average σmin 0 −1 −0.5 0 0.5 1 energy (eV) Figure 6: (Color online) Semi-classical conductivity of 2D graphene of size 2048 × 1024 (using 30 random vectors) with defect concentration _n_ = 1% calculated by Eq. (53) (labeled by “maximum”) and Eq. (55) (labeled by “average”), using σ <sup>GK</sup> ( _E_, _t_ ). The horizontal line denotes the value of σmin = 4 _e_ <sup>2</sup> /(π _h_ ). value of σsc( _E_ ). Alternatively, we define σsc( _E_ ) as the average value over an appropriate time block _t_ 1 ≤ _t_ ≤ _t_ 2: 1 σ _sc_ ( _E_ ) = _t_ 2 − _t_ 1 - _t_ 1 _t_ 2 σ <sup>GK</sup> ( _E_, _t_ ) _dt_ . (55) _5.3._ _The localized transport regime_ Although the Green-Kubo formula and the Einstein formula have been demonstrated to be equivalent, we should point out that the Green-Kubo formula is not practical in the localization regime, for the reason presented below. To obtain the REC by integrating the VAC, the time step should be very small; otherwise, the integration cannot be accurately evaluated with even very small fluctuations in the VAC data. However, observing localization requires a very long total correlation time, and a large number of steps when using a small time step. At each time step, we need to calculate the δ function, which is very time-consuming. Thus, the necessity of using a small time step in the Green-Kubo formula makes it impractical in the localized regime. This probably explains why the results obtained by integrating (or summing) the VAC show no evidence of localization even for a relatively high (5%) level of resonant disorder [23, 42]. In contrast, the Einstein formula is more suitable for studying the localization behavior, since the numerical evaluation of the derivative-based REC does not require a small time step. We thus only use the Einstein formula in the following discussions of localization. We begin with a comparison of the results obtained by the Einstein formula with those by the non-equilibrium Green’s function (NEGF) method [1]. To our knowledge, a serious comparison of the two methods in the strongly localized regime is still absent. We consider AGNRs with a fixed width ( _W_ = 12 nm) and a defect concentration of _n_ = 1%. In the NEGF method, the lengths are set by imposing two conducting leads along the transport direction. In the Einstein formula, we take a sample size of 95 × 32768 (which is long enough to eliminate any finite size effect in the transport direction) and calculate the lengths by Eq. (50). Due to the efficiency of our GPU implementation, we can explore the strongly localized regime by cheaply calculating the correlation function up to hundreds of picoseconds for the first time, eventually observing the saturation of the MSD. When the MSD saturates, small fluctuations of the MSD can cause large fluctuations of the REC, σ <sup>E1</sup> ( _E_, _t_ ). Fortunately, we note that the later part of the MSD can be fitted very well by a Pad´e approximant of order [ _m_ / _n_ ]: The time block should be chosen to represent the plateau to which σ <sup>GK</sup> ( _E_, _t_ ) saturates to before the onset of localization. This kind of averaging has been widely used in the study of thermal conductivity using the Green-Kubo method [39, 41]. Using this alternative definition, the calculated σsc( _E_ ) (the dashed line in Fig. 6) does not show a peak value around the Dirac point, and is consistent with that obtained by Eq. (53) in the range of | _E_ | > 0.25 eV. The existence of the peak for semi-classical conductivity is also not supported by the work of Ferreira _et_ _al._ [42]. They directly evaluate the Kubo-Greenwood formula (Eq. (2)) by expanding both of the δ-functions using the KPM [43]. Since the KPM is equivalent to the FTM, as demonstrated earlier, their method is also equivalent to Fourier transforming both of the δ-functions, (58) - _m_ 1 +to <sup>�</sup> obtain _k_ <sup>_n_</sup> =0 <sup>_bktk_</sup> a <sup>.</sup> good fitting. An - _mj_ =0 <sup>_a jt j_</sup> _k_ =0 <sup>_b_</sup> _Nm_ _k_ =− _Nm_ ∆ _X_ <sup>2</sup> ( _E_, _t_ ) = σ <sup>KG</sup> ( _E_ ) ≈ <sup>_e_</sup> 2 <sup>2(</sup> π <sup>∆</sup> ℏ <sup>τ</sup> Ω <sup>)2</sup> _Nm_ _n_ =− _Nm_ _wnwke_ <sup>_iE_</sup> <sup>(</sup> <sup>_n_</sup> <sup>+</sup> <sup>_k_</sup> <sup>)∆τ/ℏ</sup> _Fnk_ <sup>VAC,</sup> (56) Usually, _m_ = _n_ = 2 is enough to obtain a good fitting. An example of the fitting is shown in Fig. 7 (a) for the energy _E_ = 0.3 eV. Without fitting, the REC σ <sup>E1</sup> ( _E_, _t_ ) calculated by Eq. (9) can even develop negative values. In contrast, the REC σ <sup>E2</sup> ( _E_, _t_ ) calculated by Eq. (11) exhibits a very smooth behavior even by using the raw data of the MSD (Fig. 7 (b)). In fact, there is no noticeable difference between the fitted and the raw data when using the division-based definition σ <sup>E2</sup> ( _E_, _t_ ). However, in the strongly localized regime where σ ≪ _e_ <sup>2</sup> / _h_, the two definitions can lead to a difference of several orders of magnitude for the conductivity (Fig. 7 (b)). _Fnk_ <sup>VAC</sup> (57) ≈⟨φ| _U_ ( _n_ ∆τ) _VU_ ( _k_ ∆τ) _V_ |φ⟩, which is in turn equivalent to applying an extra window function on the VAC before integrating it up to a given correlation time (proportional to _Nm_ ) in the Green-Kubo formalism. The extra window function (or damping factor, in the context of the KPM) suppresses the localization effect and this direct method provides a more unambiguous way of determining the semiclassical conductivity. Our new definition of σsc( _E_ ) is more or less equivalent to this direct method. 11 800 600 400 200 (a) raw data <u>fitting data</u> 0 0 10 20 30 40 50 60 70 time (ps) raw data by E2 fitting data by E2 <u>fitting data by E1</u> 100 10−2 10−4 (b) 0 10 20 30 40 50 60 70 time (ps) Figure 7: (Color online) Transport properties of AGNR of size 95 × 32768 (using 12 random vectors) with defect concentration _n_ = 1% at _E_ = 0.3 eV. (a) Raw and fitted MSD as a function of correlation time. (b) Conductivity as a function of correlation time. Data marked by E1 and E2 correspond to σ <sup>_E_</sup> <sup>1</sup> ( _E_, _t_ ) defined by Eq. (9) and σ <sup>_E_</sup> <sup>2</sup> ( _E_, _t_ ) defined by Eq. (11), respectively. For σ <sup>_E_</sup> <sup>2</sup> ( _E_, _t_ ), results calculated from the raw and the fitted MSD are compared. For σ <sup>_E_</sup> <sup>1</sup> ( _E_, _t_ ), only the results calculated from the fitted MSD are presented; those from the raw MSD have large fluctuations and cannot be shown completely in the same plot. With a reliable fitting method for obtaining smooth curves of the MSD and the REC, we can give a quantitative comparison of the length-dependent conductances as calculated by _W_ _G_ ( _E_, _L_ ) = _L_ ( _E_, _t_ ) <sup>σ(</sup> <sup>_E_</sup> <sup>,</sup> <sup>_t_</sup> <sup>)</sup> (59) with those calculated by the NEGF method, as shown in Fig. 8. In the NEGF method, the typical conductance [44] _G_ typ( _E_, _L_ ) = _e_ <sup>⟨ln</sup> <sup>_G_</sup> <sup>(</sup> <sup>_E_</sup> <sup>)⟩</sup> (60) is used to represent the ensemble average over 10 <sup>2</sup> - 10 <sup>3</sup> realizations of the defects. As expected, the conductances calculated by the NEGF method decay exponentially with the sample length [44, 45] _G_ typ( _E_, _L_ ) = _G_ 0( _E_ ) _e_ <sup>−</sup> <sup>_L_</sup> <sup>/ξ(</sup> <sup>_E_</sup> <sup>)</sup>, (61) where ξ( _E_ ) is the localization length and _G_ 0( _E_ ) the number of transport modes in the ribbon multiplied by the conductance quantum _e_ <sup>2</sup> / _h_ . The conductances calculated by the Einstein formula also exhibit an exponential decay up to _G_ ( _E_, _L_ ) ≈ 0.1 _e_ <sup>2</sup> / _h_ . Within this range, the correct definition of the REC, σ <sup>E1</sup> ( _E_, _t_ ), results in a very good agreement between the Einstein formula and the NEGF method. However, for _G_ ( _E_, _L_ ) < 0.1 _e_ <sup>2</sup> / _h_, the Einstein formula fails to capture the length-dependence of the conductance by using either definition of the REC. In this strongly localized regime, the conductances calculated by the Einstein formula decay “super-exponentially” with increasing length. A better characterization of the range within which the Einstein formalism and the NEGF method give consistent results can be obtained by plotting the conductances as a function of the reduced length _L_ /ξ( _E_ ), where the localization length ξ( _E_ ) is deduced from the NEGF results. The length definition _L_ ( _E_, _t_ ) = 2 ∆ _X_ <sup>2</sup> ( _E_, _t_ ) in the Einstein formalism can only be trusted within this range.� As shown in the insets of Fig. 8, this range can be determined to be _L_ /ξ( _E_ ) < 4, independent of the energy. This discrepancy puts the definition of length in the Einstein formalism into question. Indeed, as seen from Fig. 7, the MSD will finally saturate with increasing correlation time, which means that the length defined in Eq. (50) does not increase after the saturation. Thus, the maximum length that can be probed by the Einstein formula is bounded from above. In fact, by solving Eq. (50), Eq. (59), Eq. (9) and Eq. (61) simultaneously, we can get analytical expressions for the length and the MSD: _L_ ( _E_, _t_ ) = 2 �∆ _X_ <sup>2</sup> ( _E_, _t_ ) = _L_ 0( _E_ ) ln - _t_ + _t_ 2 _t_ 1 , (62) where _t_ 1 and _t_ 2 are two positive parameters depending on the energy, and _L_ 0( _E_ ) is an energy-dependent length parameter. However, our simulation results do not support this solution: the calculated MSD saturates much faster than logarithmically. Conceptually, one unambiguous way to define the length of a simulated sample is to connect it with two semi-infinite leads 12 along the transport direction, which affect the effective Hamiltonian of the sample by adding the “self energies” arising from the interactions between the sample and the leads. This inevitably leads to the “mesoscopic Kubo-Greenwood formula” [46–48], or equivalently, the NEGF method [1]. 6. Conclusions In summary, we have developed an efficient quantum transport simulation code fully implemented on the GPU, which attains a speedup factor of 16 (using double-precision) compared with an optimized serial CPU code. This seemingly relatively small speedup factor is obtained by considering the simplest tight-binding model for graphene, with only three off-diagonal elements in each row (or column) of the Hamiltonian. We expect that much higher speedup factors can be obtained when considering more complicated tight-binding models. Only electronic transport has been considered in this work; extension of our GPU implementation to thermal transport [22] should be straightforward and a higher acceleration rate can be expected due to the higher computational intensity resulting from the denser phonon Hamiltonian. Our methods can also be extended to study other properties such as local density of states [49], which serves an alternative method for studying Anderson localization. For the interested reader, our GPU code is available upon request. Starting from the Kubo-Greenwood formula, we have presented a unified picture of the Green-Kubo formula based on the velocity auto-correlation and the Einstein formula based on the mean square displacement for DC electrical conductivity and demonstrated their equivalence for diffusive transport. We also compared the kernel polynomial method and the Fourier transform method for approximating the δ function and found that they can be equally used but the former is more efficient. The demonstration of the equivalence between the Green-Kubo and the Einstein formula and that between the kernel polynomial method and the Fourier transform method validates our implementation non-trivially. Using the developed GPU code, we performed a comprehensive evaluation on the applicability of the method by studying transport properties of graphene systems in the ballistic, diffusive and localized regimes. In all the transport regimes, we found that the division-based definition of the conductivity in the Einstein formalism is not equivalent to the correct derivative-based definition, and should be used with caution. In the ballistic regime, we justified the definition of length in the Einstein formalism: _L_ ( _E_, _t_ ) = 2 ∆ _X_ <sup>2</sup> ( _E_, _t_ ), where ∆ _X_ <sup>2</sup> ( _E_, _t_ ) is the mean square displacement.�We found that the quantized conductance for graphene nanoribbons can be accurately calculated except for the band edges. Around the band edges, the conductance is overestimated. We pointed out that this overestimation arises from the difficulty of correctly calculating the density of states and the velocity, which are both singular around the band edges. In the diffusive regime, we proposed a new way of finding the semi-classical conductivity and compared it with other approaches. Especially, we established a connection between our methods and a method which directly evaluates the KuboGreenwood formula by expanding both of the δ functions using the kernel polynomial method. Although the Green-Kubo formula is equivalent to the Einstein formula in the diffusive regime, the former is not as practical as the latter in the localized regime. The reason is that the former is based on a timeintegration and thus requires a small time step, while the latter is based on a time-derivative and does not require a small time step. In the localized regime, the Einstein formula can produce results which are consistent with those obtained by the NEGF method up to some critical length, _L_ < 4ξ( _E_ ), where ξ( _E_ ) is the localization length. Although the definition of length can only be trusted when _L_ < 4ξ( _E_ ), in practice, this is enough to observe the weak-to-strong localization transition. More work is needed to clarify the still controversial topics of Anderson localization in graphene. Acknowledgements We thank Aires Ferreira, Aur´elien Lherbier, Stephan Roche, and Shengjun Yuan for helpful discussions. This research has been supported by the Academy of Finland through its Centres of Excellence Program (project no. 251748). References [1] S. Datta, Electonic Transport in Mesoscopic Systems. Cambridge Univer sity Press, 1995. [2] R. Kubo, Statistical-Mechanical Theory of Irreversible Processes. I. Gen eral Theory and Simple Applications to Magnetic and Conduction Problems, J. Phys. Soc. Jpn. 12, (1957) 570-586. [3] D. A. Greenwood, The Boltzmann Equation in the Theory of Electrical Conduction in Metals. Proc. Phys. Soc. 71, (1958) 585-596. [4] A. K. Geim and K. S. Novoselov, The rise of graphene, Nature Materials, 6, (2007) 183-191. [5] A. H. Castro Neto, F. Guinea, N. M. R. Peres, K. S. Novoselov and A. K. Geim, The electronic properties of graphene, Rev. Mod. Phys., 81, (2009) 109-162. [6] M. P. L. Sancho, J. M. L. Sancho and J. Rubio, Highly convergent schemes for the calculation of bulk and surface Green functions, J. Phys. F: Met. Phys, 15 (1985) 851-858. [7] D. Mayou, Calculation of the Conductivity in the Short-Mean-Free-Path Regime, Europhys. Lett. 6, (1988) 549-554. [8] D. Mayou and S. N. Khanna, A Real-Space Approach to Electronic Trans port, J. Phys. I Paris 5, (1995) 1199-1211. [9] S. Roche and D. Mayou, Conductivity of quasiperiodic systems: a nu merical study, Phys. Rev. Lett. 79, (1997) 2518-2521. [10] F. Triozon, J. Vidal, R. Mosseri, and D. Mayou, Quantum dynamics in two- and three-dimensional quasiperiodic tilings, Phys. Rev. B 65, (2002) 220202(R). [11] F. Triozon, S. Roche, A. Rubio, and D. Mayou, Electrical transport in carbon nanotubes: Role of disorder and helical symmetries, Phys. Rev. B 69, (2004) 121410(R). [12] T. Markussen, R. Rurali, M. Brandbyge, and A.-P. Jauho, Electronic transport through Si nanowires: Role of bulk and surface disorder, Phys. Rev. B 74 (2006) 245313. [13] H. Ishii, N. Kobayashi, and K. Hirose, Order- _N_ electron transport cal culations from ballistic to diffusive regimes by a time-dependent wavepacket diffusion method: Application to transport properties of carbon nanotubes, Phys. Rev. B 82, (2010) 085435. 13 100 100 10−2 10−4 101 100 10−1 10−2 (c) E = 0.9 eV ξ = 42 nm 50 100 150 200 250 300 350 length (nm) 100 10−2 100 200 300 400 500 2 4 6 L/ξ E1 E2 <u>NEGF</u> 2 4 6 L/ξ (a) E = 0.3 eV ξ = 6.0 nm 10 20 30 40 50 60 70 length (nm) 100 100 10−2 10−4 101 100 10−1 (b) E = 0.6 eV ξ = 23 nm 50 100 150 200 250 300 length (nm) 100 2 4 6 L/ξ 2 4 6 L/ξ (d) E = 1.2 eV ξ = 73 nm length (nm) Figure 8: defect concentration(Color online) _n_ = 1% at diConductancefferent energies.as a functionSolid lines, dashed lines and lines with symbols correspond to the results obtained by Eq.of length _L_ = 2 �∆ _X_ <sup>2</sup> ( _E_, _t_ ) for AGNR of size 95 × 32768 (using 12 random vectors) with(9), Eq. (11) and NEGF calculations, respectively. The insets show the conductances as a function of the reduced length _L_ /ξ( _E_ ). 14 [14] A. Lherbier, B. Biel, Y.-M. Niquet, and S. Roche, Transport Length Scales in Disordered Graphene-based Materials: Strong Localization Regimes and Dimensionality Effects, Phys. Rev. Lett. 100, (2008) 036803. [15] A. Lherbier, X. Blase, Y.-M. Niquet, F. Triozon and S. Roche, Charge Transport in Chemically Doped Graphene, Phys. Rev. Lett. 101, (2008) 036808. [16] G. T. de Laissardiere and D. Mayou, Electronic transport in graphene: quantum effects and role of local defects, Modern Physics Letters B, 25 (2011) 1019-1028. [17] N. Leconte, A. Lherbier, F. Varchon, P. Ordejon, S. Roche, and J. C. Charlier, Quantum transport in chemically modified two-dimensional graphene: From minimal conductivity to Anderson localization, Phys. Rev. B 84 (2011) 235420. [18] A. Lherbier, S. M.-M. Dubois, X. Declerck, Y.-M. Niquet, S. Roche, and J.-C. Charlier, Transport properties of graphene containing structural defects, Phys. Rev. B. 86, (2012) 075402. [19] T. M. Radchenko, A. A. Shylau, and I. V. Zozoulenko, Influence of cor related impurities on conductivity of graphene sheets: Time-dependent real-space Kubo approach, Phys. Rev. B 86, (2012) 035418. [20] D. Van Tuan, J. Kotakoski, T. Louvet, F. Ortmann, J. C. Meyer, and S. Roche, Scaling properties of charge transport in polycrystalline graphene, Nano Lett. 13, (2013) 1730-1735. [21] A. Cresti, F. Ortmann, T. Louvet, D. Van Tuan, and S. Roche, Broken symmetries, zero-energy modes, and quantum transport in disordered graphene: from supermetallic to insulating regimes, Phys. Rev. Lett. 110, (2013) 196601. [22] W. Li, H. Sevinc¸li, S. Roche, and G. Cuniberti, Efficient linear scaling method for computing the thermal conductivity of disodered materials, Phys. Rev. B 83, (2011) 155416. [23] S. Yuan, H. De Raedt, and M. I. Katsnelson, Modeling electronic struc ture and transport properties of graphene with resonant scattering centers, Phys. Rev. B. 82, (2010) 115448. [24] S. Yuan, H. De Raedt, and M. I. Katsnelson, Electronic transport in dis ordered bilayer and trilayer graphene, Phys. Rev. B. 82, (2010) 235409. [25] S. Yuan, R. Rold´an, A.-P. Jauho, and M. I. Katsnelson, Electronic prop erties of disordered graphene anditod lattices, Phys. Rev. B. 87, (2013) 085430. [26] A. Harju, T. Siro, F. Federici-Canova, S. Hakala, and T. Rantalaiho, Com putational Physics on Graphics Processing Units, Lecture Notes in Computer Science, 7782, (2013) 3-26. [27] M. S. Green, Markoff Random Processes and the Statistical Mechanics of Time-Dependent Phenomena. II. Irreversible Processes in Fluids, J. Chem. Phys. 22 (1954) 398-413. [28] A. Weiße, G. Wellein, A. Alvermann, and H. Fehske, The kernel polyno mial method, Review of Modern Physics. 78, (2006) 275-306. [29] R. Haydock, V. Heine and M. J Kelly, Electronic structure based on the local atomic environment for tight-binding bands, J. Phys. C: Solid State Phys. 5, (1972) 2845-2858. [30] R. Haydock, V. Heine and M. J Kelly, Electronic structure based on the local atomic environment for tight-binding bands. II, J. Phys. C: Solid State Phys. 8, (1975) 2591-2605. [31] M. D. Feit, J. A. Fleck, Jr., and A. Steiger, Solution of the Schr¨odinger Equation by a Spectral Method, Journal of Computational Physics, 47, (1982) 412-433. [32] A. Hams and H. De Raedt, Fast algorithm for finding the eigenvalue dis tribution of very large matrices, Phys. Rev. E. 62, (2000) 4365-4377. [33] H. Tal-Ezer and R. Kosloff, An Accurate and Efficient Scheme for Prop agating the Time Dependent Schr¨odinger Equation, J. Chem. Phys. 81, (1984) 3967-3971. [34] H. Fehske, J. Schleede, G. Schubert, G. Wellein, V. S. Filinov, and A. R. Bishop, Numerical approaches to time evolution of complex quantum systems, Physics Letters A 373, (2009) 2182-2188. [35] T. Dziubak and J. Matulewski, An object-oriented implementation of a solver of the time-dependent Schr¨odinger equation using the CUDA technology, Computer Physics Communications, 183 (2012) 800-812. [36] C. O <sup>´</sup> Broin, and L. A. A. Nikolopoulos, An OpenCL implementation for the solution of the time-dependent Schrdinger equation on GPUs and CPUs, Computer Physics Communications, 183, (2012) 20712080. [37] T. Siro and A. Harju, Time Propagation of Many-Body Quantum States on Graphics Processing Units, Lecture Notes in Computer Science, 7782, (2013) 141-152. [38] NVIDIA, CUDA Programming Guide, version 5.0 (2013). [39] Z. Fan, T. Siro, and A. Harju, Accelerated molecular dynamics force eval uation on graphics processing units for thermal conductivity calculations, Computer Physics Communications, 184, (2013) 1414-1425. [40] T. Siro, A. Harju, Exact diagonalization of the Hubbard model on graphics processing units, Computer Physics Communications, 183 (2012) 18841889. [41] P. K. Schelling, S. R. Phillpot, and P. Keblinski, Comparison of atomic level simulation methods for computing thermal conductivity, Phys. Rev. B 65 (2002) 144306. [42] A. Ferreira, J. Viana-Gomes, J. Nilsson, E. R. Mucciolo, N. M. R. Peres, and A. H. Castro Neto, Unified description of the dc conductivity of monolayer and bilayer graphene at finite densities based on resonant scatterers, Phys. Rev. B 83, (2011) 165402. [43] Private communication with A. Ferreira. [44] P. W. Anderson, D. J. Thouless, E. Abrahams, and D. S. Fisher New method for a scaling theory of localization Phys. Rev. B 22, (1980) 3519. [45] A. Uppstu, K. Saloriutta, A. Harju, M. Puska, and A.-P. Jauho, Elec tronic transport in graphene-based structures: An effective cross-section approach Phys. Rev. B 85, (2012) 041401(R). [46] D. S. Fisher and P. A. Lee, Relation between conductivity and transmis sion matrix, Phys. Rev. B 23, (1981) 6851-6854. [47] J. A. Verg´es, Computational implementation of the Kubo formula for the static conductance: application to two-dimensional quantum dots, Computer Physics Communications, 118, (1999) 71-80. [48] B. K. Nikoli´c, Deconstructing Kubo formula usage: Exact conductance of a mesoscopic system from weak to strong disorder, Phys. Rev. B 64, (2001) 165303. [49] G. Schubert, J. Schleede, and H. Fehske, Anderson disorder in graphene nanoribbons: A local distribution approach, Phys. Rev. B 79, (2009) 235116. 15

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.