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

NanoNET: An extendable Python framework for semi-empirical tight-binding models

관련 산업용 섬유 · (8) HDPE 섬유(FORPE)

기본 정보

저자
  1. Mykhailo V. Klymenko — ARC Centre of Excellence in Exciton Science, RMIT University, Melbourne, Victoria 3001, Australia|||Chemical and Quantum Physics, School of Science, RMIT University, Melbourne, Victoria 3001, Australia
  2. Jesse A. Vaitkus — ARC Centre of Excellence in Future Low-Energy Electronics Technologies, RMIT University, Melbourne, Victoria 3001, Australia|||Chemical and Quantum Physics, School of Science, RMIT University, Melbourne, Victoria 3001, Australia
  3. J. S. Smith — ARC Centre of Excellence in Future Low-Energy Electronics Technologies, RMIT University, Melbourne, Victoria 3001, Australia|||Chemical and Quantum Physics, School of Science, RMIT University, Melbourne, Victoria 3001, Australia
  4. Jared H. Cole — ARC Centre of Excellence in Exciton Science, RMIT University, Melbourne, Victoria 3001, Australia|||ARC Centre of Excellence in Future Low-Energy Electronics Technologies, RMIT University, Melbourne, Victoria 3001, Australia|||Chemical and Quantum Physics, School of Science, RMIT University, Melbourne, Victoria 3001, Australia
DOI
10.1016/j.cpc.2020.107676
저널
Computer Physics Communications
발행년도
2020
발행기관
Elsevier BV
피인용수
6
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.cpc.2020.107676
토픽
Graphene research and applications
OpenAlex ID
W3092664744

평가 내용

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

초록

We present a novel open-source Python framework called NanoNET (Nanoscale Non-equilibrium Electron Transport) for modelling electronic structure and transport. Our method is based on the tight-binding method and non-equilibrium Green's function theory. The core functionality of the framework is providing facilities for efficient construction of tight-binding Hamiltonian matrices from a list of atomic coordinates and a lookup table of the two-center integrals in dense, sparse, or block-tridiagonal forms. The framework implements a method based on $kd$-tree nearest-neighbour search and is applicable to isolated atomic clusters and periodic structures. A set of subroutines for detecting the block-tridiagonal structure of a Hamiltonian matrix and splitting it into series of diagonal and off-diagonal blocks is based on a new greedy algorithm with recursion. Additionally the developed software is equipped with a set of programs for computing complex band structure, self-energies of elastic scattering processes, and Green's functions. Examples of usage and capabilities of the computational framework are illustrated by computing the band structure and transport properties of a silicon nanowire as well as the band structure of bulk bismuth.

본문 77,209자

본문 펼치기
## NanoNET : an extendable Python framework for semi-empirical tight-binding models M. V. Klymenko <sup>a,c,∗</sup>, J. A. Vaitkus <sup>b,c</sup>, J. S. Smith <sup>b,c</sup>, J. H. Cole <sup>a,b,c</sup> _aARC Centre of Excellence in Exciton Science, RMIT University, Melbourne, Victoria 3001, Australia_ _bARC Centre of Excellence in Future Low-Energy Electronics Technologies, RMIT University, Melbourne, Victoria 3001, Australia_ _cChemical and Quantum Physics, School of Science, RMIT University, Melbourne, Victoria 3001, Australia_ Abstract We present a novel open-source _Python_ framework called _NanoNET_ (Nanoscale Non-equilibrium Electron Transport) for modelling electronic structure and transport. Our method is based on the tight-binding method and non-equilibrium Green’s function theory. The core functionality of the framework is providing facilities for efficient construction of tight-binding Hamiltonian matrices from a list of atomic coordinates and a lookup table of the two-center integrals in dense, sparse, or block-tridiagonal forms. The framework implements a method based on _kd_ -tree nearest-neighbour search and is applicable to isolated atomic clusters and periodic structures. A set of subroutines for detecting the block-tridiagonal structure of a Hamiltonian matrix and splitting it into series of diagonal and off-diagonal blocks is based on a new greedy algorithm with recursion. Additionally the developed software is equipped with a set of programs for computing complex band structure, self-energies of elastic scattering processes, and Green’s functions. Examples of usage and capabilities of the computational framework are illustrated by computing the band structure and transport properties of a silicon nanowire as well as the band structure of bulk bismuth. _Keywords:_ tight-binding method, Hamiltonian matrix, _kd_ -tree, band matrix, block-tridiagonal matrix, non-equilibrium Green’s functions PROGRAM SUMMARY _Program Title:_ _NanoNET_ _Developer’s repository link:_ _https:_ // _github.com_ / _freude_ / _NanoNet_ _Licensing provisions:_ _MIT_ _Programming language:_ _Python_ _Nature of problem:_ The framework NanoNET solves a problem which is, having a set of atomic coordinates and tight-binding parameters, to construct Hamiltonian matrices in one of several desired forms. In particular, some applications require those matrices to have a reduced bandwidth and/or to possess a block-tridiagonal structure. _Solution method:_ The problem is solved using a combination of _kd_ -tree-based fast nearest-neighbour search and atomic coordinate sorting. Furthermore, a new greedy recursive algorithm is proposed for detecting blocktridiagonal structure of a matrix in a non-optimal way. Additionally, we propose an algorithm of a polynomial time for optimizing block sizes. _Additional features:_ Although the resulting matrices can be processed by many existing software packages, the framework also has built-in standard tools for diagonalizing Hamiltonian matrices and computing Green’s functions that make it an independent tool for solving electronic structure and transport problems. 1. Introduction The tight-binding (TB) method coupled with the nonequilibrium Green’s function (NEGF) formalism is a widely used method for simulations of electronic devices at the atomic level [1] including large-scale FinFETs [2], nanowire FETs [3, 4, 5], single-atom transistors [6, 7], etc. The TB method is a method to tackle large-scale electronic structure problems [8, 9, 10, 11] by both limiting the size of a basis set and taking into account only interactions between a finite number of neighbouring atoms. As a result, even for large numbers of atoms, the Hamiltonian matrix of a system in the TB representation is sparse. Computing the inverse and eigenvalues of this matrix scales almost linearly with the system size using approximate numerical technique like Krylov subspace methods [12, 13, 14, 10, 11]. NEGF theory, often taking TB Hamiltonians as an input, provides a set of tools to solve electron transport problems for systems with both elastic and inelastic scatterings [15, 16, 17], spatially inhomogeneous parameters and open boundary conditions [18, 19]. The Hamiltonian operator in the tight-binding representation may be written in the form: where _Hn_, _m_ is an element of the Hamiltonian matrix _H_, _c_ <sup>†</sup> _n_ <sup>and</sup> _cm_ are the creation and annihilation operators respectively, and indices _n_ and _m_ identify basis functions. In the tight-binding representation each of the indices correspond to a set consisting of a position vector of an atomic site, and a set of quantum _H_ ˆ = _m_, _n_ _Hn_, _mc_ <sup>†</sup> _n_ <sup>_cm_</sup> (1) ∗Corresponding author _Email address:_ `mike.klymenko@rmit.edu.au` (M. V. Klymenko) _Preprint submitted to Computer Physics Communicaions_ _October 16, 2020_ numbers associated with a localized basis set for each site. The algorithms presented in this work are aimed at efficiently constructing the matrix _Hn_, _m_ given a list of atomic coordinates and a lookup table of two-center integrals as input parameters. Note that a matrix representation of the Hamiltonian using a linear combination of atomic orbitals (LCAO) is not unique and can be obtained in various ways, resulting in matrices with varying sparsity patterns depending on the order at which atoms are addressed when the Hamiltonian matrix is built (see Fig. 1 for an illustrative example). Although permutations of atomic coordinates may lead to physically equivalent matrix representations of the Hamiltonian, some of them work better with certain numerical methods resulting in faster computations. There are several ways to extract physically relevant information from the Hamiltonian. For isolated systems in thermodynamic equilibrium, one may compute properties by diagonalizing the Hamiltonian matrix. For the systems with open boundary conditions, one computes the so-called Green’s function matrix, _G_ [19]: _G_ = <sup>�</sup> ( _E_ + _i_ 0 <sup>+</sup> ) _I_ - _H_ - Σ <sup>�−1</sup> (2) where _E_ is the energy, 0 <sup>+</sup> is a small positive infinitesimal, _H_ is the Hamiltonian and Σ is the self-energy describing an exchange of electrons through open boundaries. In general, a numerically exact computation of the matrix inverse scales as O( _N_ <sup>3</sup> ) with the number of diagonal elements _N_ . Better scalablity may be achieved exploiting the sparsity of the matrix and taking into account that only some but not all matrix elements of the inverse are of interest for physical applications [19]. There are two main strategies for this. One is to construct a hierarchical method such as the method developed by Ozaki [20] using a set of formulae derived from a recursive application of a block _LDL_ <sup>_T_</sup> factorization using the Schur complement to a structured matrix obtained by a nested dissection for the sparse matrix. The method scales as _O_ [ _N_ <sup>�</sup> log2 _N_ <sup>�2</sup> ], _O_ - _N_ <sup>2�</sup>, and _O_ - _N_ <sup>7/3�</sup> for - _N_ <sup>2�</sup> , and _O_ The method scales as _O_ [ _N_ <sup>�</sup> log2 _N_ <sup>�2</sup> ], _O_ - _N_ <sup>2�</sup>, and _O_ - _N_ <sup>7/3�</sup> for one-, two-, and three-dimensional systems respectively. The second strategy is to minimize the bandwidth of the matrix and to utilize its block-tridiagonal structure to improve the computational efficiency by using the recursive Green’s function (RGF) algorithm to compute the inverse as a sequence of layers, scaling as O( <sup>�</sup> <sup>_k_</sup> _j_ <sup>_N_</sup> <sup>3</sup> _j_ <sup>), where</sup> <sup>_k_</sup> <sup>is the number of diagonal blocks</sup> - _N_ <sup>7/3�</sup> <sup>_k_</sup> _j_ <sup>_N_</sup> <sup>3</sup> _j_ scaling as O( <sup>�</sup> <sup>_k_</sup> _j_ <sup>_N_</sup> <sup>3</sup> _j_ <sup>), where</sup> <sup>_k_</sup> <sup>is the number of diagonal blocks</sup> and _N j_ is the number of diagonal elements in the _j_ <sup>th</sup> block. If all blocks are equal in size this corresponds to a _k_ <sup>2</sup> improvement in both memory and run-time. These examples motivate development of a software framework that provides facilities to construct TB Hamiltonians in different formats defined by a particular application. In this work, we propose a method to construct TB Hamiltonian matrices in several possible forms (with different sparsity patterns) including dense, sparse, and block-tridiagonal matrices. Section 2 describes algorithms providing facilities for efficient building of such matrices. Section 3 presents the software architecture of _NanoNET_ consisting of two Python packages `tb` and `negf` : the first one implements new algorithms for composing TB matrices, and the latter contains tools for computing NEGF and other physical quantities related to the elec tron transport. Relationships between TB matrices, NEGF, and other quantities of interest are briefly listed in Section 4. Section 5 contains several illustrative examples of _NanoNET_ usage. _NanoNET_ is an open-source software providing a framework for electron transport computations based on the TB method. Although its functionality somewhat overlaps with other software such as _NEMO5_ [21], _Kwant_ [22], _pybinding_ [23], _Tran-_ _siesta_ [24], _Smeagol_ [25], _Gollum_ [26], _DFTB_ + and combined _ASE_ [27] and _GPAW_ [28], the framework has following distinctive features: it provides tools for processing and outputting TB matrices with desired properties, it focuses on the semiempirical tight-binding method with a flexible setting of tightbinding parameters together with coordinate representations of an atomic structure, and it provides a _Python_ application programming interface to NEGF computations. A framework architecture can be seen as a set of more or less independent building blocks and pipeline schemes that can be used in a user-written code. This flexibility allows the user to pick algorithms that suit best for his particular problem to achieve the best performance. Due to its compact syntax, _Python_ seems to be a particularly convenient programming language for implementing programming interfaces for the software frameworks (examples of popular Python frameworks are _Tensorflow_ from _Google_ [29] for building neural networks, _Flask_ for web development etc.). For the electronic transport problems, examples of an existing software framework are _Kwant_ and the stack _ASE_ + _GPAW_ . In these frameworks, the user has multiple choices of computational methods at each stage of the calculations as well as the flexibility to modify dataflow in many possible ways, which is useful for building software interfaces and post-processing. Comparing to _Kwant_, our framework is more oriented on the processing of atomic coordinates, while, comparing to the _ASE_ + _GPAW_ stack, we provide a tool to work with semi-empirical tight-binding parameters and detecting the tri-blockdiagonal structure of matrices. The framework interacts with a user via a command line interface or _Python_ application programming interface inspired by the _ASE_ [27] and _GPAW_ [28] software packages. In future we will provide additional interfaces to achieve compatibility with _ASE_ and _Kwant_ in order to enhance mutual functionality of these frameworks. 2. Algorithms _2.1._ _Construction of Hamiltonian matrices_ Using a list of atomic coordinates, _L_, the Hamiltonian matrix _H_ is constructed in the framework of the TB method via Algorithm 1. Each entry in _L_ contains information of an atomic site _site j_ ; the numerical index of the site, _j_, the name of chemical element, _label_, and Cartesian coordinates, _coords_ . The label is used to search a look-up table, _OrbitalsTable_, which associates a list of orbitals with each of the chemical elements. The algorithm starts with one of the sorting procedures defined by a user or embedded in the framework. Different matrix representations are determined by a particular order of atomic 2 1 2 3 4 5 6 7 8 9 1 8 3 2 5 4 7 6 9 1 8 3 2 5 4 7 6 9 1 2 3 4 5 6 7 8 9 1 2 4 7 5 3 6 8 9 1 2 4 7 5 3 6 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 Algorithm 1: Computing Hamiltonian matrix for a <u>cluster of atoms</u> begin let _L_ is a list of atomic coordinates // Sort the list of atomic coordinates, O( _N_ log _N_ ) _Ls_ ← `sort` ( _L_ ) // Compute index offsets _O f f sets_ [1] = 0 for _j_ = 2, ..., _N_ do _O_ ff _sets_ [ _j_ ] ← _O_ ff _sets_ [ _j_ - 1]+ `size` ( _OrbitalsTable_ [ _Ls_ [ _j_ ]. _label_ ]) Figure 1: Dependence of the matrix bandwidth on the order at which rows of the Hamiltonian matrix are computed coordinates which are in turn computed by a user-defined sorting procedure or one of the embedded sorting algorithms (see Section 2.4 for more details). Typically sorting algorithms scale as O( _N_ log _N_ ) with the number of atoms. The location of matrix elements in the resulting matrix can be quickly determined using a pre-computed set of index offsets, even though each site can possess a different number of orbitals (see lines 3–5, 10 and 13 of Algorithm 1). When the order of atoms is determined, the Hamiltonian matrix element can be computed by addressing each atom in sequence and finding its nearest neighbours with which the atom has non-zero coupling. In order to speed up the nearest neighbour search procedure, the atomic coordinates are arranged in a _kd_ -tree — a space-partitioning data structure for organizing points in a _k_ -dimensional space [30, 31]. The nearest neighbours search itself is a querying of the constructed tree. Building the tree scales as O( _kN_ log _N_ ), though one query can be done in O(log _N_ ) time. The total time of the nearestneighbour search for all atoms scales as O( _N_ log _N_ ). After arranging all atomic coordinates into a _kd_ -tree, Algorithm 1 loops over all atoms (line 7 of Algorithm 1) and their orbitals (line 9), finds nearest neighbours for each site (line 8), loops over orbitals of the neighbours (lines 11 and 12), and computes the matrix elements of _H_ (line 14). Note that in such an implementation, the algorithm does not run over pairs of atoms that are not coupled. Therefore each time the algorithm invokes the function `get` `matrix` `element()`, it most likely returns a nonzero value if the coupling is allowed by orbital symmetry. As a result, the Hamiltonian matrix can be _directly_ constructed in one of several existing sparse matrix formats, since only nonzero elements are processed and their indices, _j_ 1 and _j_ 2, are explicitly computed. _2.2._ _Periodic_ _boundary_ _conditions_ _and_ _coupling_ _between_ _unit_ _cells_ The periodic boundary conditions are determined by a set of translation vectors _T_ defining a primitive cell of the periodic structure. The Hamiltonian describing coupling between primitive cells _HC_ is computed according to Algorithm 2. The algorithm generates the list of atomic coordinates _L_ <sup>_t_</sup> _s_ <sup>by acting</sup> translation operators on the coordinates of each atom inside the primitive cell (line 6) in addition to the list of atomic coordinates _L_ in Algorithm 1. For large structures, the computational burden can be reduced by translating solely the atoms adjacent to the surfaces of the primitive cell. Comparing to the list _L_, the entries of the list _L_ <sup>_t_</sup> _s_ <sup>have one additional field,</sup> <sup>_origin_</sup> <sup>, which</sup> is the index of the original atom being a pre-image of an atom after the translation. The rest of the steps of Algorithm 2 are similar to those of Algorithm 1 with the main distinction that the _kd_ -tree is built only for the atoms outside the primitive cell and the matrix elements are computed for the pairs of atoms interacting across the borders of the primitive cell. Thus, when periodic boundary conditions are applied, two _kd_ -trees are built: one is for atoms within a primitive cell and another one is for the atoms from neighboring/adjacent primitive cells. The matrix _HC_ has same shape as _H_ . _2.3._ _Computing Hamiltonian matrix elements_ Usually in TB methods, the electronic structure problems are formulated in terms of two-center integrals neglecting threecenter contributions. Computation of these integrals is performed by a function `get` `matrix` ~~`e`~~ `lement()` in Algorithms 1 and 2. In the semi-empirical version of the TB method, twocenter integrals depend on a relatively small number of empirical parameters which, according to Ref. [32], can be reduced to the two-center integrals of a diatomic molecule, designated by a tuple of three quantum numbers, e.g. ( _ss_ σ), ( _pp_ π) etc. Mapping those parameters to the two-center integrals is achieved via // Build _kd_ -tree, O(3 _N_ log _N_ ) _kd_ _~~t~~_ _ree_ ← `make` `kd` ~~`t`~~ `ree` ( _Ls_ [1, ..., _N_ ]. _coords_ ) // Compute TB Hamiltonian // Loop over sites for _site_ 1 ∈ _Ls_ do // Find nearest neighbours for _site_ 1, O(log _N_ ) _Ln_ ← _kd_ _~~t~~_ _ree_ . `get` `neighbours` ( _site_ 1) // Loop over orbitals of _site_ 1 for _orbital_ 1 ∈ _OrbitalsTable_ [ _site_ 1. _label_ ] do _j_ 1 ← _O_ ff _sets_ [ _site_ 1. _j_ ] + _orbital_ 1. _index_ // Loop over neighbours of _site_ 1 for _site_ 2 ∈ _Ln_ do // Loop over orbitals of _site_ 2 for _orbital_ 2 ∈ _OrbitalsTable_ [ _site_ 2. _label_ ] do _j_ 2 ← Offsets[ _site_ 2. _j_ ] + _orbital_ 2. _index_ // Compute matrix element _H_ [ _j_ 1, _j_ 2] ← `get` ~~`m`~~ `atrix` ~~`e`~~ `lement` ( _site_ 1, _orbital_ 1, _site_ 2, _orbital_ 2) // O(1) 3 Algorithm 2: Computing coupling Hamiltonians for <u>periodically translated cells</u> begin let _T_ [1, ..., _D_ ] be translation vectors // Create a list of the translated atomic coordinates _L_ <sup>_t_</sup> _s_ <sup>←</sup> <sup>empty list</sup> for _vector_ ∈ _T_ do for _site_ ∈ _Ls_ do <sup>_t_</sup> _s_ <sup>.</sup> <sup>`append`</sup> <sup>(</sup> <sup>`translate`</sup> <sup>(</sup> <sup>_site_</sup> <sup>,</sup> <sup>_vector_</sup> <sup>))</sup> _L_ <sup>_t_</sup> // Build new _kd_ -tree for the neighbours outside the unit cell _kd_ _~~t~~_ _ree_ <sup>_t_</sup> ← `make` `kd` `tree` ( _L_ <sup>_t_</sup> _s_ <sup>)</sup> (a) _b_ = 5953 (b) _b_ = 1091 (c) _b_ = 547 Figure 2: Sparsity patterns and matrix bandwidth, _b_, for a) arbitrary ordering of atoms, b) after bandwidth reduction using reverse Cuthill-McKee algorithm, and c) after sorting atomic coordinates in lexicographical order. The TB Hamiltonian has been constructed for a cubic-shaped hydrogen-passivated silicon nanocrystal consisting of 516 atoms. _kd_ _~~t~~_ _ree_ <sup>_t_</sup> ← `make` `kd` `tree` ( _L_ <sup>_t_</sup> _s_ <sup>)</sup> // Compute the inter-cell coupling Hamiltonian, _HC_ for _site_ 1 ∈ _Ls_ do _Ln_ ← _kd_ _~~t~~_ _ree_ <sup>_t_</sup> . `get` ~~`n`~~ `eighbours` ( _site_ 1) for _orbital_ 1 ∈ _OrbitalsTable_ [ _site_ 1. _label_ ] do a b 1 0 -1 _j_ 1 ← _O_ ff _sets_ [ _site_ 1. _j_ ] + _orbital_ 1. _index_ for _site_ 2 ∈ _Ln_ do for _orbital_ 2 ∈ _OrbitalsTable_ [ _site_ 2. _label_ ] do _s_ = _site_ 2. _origin_ _j_ 2 ← _O_ ff _sets_ [ _s_ ] + _orbital_ 2. _index_ _HC_ [ _j_ 1, _j_ 2] ← `get` ~~`m`~~ `atrix` ~~`e`~~ `lement` ( _site_ 1, _orbital_ 1, _site_ 2, _orbital_ 2) c d single run optimized 10 20 30 40 # of block single run optimized 1 2 3 4 # of block coordinate transformations from the diatomic molecule frame to the crystal frame. Explicit formulas for those transformations have been derived by Slater and Koster for many possible combinations of angular momentum quantum numbers [32]. Since the number of the coordinate transformations is rather large, we have computed angular dependence of the diatomic two-center integrals using an approach proposed by Podolskiy and Vogt [33] instead of using a table of explicit formulas. Podolskiy and Vogt have derived compact close analytic expressions for the angular dependence of tight-binding Hamiltonian matrix elements in the two-center approximation that are well suited for numerical calculations and are valid for all angular momentum quantum numbers. In our codebase, the diatomic two-center integrals are introduced using meta-programming features of _Python_ . Namely, the parameters are arranged as a module-level variable created at runtime. Each variable is a Python dictionary with a certain naming convention (see Section 4) containing a set of parameters for coupling between a pair of elements. The matrix elements can be computed beyond the first nearest neighbour coupling if the corresponding TB parameters are provided. In _NanoNET_ one can specify two types of radial dependence functions: one, depending on the distance between atoms, outputs an integer number which allows for location of a certain set of tight-binding parameters (the number is used as a part of name convention and designates first, second, third etc. nearest neighbours), and the other outputs a float number which is then multiplied on the matrix element. If the radial dependence functions are not specified, _NanoNET_ will search for and use a single set of TB parameters. Also, if not all orbitals in the basis set have same spin quantum number and the spin Figure 3: Sparsity patterns and detected block-tridiagonal structure of TB matrices for a) the hydrogen passivated silicon nanowire with 77 atoms in the unit cell and sp <sup>3</sup> d <sup>5</sup> s <sup>∗</sup> basis set for silicon atoms and single s-orbital for hydrogen, and b) 2D quantum billiard consisting of 1888 atoms, each has a single s-orbital respectively. c) and d) distribution of block size cubes for silicon nanowire and quantum billiard respectively computed with a greedy algorithm and optimized recursive algorithm. orbit coupling energy is set, the Hamiltonian matrix includes the spin-orbit coupling terms computed for p-orbitals. _2.4._ _Sorting_ _the_ _list_ _of_ _atomic_ _coordinates_ _and_ _computing_ _block-tridiagonal representation of a matrix_ The sparsity pattern of the Hamiltonian matrix _H_ depends on the order of sites taken from the list _L_ . This statement is illustrated in Fig. 1; the order that we store the sites of the system in the Hamiltonian matrix results in different sparsity patterns. Sorting is performed by a function specified by a user during instantiation of the Hamiltonian object. Alternatively, one can use one of the function embedded in the framework. If the sorting function is not specified the order of matrix elements follows the order of entries in the input list of atomic coordinates. In the current version we have implemented three sorting routines: sorting by lexicographical order over atomic coordinates, sorting using projections of the position vectors on an arbitrary vector as sort keys, and sorting over keys determined by a potential function over atomic coordinates. 2.0 1.0 0 4 Sorting by lexicographical order implies that atoms are arranged in a sequence of slices along an axis specified by the first element in the tuple of coordinates. Although this kind of sorting does not guarantee the minimal bandwidth, in most cases it results in matrices with relatively narrow bandwidth (see Fig. 2 for an illustrative example). Algorithm 3: Greedy algorithm to compute blocktridiagonal structure of matrix with fixed sizes of left<u>most and rightmost blocks</u> function <u>`compute`</u> ~~<u>`b`</u>~~ <u>`locks`</u> ( _l_, _r_, _P_, _P_ <sup>∗</sup>, _N_ ) Input : <u>Sizes of leftmost and rightmost blocks,</u> _l_ and _r_, profiles of the sparsity pattern, _P_ and _P_ <sup>∗</sup>, and _N_ is the size of _P_ . Output: An array of sizes of diagonal blocks, _blocklist_ // If blocks do not overlap if _l_ + _r_ < _N_ then _new_ _~~l~~_ = _P_ [ _l_ ] − _l_ _new_ _~~r~~_ = _P_ <sup>∗</sup> [ _r_ ] − _r_ // Spacing between blocks is sufficient if _(l_ + _new_ _~~l~~_ + _r_ ≤ _N_ ) & ( _l_ + _new_ _~~r~~_ + _r_ ≤ _N_ ) then _blks_ = `compute` ~~`b`~~ `locks` ( _new_ _~~l~~_, _new_ _~~r~~_, _P_ [ _l_ + 1 : _N_ - _r_ ] − _l_, _P_ <sup>∗</sup> [ _r_ + 1 : _N_ - _l_ ] − _r_, _N_ - _r_ - _l_ ) _blocklist_ ← [ _l_, _blks_, _r_ ] // Spacing between blocks is not sufficient else if _new_ _~~l~~_ - _new_ _~~r~~_ then _blocklist_ ← [ _l_, _N_ - _l_ ] else _blocklist_ ← [ _N_ - _r_, _r_ ] // Blocks do overlap else _blocklist_ ← [ _N_ ] The keys computed as projections on a vector can be used for one-dimenssional structures with collinear leads, when we want to arrange atoms into slices cut along a specific direction in Euclidean space (normally parallel to leads). An example of the matrix sparsity pattern with elements sorted according to this method for a silicon nanowire is shown in Fig. 3a. The presented TB Hamiltonian is for the hydrogen-passivated silicon nanowire with the primitive cell containing 77 atoms with the sp <sup>3</sup> d <sup>5</sup> s <sup>∗</sup> basis set for silicon atoms and a single s-orbital for hydrogen. The third embedded sorting method can be used for an arbitrary two-terminal device. For this method, the atomic grid is approximated by a capacitance model [34], where atoms are represented by a charge nodes with interactions between neighbours modeled by a capacitor. In this case, the sorting keys are determined by a vector _V_ _j_ which is a solution of the matrix equation _CV_ = _R_, where _C_ is the capacitance matrix and _R_ is a charge distribution. The capacitance matrix can be computed from the adjacency matrix, _A_, of the graph describing connec The elements of vector _R_ equal minus one for nodes contacting with left lead, plus one for nodes contacting with right lead and zero for all other nodes. The matrix equation has been solved using the LGMRES method [35]. We illustrate this sorting procedure by applying it to a two-dimenssional twoterminal quantum billiard consisting of 1888 atoms, each has a single orbital. The resulting sparsity pattern is shown in Fig. 3b. Note that all three sorting methods are heuristic approaches, meaning that they do not guarantee the minimal bandwidth of TB matrices, but lead to a significant reduction of the bandwidth comparing to an arbitrary ordering of atomic coordinates. Another way to perform sorting of atomic coordinates efficiently can rely on the graph partitioning technique described in [36]. Algorithm 4: Computing optimal block-tridiagonal <u>representation</u> function <u>`compute`</u> <u>`optimal`</u> ~~<u>`b`</u>~~ <u>`locks`</u> ( _P_, _P_ <sup>∗</sup>, _l_, _r_, _N_ ) Input : <u>Profiles of the sparsity pattern,</u> _P_ and _P_ <sup>∗</sup>, sizes of leftmost and rightmost blocks, _l_ and _r_, and _N_ is the size of _P_ . Output: Array of diagonal blocks, _blocklist_ . _j_, _blocklist_, _l_ <sup>′</sup>, _r_ <sup>′</sup> ← `find` ~~`o`~~ `ptimal` ~~`c`~~ `ut` ( _P_, _P_ <sup>∗</sup>, _l_, _r_, _N_ ) _flag_ ← true // Check if left block is large enough for recursive calls to continue if _l_ + _r_ <sup>′</sup> < _j_ then _Pnew_ = _P_ [1 : _j_ ] for _n_ ∈ [1, _j_ ] do _P_ <sup>∗</sup> _new_ <sup>[</sup> <sup>_n_</sup> <sup>] ←</sup> <sup>_P_</sup> <sup>∗[</sup> <sup>_N_</sup> <sup>−</sup> <sup>_j_</sup> <sup>+</sup> <sup>_n_</sup> <sup>] −</sup> <sup>_N_</sup> <sup>+</sup> <sup>_j_</sup> _blocklist_ <sup>′</sup> ← `compute` ~~`o`~~ `ptimal` ~~`b`~~ `locks` ( _Pnew_, _P_ <sup>∗</sup> _new_ <sup>,</sup> <sup>_l_</sup> <sup>,</sup> <sup>_r_</sup> <sup>′,</sup> <sup>_j_</sup> <sup>)</sup> else if _l_ + _r_ <sup>′</sup> = _j_ then `compute` ~~`o`~~ `ptimal` ~~`b`~~ `locks` ( _Pnew_, _P_ <sup>∗</sup> _blocklist_ <sup>′</sup> = [ _l_, _r_ <sup>′</sup> ] else _flag_ ← false // Check if right block is large enough for recursive calls to continue if _l_ <sup>′</sup> + _r_ ≤ _N_ - _j_ then for _n_ ∈ [1, _N_ - _j_ ] do _Pnew_ [ _n_ ] ← _P_ [ _j_ + _n_ ] − _j_ _P_ <sup>∗</sup> _new_ <sup>=</sup> <sup>_P_</sup> <sup>∗[1 :</sup> <sup>_N_</sup> <sup>−</sup> <sup>_j_</sup> <sup>]</sup> _blocklist_ <sup>′′</sup> ← `compute` ~~`o`~~ `ptimal` ~~`b`~~ `locks` ( _Pnew_, _P_ <sup>∗</sup> _P_ <sup>∗</sup> _blocklist_ <sup>′′</sup> ← `compute` ~~`o`~~ `ptimal` ~~`b`~~ `locks` ( _Pnew_, _P_ <sup>∗</sup> _new_ <sup>,</sup> _l_ <sup>′</sup>, _r_, _N_ - _j_ ) else if _l_ <sup>′</sup> + _r_ = _j_ then _blocklist_ <sup>′′</sup> = [ _l_ <sup>′</sup>, _r_ ] else _flag_ ← false // Concatenate two lists if they are compatible with the size constraints. Otherwise the algorithms outputs the block list computed in the line 2 if _flag_ then _blocklist_ ← _blocklist_ <sup>′</sup> + _blocklist_ <sup>′′</sup> tivity of the nodes: _Ci j_ =  - <sup>�</sup> _j_ - _i_ <sup>_A_</sup> _i j_ <sup>,</sup> if _i_ = _j_, (3) _Ai j_, otherwise, - <sup>�</sup> 5 Algorithm 5: Finding the best truncation point giving <u>smallest value of the goal function, Eq.</u> <u>(6)</u> function <u>`find`</u> ~~<u>`o`</u>~~ <u>`ptimal`</u> <u>`cut`</u> ( _P_, _P_ <sup>∗</sup>, _l_, _r_, _N_ ) Input : <u>Profiles of the sparsity pattern,</u> _P_ and _P_ <sup>∗</sup>, sizes of leftmost and rightmost blocks, _l_ and _r_, and _N_ is the size of _P_ . Output: Index of the optimal cut, _j_, an array of sizes of diagonal blocks, _blocklist_, and sizes of the diagonal blocks adjacent to the cut, _l_ <sup>′</sup> and _r_ <sup>′</sup> _L_ ← empty list _E_ ← empty list // Loop over all possible cutting indices for _j_ ∈ [ _l_ + 1, _N_ - _r_ ] do // Compute sparsity pattern profiles for the left block _Pnew_ = _P_ [1 : _j_ ] for _n_ ∈ [1, _j_ ] do _P_ <sup>∗</sup> _new_ <sup>[</sup> <sup>_n_</sup> <sup>] ←</sup> <sup>_P_</sup> <sup>∗[</sup> <sup>_N_</sup> <sup>−</sup> <sup>_j_</sup> <sup>+</sup> <sup>_n_</sup> <sup>] −</sup> <sup>_N_</sup> <sup>+</sup> <sup>_j_</sup> // Compute sub-block sizes for the left block _blocklist_ <sup>′</sup> ← `compute` `blocks` ( _l_, _P_ <sup>∗</sup> [ _N_ - _j_ ] − _N_ + _j_, _Pnew_, _P_ <sup>∗</sup> _new_ <sup>,</sup> <sup>_j_</sup> <sup>)</sup> // Compute sparsity pattern profiles for the right block _Pnew_ = _P_ <sup>∗</sup> [1 : _N_ - _j_ ] for _n_ ∈ [1, _N_ - _j_ ] do _P_ <sup>∗</sup> _new_ <sup>[</sup> <sup>_n_</sup> <sup>] ←</sup> <sup>_P_</sup> <sup>[</sup> <sup>_j_</sup> <sup>+</sup> <sup>_n_</sup> <sup>] −</sup> <sup>_j_</sup> // Compute sub-block sizes for the right block _blocklist_ <sup>′′</sup> ← `compute` `blocks` ( _r_, _P_ [ _j_ ]− _j_, _Pnew_, _P_ <sup>∗</sup> _new_ <sup>,</sup> <sup>_N_</sup> <sup>−</sup> <sup>_j_</sup> <sup>)</sup> // Concatenate two lists _blocklist_ ← _blocklist_ <sup>′</sup> + _blocklist_ <sup>′′</sup> _L_ . `append` ( _blocklist_ ) // Evaluate the goal function for each index _j_ _B_ _B*_ Figure 4: Definition of the matrix bandwidth profiles _B_ and _B_ <sup>∗</sup> of a matrix _A_ . profile _B_ <sup>∗</sup> defined as (see Fig. 4): _B_ <sup>∗</sup> [ _i_ ] = _i_ - min �� _j_ ∈ _K_ : _AN_ - _i_, _j_ - 0� ∪{ _i_ } - . (5) _E_ . `append` _n_ ∈ _blocklist_ - <sup>_n_</sup> <sup>3</sup> // Find the optimal cut _s_ = argmin _E_ [ _j_ ] _j_ _blocklist_ = _L_ [ _s_ ] This technique will be embedded in the codebase in the next release. It is useful for many applications that our matrix be split into a block-tridiagonal structure. In this work we propose a greedy algorithm that can detect optimal block-tridiagonal representation of the band matrix. The proposed algorithm first evaluates the bandwidth of a matrix defined by the expression: Sizes of diagonal blocks of the original matrix are computed using the function `compute` ~~`b`~~ `locks(` _l_, _r_, _P_, _P_ <sup>∗</sup>, _N_ `)` which takes fixed sizes of the leftmost and rightmost blocks, _l_ and _r_, as well as the sparsity pattern profiles, _P_ and _P_ <sup>∗</sup>, and the size of the matrix, _N_, as input arguments. The sizes of blocks _l_ and _r_ are defined by the maximum index of non-zero elements in the corresponding coupling Hamiltonians _H_ −1 and _H_ 1 for the open systems or by _l_ = _P_ [0] and _r_ = _P_ <sup>∗</sup> [0] for the isolated structures. From the mathematical point of view, these conditions are sufficient for the algorithm to work but they are not necessary, meaning that in some cases they can be relaxed in some cases. Strictly speaking, the size of the coupling matrix should be smaller than the sum of the sizes of the two leftmost or rightmost diagonal blocks. The algorithm `compute` `blocks` implements Algorithm 3 according to which if sizes of left and right blocks are small enough (see Algorithm 3 for explicit conditions), the algorithm defines new smallest leftmost and rightmost blocks that fit into the sparsity pattern profiles. Also at this stage the algorithm determines new sparsity pattern profiles being subsets of the original profiles taken from _l_ to _N_ - _r_, and invokes the function `compute` ~~`b`~~ `locks` with new parameters again (see Fig. 5a). At each function call, new block sizes _l_ and _r_ are determined by the sparsity pattern profiles. Since those sizes are the minimal allowed sizes taken at the current step, the algorithm belongs to the class of greedy algorithms [37]. The sequential calls break in one of three cases illustrated in Fig. 5b-d: the spacing between left and right blocks is not sufficient for the algorithm to continue, the function returns the ordered set of two elements ( `max` [ _l_, _r_ ])∪( _N_ - `max` [ _l_, _r_ ]) (see Fig. 5b); the sum of the left and right block sizes is equal to the size of original matrix, the function returns an ordered set consisting of two elements ( _l_, _r_ ) (see Fig. 5c); and the left and right blocks overlap, the function returns the size of the original matrix ( _N_ ) (see Fig. 5d). A greedy algorithm does not guarantee the optimal solution. Indeed, during analysis of our algorithm we observed instances that lead to very large block sizes when the bandwidth varies substantially over the matrix. However, we found that the solution can be further improved by sequentially splitting the largest _B_ [ _i_ ] = `max` �� _j_ ∈ _K_ : _Aij_ - 0� ∪{ _i_ } - - _i_, (4) where _K_ is the index set of the matrix. The matrix bandwidth is then given by the maximal element of the array _B_ . According to this expression the bandwidth is computed for each row as a difference between the largest index of the non-zero elements and the index of the element on the main diagonal (see Fig. 4). If no such element exists, the bandwidth is equal to zero. The sparsity pattern profile _P_ [ _i_ ] is defined by the cumulative maximum of _B_ [ _i_ ] + _i_ . We will also need an auxiliary vector _P_ <sup>∗</sup> [ _i_ ] = _B_ <sup>∗</sup> [ _i_ ] + _i_ expressed in term of the conjugate bandwidth 6 a b c d _<mark>l</mark>_ _P_ <sup>_*_</sup> _l_ _P_ <sup>_*_</sup> _l_ _l_ _P_ _P_ _r_ _P_ <sup>_*_</sup> _r_ _r_ _P_ _<mark>r</mark>_ Figure 5: Depending on the size of the leftmost and rightmost blocks, _l_ and _r_, and the size of the matrix _N_, Algorithm 4 proceeds in one of four possible ways: a) continues recursively if the spacing between blocks is larger than sizes of newly generated blocks, b) return size of the largest block, either _l_ or _r_, and the difference between the size of the matrix and the size of that block if the spacing between blocks is smaller than sizes of newly generated blocks but blocks do not overlap, c) returns _l_ or _r_ if _l_ + _r_ = _N_, and d) returns _N_ if blocks overlap. _i=s_ _l_ _l'=P(s)-s_ _A1_ _j=s_ _A2_ _r'=P*(N-s)-N+s_ _r_ Figure 6: Illustration of a single step of the recursive Algorithm 4 that computes optimized block-tridiagonal representation of the matrix. At this step matrix _A_ is split in two subblocks _A_ 1 and _A_ 2; sizes of blocks _r_ <sup>′</sup> and _l_ <sup>′</sup> are computed from the sparsity pattern profiles. blocks. In order to do that we start with splitting the original matrix _A_ into two sub-matrices, _A_ 1 and _A_ 2 (see Fig. 6), determined by a value of some cutting index, _s_ (see Algorithm 4). At the cutting point, the sparsity pattern profiles determine sizes of new rightmost and leftmost blocks, _r_ <sup>′</sup> and _l_ <sup>′</sup>, for matrices _A_ 1 and _A_ 2 shown by grey shaded area in Fig. 6. To determine the most favorable choice of the cut _s_, we apply the previously discussed algorithm `compute` `blocks` to each of the matrices _A_ 1 and _A_ 2 for a range of values _s_ in the interval ( _l_, _N_ - _r_ ) and minimize the goal function: Fig. 3 a and b. In the first case, the original size of the matrix is 446 × 446. The algorithm outputs the diagonal block sizes of 131, 97, 121, and 97 (shown in Fig. 3a as red rectangles). Note that the algorithm suggests a solution with four blocks, and this corresponds to the number of silicon atomic layers in the primitive cell along the direction of translation. For the second case with the matrix size 1888×1888, the number of blocks is 51. In Fig. 3 c and d we also compare output of the function `compute` ~~`b`~~ `locks` that computes the block sizes in a single run with the output of the function `compute` ~~`o`~~ `ptimal` `blocks` computing an optimized solution. In the last case the sizes of block are more equalized. 3. NanoNET framework _3.1._ _Software Architecture_ A generic control flow for applications developed with _NanoNET_ [38] is shown schematically in Fig. 7. The input parameters are the list of atomic coordinates and a table of twocenter integrals. The framework contains two packages `tb` and `negf` . The package `tb` is the core responsible for composing and diagonalizing Hamiltonian matrices. The `negf` package processes TB matrices; it contains subroutines for computing Green’s functions, namely implementing the Recursive Green’s Function (RGF) algorithm [19]. `tb` represents a library of Python classes facilitating building Hamiltonian matrices, imposing periodic boundary conditions and computing electronic structure for molecules and solids using the TB method in the single-particle approximation. The Hamiltonian matrices are built from an XYZ file containing atomic coordinates and a list of TB parameters. The software architecture relies on the object-oriented paradigms - the framework represents a library of classes whose UML diagram is shown in Fig. 8. The central class of the framework is called `Hamiltonian` and contains all necessary information and functionality to construct Hamiltonian matrices that represents its main goal. This class inherits properties and member functions from classes `BasisTB` and `StructureDesignerXYZ` - abstractions for basis sets and geometrical configuration of atoms correspondingly. The first one stores a look-up table that allows one to associate a set of orbitals with a label denoting a chemical element. The second one stores a _kd_ -tree built from the list of atomic coordinates. The class `CyclicTopology` is used when periodic boundary conditions are applied. It translates atomic coordinates according to translation vectors and creates a _kd_ -tree for atoms outside the primitive cell, needed to compute the Hamiltonian matrix responsible for coupling between neighbouring primitive cells. The orbital sets are created using facilities of the class `Orbitals` . This class is the parent class for all basis sets. The current version of the software package contains predefined basis sets: sp <sup>3</sup> d <sup>5</sup> s <sup>∗</sup> model for silicon [39], `SiliconSP3D5S`, single s-orbital for hydrogen [4], `HydrogenS`, and an sp <sup>3</sup> model for bismuth [40], `Bismuth` . The version of the class `Hamiltonian` that uses sparse matrix representations is implemented in sub-class _N_ _j_ = _s_ _N_ <sup>3</sup> _j_ <sup>,</sup> (6) _E_ ( _s_ ) = _s_ −1 _j_ =1 _N_ <sup>3</sup> _j_ <sup>+</sup> where _N_ _j_ is the size of _j_ -th block, (see Algorithm 5 implementing the function `find` ~~`o`~~ `ptimal` ~~`c`~~ `ut` ). Minimization of the goal function represented by a sum of cubes of diagonal blocks optimizes the computation time for recursive Green’s function algorithms which scale as O( _N_ <sup>3</sup> _j_ <sup>).</sup> <sup>If the sizes of the matrices</sup> <sup>_A_</sup> <sup>1</sup> and _A_ 2 are larger than a sum of sizes of leftmost and rightmost blocks, further improvement can be achieved by repeating this procedure recursively for each of the matrices _A_ 1 and _A_ 2 (see Algorithm 4). We find the points of these optimal cuts are almost always where the bandwidth is at its widest. We have applied the algorithms described above for two structures whose TB matrices have sparsity patterns shown in 7 Extensions sort dist_dep Hamiltonian matrices H H-1 H0 H1 Atomic coordinates Two-center integrals tb <mark>H</mark> negf H0 H1 H-1 Figure 7: A generic control flow for applications developed with _NanoNET_ . Physical quantities G G <sup><</sup> G <sup>></sup> Σ Σ <sup>out</sup> Σ <sup>in</sup> `HamiltonianSp` having the same interface with some redefined member-functions. There are also supplementary modules in `tb` such as `diatomic` ~~`m`~~ `atrix` ~~`e`~~ `lement` and `block` ~~`t`~~ `ridiagonalization` which are used in the class `Hamiltonian` and contain a set of procedures for computing the TB matrix elements and block-tridiagonal structure of a matrix respectively. The package `negf` is written in the procedural programming paradigm and contains functions that computes complex band structure, self-energies of leads and non-equilibrium Green’s functions. <u>AbstractStructureDesigner</u> <u>atom_list</u> get_neighbours() _3.2._ _Software Functionalities_ The interface to _NanoNET_ is provided either by an application programming interface represented by a library of Python classes, or by a command line user interface for Unix-like operating systems. The functionality of the package includes: - building TB Hamiltonian matrices (Algorithms 1 and 2); - detecting block-tridiagonal matrix structure (Algorithms 3 - 5); - diagonalizing Hamiltonian matrices using standard numerical methods implemented in _NumPy_ and _SciPy_ packages; - computing a set of non-equilibrium Green’s functions as well as observables that can be derived from them such as density of states, transmission function and charge density. The Green’s functions are computed using the recursive Green’s function algorithm [19]. 4. Extracting physical quantities of interest from the Hamiltonian matrix and Green’s functions Although _NanoNET_ can be interfaced with any other software by extracting Hamiltonian matrices in any favorable format and passing them as an input to other programs, for the sake of completeness we provide basic routines for computing some physical quantities of interest from Hamiltonian matrices. Time-independent observables, such as energy spectrum, density of states, and stationary and/or equilibrium electron density distribution, can be extracted from the eigenvalues and eigenvectors of the Hamiltonian matrix obtained by the direct matrix diagonalization or computed via the Green’s functions formalism that requires computing the matrix inverse. The direct matrix diagonalizaion is implemented as a member function of the class `Hamiltonian` in the package `tb`, while all other algorithms performing post-processing of the tight-binding matrices are placed in the package `negf` . _4.1._ _Band structure_ For the periodic structures the band structure can be found solving the eigenvalue problem _H_ ( k )ψ k = _E_ ( k )ψ k, where ψ k CyclicTopology atom_list interfacial_atoms_ind : list pcv sizes : list virtual_and_interfacial_atoms : OrderedDict atom_classifier() get_neighbours() <u>HamiltonianSp</u> ct AbstractBasis orbitals_dict ind2qn() qn2ind() BasisTB basis_size : int orbitals_dict quantum_numbers_lims : list ind2qn() qn2ind() Hamiltonian <u>StructDesignerXYZ</u> atom_list left_lead num_of_nodes num_of_species reorder : NoneType right_lead <u>sort_func</u> add_leads() get_neighbours() Orbitals num_of_orbitals : int orbital_sets : dict orbitals : list title add_orbital() atoms_factory() generate_info() orbitals_dict SiliconSP3D5S HydrogenS Bismuth diagonalize() diagonalize_periodic_bc() get_hamiltonians() initialize() diagonalize() diagonalize_periodic_bc() get_hamiltonians() get_hamiltonians_block_tridiagonal() get_site_coordinates() initialize() set_periodic_bc() Figure 8: UML diagram of the subpackage `tb` of _NanoNET_ 8 and _E_ ( k ) are the eigenvectors and eigenvalues of the TB matrix, and the wave vector k is set as a parameter. This problem is solved by a direct matrix diagonalization performed in the class `Hamiltonian` using LAPACK [41] routines with a Python interface provided via _Numpy_ package. _4.2._ _Complex band structure_ Recently much attention has been drawn to the complex band structure computation in the context of molecular junction transmission [42] and Majorana modes of nanowires [43]. The complex band structure can be computed from the TB Hamiltonian written in the form: _H_ ( k ) = _H_ 0 + _H_ −1 _e_ <sup>−</sup> <sup>_ik_</sup> + _H_ 1 _e_ <sup>_ik_</sup>, where _H_ 0 is the intracell TB Hamiltonian and _H_ −1 and _H_ 1 are the Hamitonians of intercell coupling. This leads to the eigenvalue problem: - _E_ - _H_ 0 − _H_ −1 _e_ <sup>−</sup> <sup>_ik_</sup> - _H_ 1 _e_ <sup>_ik_</sup> <sup>�</sup> ψ _E_ = 0. Here, instead of the wave vector, we can set energy _E_ as a parameter and find the eigenvalues in the form λ = _e_ <sup>_ik_</sup> [44, 45] from the matrix: and conductance in the linear transport regime [47], _4.4._ _Green’s functions_ Computing Green’s functions is based on the recursive Green’s function algorithm published in [19]. The algorithm implies a steady-state regime of the electron transport and discretized real space. The program outputs following functions as a result: retarded Green’s function _G_ = [ _EI_ - _H_ - Σ] <sup>−1</sup>, electron correlation function _G_ <sup>_n_</sup> = _G_ Σ <sup>in</sup> _G_ <sup>†</sup> and hole correlation function _G_ <sup>_p_</sup> = _G_ Σ <sup>out</sup> _G_ <sup>†</sup> . In the literature [16, 15], the _G_ <sup>_n_</sup> and _G_ <sup>_p_</sup> are also known as the lesser and greater Green’s functions, - _iG_ <sup><</sup> and + _iG_ <sup>></sup>, respectively. The retarded Green’s function contains information related to properties of a system in thermodynamic equilibrium such as density of states, DOS(ε) = <sup>_<u>i</u>_</sup> π <sup>Tr</sup> - _G_ - _G_ <sup>†�</sup> , (10) transmission function (Caroli formula [46]), _T_ (ε) = Tr - _G_ <sup>†</sup> Γ _RG_ Γ _L_ -, (11) - 0 1 - _H_ 1 <sup>−1</sup> <sup>_H_</sup> <sup>−1</sup> _H_ 1 ( _E_ - _H_ 0) �� ψ _E_ ) λ _E_ ψ _E_ = λ _E_ - ψ _E_ λ _E_ ψ _E_ . (7) _g_ (ε) = − <sup><u>2</u></sup> <sup>_<u>e</u>_</sup> <sup>2</sup> ℏ - _d_ ε <sup>_<u>d f</u>_</sup> <sup><u>0(ε)</u></sup> - _d_ ε <sup>_<u>d f</u>_</sup> <sup><u>0(ε)</u></sup> _d_ ε _T_ (ε). (12) �����ε _F_ _4.3._ _Self-energies for periodic leads_ A quasi periodic structure is often used to model electrodes or leads that can be attached to a nanostructure. The leads modify the nanostructure by providing an additional source of elastic and/or inelastic scattering. The effect of the leads on the Hamiltonian or Green’s functions associated with the nanostructure can be conveniently expressed through the selfenergies. In the case of the two-terminal devices we have left and right leads whose self-energies can be expressed in terms of the eigenvectors and eigenvalues obtained from Eq. (7). Following the procedure described in [45], the eigenvectors ψ _E_ and eigenvalues λ _E_ can be divided in two classes, left- and right propagating modes, depending on the position of complex eigenvalues in the complex plane. The eigenvectors and eigenvalues for the left-propagating modes are collected in matrices Ψ< and Λ< respectively, while the right-propagating modes are described by the matrices Ψ> and Λ>. With this notation, the self-energies describing couplings to the semi-infinite leads reads [45]: Σ _L_ = _H_ 1Ψ>Λ>Ψ <sup>−</sup> - <sup>1</sup> <sup>−</sup> - <sup>1,</sup> Σ _R_ = _H_ −1Ψ<Λ>Ψ <sup>−</sup> < <sup>1</sup> <sup>−</sup> < <sup>1.</sup> (8) where _f_ 0(ε) is the equilibrium distribution function, and the prefactor 2 corresponds to spin-degeneracy. The electron and hole correlation functions can be used to compute physical parameters such as current density, associated with the non-equilibrium regime [19]. It is necessary to note that most of the mentioned above transport properties can be also computed using the spectral methods [4, 1, 2, 3]. Such methods do not require matrix inversion. The efficiency of the spectral methods can be significantly enhanced using the Chebyshev expansion method [48, 49], kernel polynomial method [50, 51, 23, 22] or reduced mode space techniques [5, 52] which is planned for a future release. 5. NanoNET: illustrative examples As an example of _NanoNET_ usage we have computed the electronic structure for a silicon nanowire, discussed in Section 2.5, and bulk bismuth. The silicon nanowire represents the case of 1D periodic structure with large number of atoms in the primitive cell (the atomic coordinates of atoms in the primitive cell are shown in Supplementary material). The bulk bismuth is a representative example where second and third nearest neighbour interactions have to be taken into account. _5.1._ _Silicon nanowire example_ First we load all necessary modules. import numpy as np import nanonet . tb as tb import nanonet . negf as negf Then, we set the primitive cell parameters and inquire usage of predefined basis sets for silicon and hydrogen. Another set of useful quantities employed in the nonequilibrium Green’s function computations are the in-scattering and out-scattering matrices: Σ <sup>in</sup> _j_ <sup>in</sup> _j_ <sup>= Γ</sup> <sup>_j f j_</sup> <sup>(</sup> <sup>_E_</sup> <sup>, µ</sup> <sup>_j_</sup> <sup>),</sup> Σ <sup>out</sup> _j_ <sup>out</sup> _j_ = Γ _j_ �1 − _f j_ ( _E_, µ _j_ )�, (9) where _j_ ∈{ _L_, _R_ }, and _f j_ ( _E_, µ _j_ ) is the Fermi-Dirac distribution function with the chemical potential µ _j_, and Γ _j_ = _i_ �Σ _j_ - Σ <sup>†</sup> _j_ - is function with the chemical potential µ _j_, and Γ _j_ = _i_ �Σ _j_ - Σ <sup>†</sup> _j_ - is the coupling matrix. �Σ _j_ - Σ <sup>†</sup> _j_ _j_ 9 tb . O r b i t a l s . - r b i t a l s e t s = { ’ Si ’ : ’ SiliconSP3D5S ’, ’H’ : ’ HydrogenS ’ } In this example we will use a custom sorting procedure for atomic coordinates defined below: def s o r t i n g ( coords, ** <sup>kwargs ) :</sup> r e t u r n np . a r g s o r t ( coords [ :, 2], kind = ’ mergesort ’ ) Here, we make an instance of the class `Hamiltonian` via reading atomic coordinates from the XYZ file. h = tb . Hamiltonian ( xyz= ’SiNW2 . xyz ’, n n d i s t a n c e = 2.4, s o r t f u n c = s o r t i n g ) . i n i t i a l i z e ( ) The content of the file ’SiNW2.xyz’ is shown in the Appendix. The object constructor also takes the argument `nn` ~~`d`~~ `istance` which is the maximal distance determining the nearest neighbours, measured in Angstroms. The actual computations of the Hamiltonian matrix elements are performed by invoking the member function `initialize()` of an object of the class `Hamiltonian` . After initialization of the Hamiltonian matrix, the periodic boundary conditions are applied: a s i = 5.50 p r i m i t i v e c e l l = [ [ 0, 0, a s i ] ] h . s e t p e r i o d i c b c ( p r i m i t i v e c e l l ) At this point we may verify the correctness of computed matrices. To do that, we reproduce the band structure of a silicon nanowire published previously in [4]. num points = 20 k a r r a y = np . l i n s p a c e (0, np . pi / a s i, num points ) b a n d s r u c t u r e = [ ] f o r kk in k a r r a y : e, = h . d i a g o n a l i z e p e r i o d i c b c ( [ 0, 0, kk ] ) b a n d s r u c t u r e . append ( e ) The resulting band structure is visualized in Fig. 9a. Now we proceed to computing the electron transmission function. In order to get the Hamiltonian matrices _H_ 0, _H_ −1 and _H_ 1 for Eq. (7) and evaluate their blocktridiagonal structure, we invoke the member function `get` ~~`h`~~ `amiltonians` `block` ~~`t`~~ `ridiagonal()` : hl b, h0 b, hr b, \ blocks = h . g e t h a m i l t o n i a n s b l o c k t r i d i a g o n a l ( ) Now we make an energy array and initialize arrays for the density of states and transmission spectrum. energy = np . l i n s p a c e ( 2 . 1, 2.6, 100) t r = np . zeros ( ( energy . shape [ 0 ] ) ) dos = np . zeros ( ( energy . shape [ 0 ] ) ) Next, in the energy loop we compute self-energies of leads, _L_ and _R_, their spectral functions, density of states and transmission functions defined by the Caroli formula [46]. Figure 9: a) Band structure, b) density of states and c) electron transmission function of the hydrogen passivated silicon nanowire using the semi-empirical tight-binding method implemented in _NanoNET_ framework. The primitive cell of the nanowire consisting of 77 atoms is shown in the panel d. damp=damp ) g t r a n s, grd, grl, gru, \ g r l e f t = negf . r e c u r s i v e g f (E, hl bd, h0 bd, hr bd, l e f t s e =L, r i g h t s e =R, damp=damp ) blks = len ( grd ) f o r j j in range ( blks ) : dos [ j ] −= np . t r a c e ( np . imag ( grd [ j j ] ) ) / blks gamma l = 1 j - <sup>(L</sup> <sup>−</sup> <sup>L .</sup> <sup>conj</sup> <sup>( ) . T)</sup> gamma r = 1 j - <sup>(R</sup> <sup>−</sup> <sup>R.</sup> <sup>conj</sup> <sup>( ) . T)</sup> t r [ j ] = np . r e a l ( np . t r a c e ( gamma l @\ g t r a n s @\ gamma r @\ g t r a n s . conj ( ) . T ) ) ) damp = 0.001 j f o r j, E in enumerate ( energy ) : L, R = negf . s u r f a c e g r e e n s f u n c t i o n (E, hl bd, h0 bd, hr bd, i t e r a t e =True, The resulting density of states and transmission function are visualized in Fig. 9b and c respectively. _5.2._ _Bulk Bi crystal example_ from nanonet . tb import Hamiltonian, O r b i t a l s from nanonet . tb import s e t t b p a r a m s, g e t k c o o r d s First, we form _sp_ <sup>3</sup> LCAO basis set for bismuth atoms [40]. The basis set is represented by an instance of the class `Orbitals` . Each orbital possesses a label, energy value, and a set of quantum numbers. Note, the basis set includes orbitals with different spins since the spin-orbit coupling has to be taken into account. b i - r b = O r b i t a l s ( ’ Bi ’ ) b i - r b . a d d - r b i t a l ( ” s ”, energy = −10.906, p r i n c i p a l =0, - r b i t a l =0, magnetic =0, spin =0) b i - r b . a d d - r b i t a l ( ”px”, energy = −0.486, p r i n c i p a l =0, - r b i t a l =1, magnetic = −1, spin =0) b i - r b . a d d - r b i t a l ( ”py”, energy = −0.486, p r i n c i p a l =0, - r b i t a l =1, magnetic =1, spin =0) b i - r b . a d d - r b i t a l ( ” pz ”, energy = −0.486, p r i n c i p a l =0, - r b i t a l =1, magnetic =0, spin =0) b i - r b . a d d - r b i t a l ( ” s ”, energy = −10.906, p r i n c i p a l =0, - r b i t a l =0, 10 magnetic =0, spin =1) b i - r b . a d d - r b i t a l ( ”px”, energy = −0.486, p r i n c i p a l =0, - r b i t a l =1, magnetic = −1, spin =1) b i - r b . a d d - r b i t a l ( ”py”, energy = −0.486, p r i n c i p a l =0, - r b i t a l =1, magnetic =1, spin =1) b i - r b . a d d - r b i t a l ( ” pz ”, energy = −0.486, p r i n c i p a l =0, - r b i t a l =1, magnetic =0, spin =1) The atomic coordinates may be defined in a XYZ file or directly in a Python variable containing a formated text string like in the example below. xyz coords = _”””2_ _Bi2_ _c e l l_ _Bi1_ _0.0_ _0.0_ _0.0_ _Bi2_ _0.0_ _0.0_ _5.52321494_ _”””_ At this stage all is set to define the instance of the class Hamiltonian: h = Hamiltonian ( xyz= xyz coords, n n d i s t a n c e = 4.6, s o c o u p l i n g = 1.5) Here the variable `so` ~~`c`~~ `oupling` specifies the value of the spin-orbit coupling. For the bismuth crystals, coupling between first, second and third nearest neighbours have to be taken into account. For that we need to specify a so-called radial-dependence function that classifies nearest neighbours in one of mentioned above categories depending on the inter-nuclei distance. import numpy as np def r a d i a l d e p ( coords ) : _#_ _3NN_ - _Bi_ - _Bi_ PAR3 = { ’ ss sigma ’ : 0, ’ sp sigma ’ : 0, ’ pp sigma ’ : 0.156, ’ pp pi ’ : 0 } s e t t b p a r a m s ( PARAMS BI BI1=PAR1, PARAMS BI BI2=PAR2, PARAMS BI BI3=PAR3) norm of coords = np . l i n a l g . norm ( coords ) i f norm of coords < 3 . 3 : r e t u r n 1 e l i f 3.7 - norm of coords - 3 . 3 : r e t u r n 2 e l i f 5.0 - norm of coords - 3 . 7 : r e t u r n 3 e l s e : r e t u r n None The function returns one of four labels. The TB parameters can be set via the function `set` `tb` ~~`p`~~ `arams` . This function follows certain naming convenction for the TB parameters: `PARAMS` ~~`<`~~ `el1>` ~~`<`~~ `el2><order>`, where `<el1>` and `<el2>` are chemical elements of a pair of atoms, and `<order>` is a number specifying the order of neighbours. The TB parameters and orbital energies for Bi are taken from [40]: _#_ _1NN_ - _Bi_ - _Bi_ PAR1 = { ’ ss sigma ’ : - 0.608, ’ sp sigma ’ : 1.320, ’ pp sigma ’ : 1.854, ’ pp pi ’ : - 0.600 } _#_ _2NN_ - _Bi_ - _Bi_ PAR2 = { ’ ss sigma ’ : - 0.384, ’ sp sigma ’ : 0.433, ’ pp sigma ’ : 1.396, ’ pp pi ’ : - 0.344 } The function `initialize()` takes a radial-dependence function as an argument. If it is not specified the `None` label is used for the TB parameters. h . i n i t i a l i z e ( r a d i a l d e p ) The computed Hamiltonian matrix is related to the isolated nanocrystal whose atomic coordinates are stored in the variable `xyz` ~~`c`~~ `oords` . The crystal structure is defined setting the periodic boundary conditions with translation vectors defining a primitive cell. p r i m i t i v e c e l l = [[ − 2.267, - 1.309, 3 . 9 3 2 ], [ 2.267, - 1.309, 3 . 9 3 2 ], [ 0.000, 2.617, 3 . 9 3 2 ] ] h . s e t p e r i o d i c b c ( p r i m i t i v e c e l l ) The band structure is computed for a set of points in the kspace defined below (see Ref. [53] for a definition of these high symmetry points): sym k points = { ’GAMMA’ : [ 0 . 0 0, 0.00, 0 . 0 0 ], ’K’ : [ 0 . 3 6, - 0.80, 0 . 5 3 ], ’L ’ : [ 0 . 6 9, - 0.40, 0 . 2 7 ], ’LAMBDA’ : [ 0 . 0 0, 0.00, 0 . 4 0 ], ’T ’ : [ 0 . 0 0, 0.00, 0 . 8 0 ], ’U’ : [ 0 . 5 4, - 0.31, 0 . 8 0 ], ’W’ : [ 0 . 3 6, - 0.62, 0 . 8 0 ], ’X’ : [ 0 . 0 0, - 0.80, 0 . 5 3 ] } path = [ ’K’, ’GAMMA’, ’T ’, ’W’, ’L ’, ’LAMBDA’ ] s i z e s = [10, 10, 10, 10, 10] k a r r a y = g e t k c o o r d s ( path, s i z e s, sym k points ) A computation of the band structure is performed by diagonalizing Hamiltonian matrices for each k-point. b a n d s t r u c t u r e = [ ] f o r k p o i n t in k a r r a y : [ e, ] = h . d i a g o n a l i z e p e r i o d i c b c ( k p o i n t ) b a n d s t r u c t u r e . append ( e ) The resulted band structure is shown in Fig. 10. 6. Software performance The overall execution time of the applications built with the _NanoNET_ framework depends on the considered atomic structure and choice of algorithms. To illustrate this point, we measure the execution time of the components of the script computing the transmission probability for an electron in the Si nanowire from the Section 5.1 with different geometrical sizes. All numerical experiments have been carried out on one processor core of a 24-core Intel Xeon Scalable ‘Cascade Lake‘ processor. The time required to form the Hamiltonian matrices is determined by the nearest-neighbour search based on the kd-tree. Building such tree scales as _N_ log _N_ with the number of orbitals (see red shaded area in see Fig. 11 a and b). The most favorable way to increase the number of atoms in this structure 11 5.0 0.0 -5.0 -10.0 -15.0 K Γ T W L Λ Wave vector Figure 10: Band structure of bulk bismuth computed using the semi-empirical tight-binding method implemented in _NanoNET_ framework. from the computational point of view is increasing the length of the nanowire in the direction perpendicular to the leads. Since the area of the leads does not change in this case, the computational time spent for the leads self-energy is independent of the number of orbitals (see blue shaded area). The execution time for the recursive Green’s function algorithm in this case depends linearly on the number of orbitals, since the algorithm for detecting the tri-blockdiagonal structure of the Hamiltonian matrix finds new blocks when more orbitals are added (see Fig. 11 a). In the limit of extremely long nanowires the time spent for the recursive Green’s function algorithm can overcome the time needed to compute the self-energies. Note that building Hamiltonian matrices has to be done only once at the beginning of the script while the self-energies and Green’s functions have to be computed for each value of quasi-particle energy (the wall time has been evaluated for 50 points). In Fig. 11 b, we show the execution time for the same structure without splitting the Hamiltonian into blocks. In this case, the execution time for the recursive Green’s function algorithm grows as _N_ <sup>3</sup> becoming dominant for the structures with more than 2000 orbitals. This time is determined by the execution time of LAPACK `gelsy` algorithm outputting the least-squares solution to a linear matrix equation. The least favorable case from a computational point of view is when new atoms are added to the leads and to the nanowire in the direction parallel to leads. The algorithm for the computing leads self-energies is based on solving the eigenvalue problem which scales as _N_ <sup>3</sup> and is performed by the LAPACK algorithm `cggev` for the non-symmetric generalized eigenvalue problem [41]. The recursive Green’s functions algorithm also cannot perform efficiently in this case, since adding new atoms leads to growing block sizes. The data in Fig. 11 c show performance of the algorithms generating matrices in the tri-blockdiagonal form for a set of longitudinal sizes of the nanowire. If none of those algorithms are applied, some time is spent to split the Hamiltonian into the device region part, and left-lead and right-lead Figure 11: Stack diagrams for the execution time of computing transport properties of the silicon nanowire a) using algorithm detecting tri-blockdiagonal structure and b) without detecting tri-blockdiagonal structure. c) The execution time spent detecting the tri-blockdiagonal structure of the Hamiltonian matrices. 7. Conclusions We have introduced a novel open-source _Python_ framework _NanoNET_ for the electronic structure and electron transport modelling based on the tight-binding method. The framework provides user with facilities to build the tight-binding Hamiltonian matrices in dense, sparse or block-tridiagonal forms taking a list of atomic coordinates and a table of two-center integrals as an input. The framework can be extended by a user in several ways: adding subroutines for sorting atomic coordinates in a way that is required by a certain application and defining a radial distance dependence of tight-binding parameters. _NanoNET_ consists of two _Python_ packages `tb` and `negf` : the first one is for building TB matrices and the latter contains a set of subroutines that compute NEGF and related physical quantities. In future we plan to extend the package `tb` by additionally facilities to generate reduced models using the tightbinding mode-space technique [52]. Acknowledgments The authors acknowledge support of the Australian Research Council through grant CE170100026 and CE170100039. This research was undertaken with the assistance of resources and services from the National Computational Infrastructure, which is supported by the Australian Government. coupling parts (the line with square markers). Computing the tri-blockdiagonal structure with the greedy algorithm takes approximately twice as long with the same scaling (the line with triangle markers). The optimization algorithm is aimed to even out the block sizes and it is polynomial in time (the line with circle markers). However, since all the algorithms mentioned above operate on block sizes and the profiles of the sparsity patterns, not the Hamiltonian matrix itself, even in the last case the overall execution time is only a few seconds. When the Hamiltonian matrices are computed the most time is spent on the nearest-neighbour search. Matrix formation time Leads self-energy (@50 energy points) Recursive Green's functions (@50 energy points) a b 500 5000 get_hamiltonians() get_hamiltonians_block_tridiagonal() with greedy algorithm get_hamiltonians_block_tridiagonal() with optimization c 8 7 6 5 4 3 2 400 300 200 100 0 5000 10000 4000 3000 2000 1000 0 2000 1 4000 2000 4000 6000 Number of orbitals Number of orbitals Number of orbitals 12 References [1] N. Neophytou, A. Paul, M. S. Lundstrom, G. Klimeck, Simulations of nanowire transistors: atomistic vs. effective mass models, Journal of Computational Electronics 7 (3) (2008) 363–366. [2] G. P. Lansbergen, R. Rahman, C. J. Wellard, I. Woo, J. Caro, N. Collaert, S. Biesemans, G. Klimeck, L. C. L. Hollenberg, S. Rogge, Gate-induced quantum-confinement transition of a single dopant atom in a silicon finfet, Nature Physics 4 (2008) 656. [3] Y. M. Niquet, A. Lherbier, N. H. Quang, M. V. Fern´andez-Serra, X. Blase, C. Delerue, Electronic structure of semiconductor nanowires, Phys. Rev. B 73 (2006) 165319. [4] Yun Zheng, C. Rivas, R. Lake, K. Alam, T. B. Boykin, G. Klimeck, Elec tronic properties of silicon nanowires, IEEE Transactions on Electron Devices 52 (6) (2005) 1097–1103. [5] A. Afzalian, T. Vasen, P. Ramvall, T.-M. Shen, J. Wu, M. Passlack, Physics and performances of III–v nanowire broken-gap heterojunction TFETs using an efficient tight-binding mode-space NEGF model enabling million-atom nanowire simulations, Journal of Physics: Condensed Matter 30 (25) (2018) 254002. [6] H. Ryu, S. Lee, M. Fuechsle, J. A. Miwa, S. Mahapatra, L. C. L. Hollen berg, M. Y. Simmons, G. Klimeck, A tight-binding study of single-atom transistors, Small 11 (3) (2015) 374–381. [7] J. S. Smith, D. W. Drumm, A. Budi, J. A. Vaitkus, J. H. Cole, S. P. Russo, Electronic transport in si:p δ-doped wires, Phys. Rev. B 92 (2015) 235420. [8] A. N. Rudenko, S. Yuan, M. I. Katsnelson, Toward a realistic description of multilayer black phosphorus: From _gw_ approximation to large-scale tight-binding simulations, Phys. Rev. B 92 (2015) 085419. [9] M. Elstner, D. Porezag, G. Jungnickel, J. Elsner, M. Haugk, T. Frauen heim, S. Suhai, G. Seifert, Self-consistent-charge density-functional tightbinding method for simulations of complex materials properties, Phys. Rev. B 58 (1998) 7260–7268. [10] M. Elstner, T. Frauenheim, E. Kaxiras, G. Seifert, S. Suhai, A self consistent charge density-functional based tight-binding scheme for large biomolecules, physica status solidi (b) 217 (1) (2000) 357–376. [11] G. Calogero, N. R. Papior, P. Bøggild, M. Brandbyge, Large-scale tight binding simulations of quantum transport in ballistic graphene, Journal of Physics: Condensed Matter 30 (36) (2018) 364001. [12] D. R. Bowler, M. Aoki, C. M. Goringe, A. P. Horsfield, D. G. Pettifor, A comparison of linear scaling tight-binding methods, Modelling and Simulation in Materials Science and Engineering 5 (3) (1997) 199–222. [13] E. Hern´andez, M. J. Gillan, Self-consistent first-principles technique with linear scaling, Phys. Rev. B 51 (1995) 10157–10160. [14] A. F. Voter, J. D. Kress, R. N. Silver, Linear-scaling tight binding from a truncated-moment approach, Phys. Rev. B 53 (1996) 12733–12741. [15] K. Balzer, M. Bonitz, Nonequilibrium Green’s Functions Approach to Inhomogeneous Systems, Lecture Notes in Physics, Springer Berlin Heidelberg, 2012. [16] G. Stefanucci, R. van Leeuwen, Nonequilibrium Many-Body Theory of Quantum Systems: A Modern Introduction, Cambridge University Press, 2013. [17] J. A. Vaitkus, J. H. Cole, B¨uttiker probes and the recursive green’s func tion: An efficient approach to include dissipation in general configurations, Phys. Rev. B 97 (2018) 085149. [18] S. Datta, C. U. Press, Quantum Transport: Atom to Transistor, Cambridge University Press, 2005. [19] M. P. Anantram, M. S. Lundstrom, D. E. Nikonov, Modeling of nanoscale devices, Proceedings of the IEEE 96 (9) (2008) 1511–1550. [20] T. Ozaki, Efficient low-order scaling method for large-scale electronic structure calculations with localized basis functions, Phys. Rev. B 82 (2010) 075131. [21] S. Steiger, M. Povolotskyi, H. Park, T. Kubis, G. Klimeck, Nemo5: A parallel multiscale nanoelectronics modeling tool, IEEE Transactions on Nanotechnology 10 (6) (2011) 1464–1474. [22] C. W. Groth, M. Wimmer, A. R. Akhmerov, X. Waintal, Kwant: a soft ware package for quantum transport, New Journal of Physics 16 (6) (2014) 063065. [23] D. Moldovan, M. Andelkovic, F. Peeters, pybinding [v0.9.5:](https://doi.org/10.5281/zenodo.4010216) a Python package for tight- [binding](https://doi.org/10.5281/zenodo.4010216) calculations, This work was supported by the Flemish Science Foundation (FWO-Vl) and the Methusalem Funding of the Flemish Government. (Aug. 2020). `[doi:10.5281/zenodo.](http://dx.doi.org/10.5281/zenodo.4010216)` `[4010216](http://dx.doi.org/10.5281/zenodo.4010216)` . URL `[https://doi.org/10.5281/zenodo.4010216](https://doi.org/10.5281/zenodo.4010216)` [24] N. Papior, N. Lorente, T. Frederiksen, A. Garc´ıa, M. Brandbyge, Im provements on non-equilibrium and transport green function techniques: The next-generation transiesta, Computer Physics Communications 212 (2017) 8 – 24. [25] A. R. Rocha, V. M. Garc´ıa-Su´arez, S. Bailey, C. Lambert, J. Ferrer, S. Sanvito, Spin and molecular electronics in atomically generated orbital landscapes, Phys. Rev. B 73 (2006) 085414. [26] J. Ferrer, C. J. Lambert, V. M. Garc´ıa-Su´arez, D. Z. Manrique, D. Vi sontai, L. Oroszlany, R. Rodr´ıguez-Ferrad´as, I. Grace, S. W. D. Bailey, K. Gillemot, H. Sadeghi, L. A. Algharagholy, GOLLUM: a nextgeneration simulation tool for electron, thermal and spin transport, New Journal of Physics 16 (9) (2014) 093029. [27] A. H. Larsen, J. J. Mortensen, J. Blomqvist, I. E. Castelli, R. Christensen, M. Dułak, J. Friis, M. N. Groves, B. Hammer, C. Hargus, E. D. Hermes, P. C. Jennings, P. B. Jensen, J. Kermode, J. R. Kitchin, E. L. Kolsbjerg, J. Kubal, K. Kaasbjerg, S. Lysgaard, J. B. Maronsson, T. Maxson, T. Olsen, L. Pastewka, A. Peterson, C. Rostgaard, J. Schiøtz, O. Sch¨utt, M. Strange, K. S. Thygesen, T. Vegge, L. Vilhelmsen, M. Walter, Z. Zeng, K. W. Jacobsen, The atomic simulation environment—a python library for working with atoms, Journal of Physics: Condensed Matter 29 (27) (2017) 273002. [28] J. Enkovaara, C. Rostgaard, J. J. Mortensen, J. Chen, M. Dułak, L. Fer righi, J. Gavnholt, C. Glinsvad, V. Haikola, H. A. Hansen, H. H. Kristoffersen, M. Kuisma, A. H. Larsen, L. Lehtovaara, M. Ljungberg, O. LopezAcevedo, P. G. Moses, J. Ojanen, T. Olsen, V. Petzold, N. A. Romero, J. Stausholm-Møller, M. Strange, G. A. Tritsaris, M. Vanin, M. Walter, B. Hammer, H. H¨akkinen, G. K. H. Madsen, R. M. Nieminen, J. K. Nørskov, M. Puska, T. T. Rantala, J. Schiøtz, K. S. Thygesen, K. W. Jacobsen, Electronic structure calculations with GPAW: a real-space implementation of the projector augmented-wave method, Journal of Physics: Condensed Matter 22 (25) (2010) 253202. [29] M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, S. Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard, Y. Jia, R. Jozefowicz, L. Kaiser, M. Kudlur, J. Levenberg, D. Man´e, R. Monga, S. Moore, D. Murray, C. Olah, M. Schuster, J. Shlens, B. Steiner, I. Sutskever, K. Talwar, P. Tucker, V. Vanhoucke, V. Vasudevan, F. Vi´egas, O. Vinyals, P. Warden, M. Wattenberg, M. Wicke, Y. Yu, X. Zheng, TensorFlow: [Large-scale](http://tensorflow.org/) machine learning on [heterogeneous](http://tensorflow.org/) systems, software available from tensorflow.org (2015). URL `[http://tensorflow.org/](http://tensorflow.org/)` [30] J. L. Bentley, Multidimensional binary search trees used for associative searching, Commun. ACM 18 (9) (1975) 509–517. [31] S. Maneewongvatana, D. M. Mount, Analysis of approximate nearest neighbor searching with clustered point sets, in: Data Structures, Near Neighbor Searches, and Methodology, 1999, pp. 105–124. [32] J. C. Slater, G. F. Koster, Simplified lcao method for the periodic potential problem, Phys. Rev. 94 (1954) 1498–1524. [33] A. V. Podolskiy, P. Vogl, Compact expression for the angular dependence of tight-binding hamiltonian matrix elements, Phys. Rev. B 69 (2004) 233101. [34] M. V. Klymenko, F. Remacle, Quantum dot ternary-valued full-adder: Logic synthesis by a multiobjective design optimization based on a genetic algorithm, Journal of Applied Physics 116 (16) (2014) 164316. [35] A. H. Baker, E. R. Jessup, T. Manteuffel, A technique for accelerating the convergence of restarted gmres, SIAM Journal on Matrix Analysis and Applications 26 (4) (2005) 962–984. [36] M. Wimmer, K. Richter, Optimal block-tridiagonalization of matrices for coherent charge transport, Journal of Computational Physics 228 (23) (2009) 8548 – 8565. [37] T. Cormen, C. Leiserson, R. Rivest, C. Stein, Introduction to Algorithms, Computer science, MIT Press, 2009. [38] Nanonet: extendable python framework for the electronic structure com putations based on the tight-binding method, `[https://github.com/](https://github.com/freude/NanoNet)` `[freude/NanoNet](https://github.com/freude/NanoNet)` (2018). [39] J.-M. Jancu, R. Scholz, F. Beltram, F. Bassani, Empirical spds <sup>∗</sup> tight binding calculation for cubic semiconductors: General method and material parameters, Phys. Rev. B 57 (1998) 6493–6507. [40] Y. Liu, R. E. Allen, Electronic structure of the semimetals bi and sb, Phys. 13 Rev. B 52 (1995) 1566–1577. [41] E. Anderson, Z. Bai, C. Bischof, S. Blackford, J. Demmel, J. Dongarra, J. Du Croz, A. Greenbaum, S. Hammarling, A. McKenney, D. Sorensen, LAPACK Users’ Guide, 3rd Edition, Society for Industrial and Applied Mathematics, Philadelphia, PA, 1999. [42] A. Jensen, M. Strange, S. Smidstrup, K. Stokbro, G. C. Solomon, M. G. Reuter, Complex band structure and electronic transmission eigenchannels, The Journal of Chemical Physics 147 (22) (2017) 224104. [43] J. Osca, L. Serra, Complex band-structure analysis and topological physics of majorana nanowires, The European Physical Journal B 92 (5) (2019) 101. [44] Y.-C. Chang, J. N. Schulman, Complex band structures of crystalline solids: An eigenvalue method, Phys. Rev. B 25 (1982) 3975–3986. [45] M. Wimmer, Quantum Transport in Nanostructures: From Computational Concepts to Spintronics in Graphene and Magnetic Tunnel Junctions, Dissertationsreihe der Fakult¨at f¨ur Physik der Universit¨at Regensburg, Univ.Verlag Regensburg, 2009. [46] M. V. Klymenko, J. A. Vaitkus, J. H. Cole, Probing charge carrier move ment in organic semiconductor thin films via nanowire conductance spectroscopy, ACS Applied Electronic Materials 1 (8) (2019) 1667–1677. [47] Y. Meir, N. S. Wingreen, Landauer formula for the current through an interacting electron region, Phys. Rev. Lett. 68 (1992) 2512–2515. [48] Z. Fan, A. Uppstu, T. Siro, A. Harju, Efficient linear-scaling quan tum transport calculations on graphics processing units and applications on electron transport in graphene, Computer Physics Communications 185 (1) (2014) 28 – 39. [49] S. M. Joao, M. Andelkovic, L. Covaci, T. G. Rappoport, J. M. V. P. Lopes, A. Ferreira, Kite: high-performance accurate modelling of electronic structure and response functions of large molecules, disordered crystals and heterostructures, Royal Society Open Science 7 (2) (2020) 191809. `[doi:10.1098/rsos.191809](http://dx.doi.org/10.1098/rsos.191809)` . [50] A. Weiße, G. Wellein, A. Alvermann, H. Fehske, The kernel polynomial method, Rev. Mod. Phys. 78 (2006) 275–306. [51] K. Bjornson, Tbtk: A quantum mechanics software development kit, Soft wareX 9 (2019) 205 – 210. [52] G. Mil’nikov, N. Mori, Y. Kamakura, Equivalent transport models in atomistic quantum wires, Phys. Rev. B 85 (2012) 035317. [53] L. M. Falicov, S. Golin, Electronic band structure of arsenic. i. pseudopo tential approach, Phys. Rev. 137 (1965) A871–A882. 14

섹션 본문 66문단 · 41,912자

(제목 없음)

1We present a novel open-source Python framework called NanoNET (Nanoscale Non-equilibrium Electron Transport) for modelling electronic structure and transport. Our method is based on the tight-binding method and non-equilibrium Green's function theory. The core functionality of the framework is providing facilities for efficient construction of tight-binding Hamiltonian matrices from a list of atomic coordinates and a lookup table of the two-center integrals in dense, sparse, or block-tridiagonal forms. The framework implements a method based on kd-tree nearest-neighbour search and is applicable to isolated atomic clusters and periodic structures. A set of subroutines for detecting the block-tridiagonal structure of a Hamiltonian matrix and splitting it into series of diagonal and off-diagonal blocks is based on a new greedy algorithm with recursion. Additionally the developed software is equipped with a set of programs for computing complex band structure, self-energies of elastic scattering processes, and Green's functions. Examples of usage and capabilities of the computational framework are illustrated by computing the band structure and transport properties of a silicon nanowire as well as the band structure of bulk bismuth.PROGRAM SUMMARYProgram Title: NanoNET Developer's repository link: https://github.com/freude/NanoNet Licensing provisions: MIT Programming language: Python Nature of problem:The framework NanoNET solves a problem which is, having a set of atomic coordinates and tight-binding parameters, to construct Hamiltonian matrices in one of several desired forms. In particular, some applications require those matrices to have a reduced bandwidth and/or to possess a block-tridiagonal structure.Solution method:The problem is solved using a combination of kd-tree-based fast nearest-neighbour search and atomic coordinate sorting. Furthermore, a new greedy recursive algorithm is proposed for detecting blocktridiagonal structure of a matrix in a non-optimal way. Additionally, we propose an algorithm of a polynomial time for optimizing block sizes.Additional features:Although the resulting matrices can be processed by many existing software packages, the framework also has built-in standard tools for diagonalizing Hamiltonian matrices and computing Green's functions that make it an independent tool for solving electronic structure and transport problems.

Introduction

2The tight-binding (TB) method coupled with the nonequilibrium Green's function (NEGF) formalism is a widely used method for simulations of electronic devices at the atomic level [1] including large-scale FinFETs [2], nanowire FETs [3,4,5], single-atom transistors [6,7], etc. The TB method is a method to tackle large-scale electronic structure problems [8,9,10,11] by both limiting the size of a basis set and taking into account only interactions between a finite number of neighbouring atoms. As a result, even for large numbers of atoms, the Hamiltonian matrix of a system in the TB representation is sparse. Computing the inverse and eigenvalues of this matrix scales almost linearly with the system size using approximate numerical technique like Krylov subspace methods [12,13,14,10,11]. NEGF theory, often taking TB Hamiltonians as an input, provides a set of tools to solve electron transport problems for systems with both elastic and inelastic scatterings [15,16,17], spatially inhomogeneous parameters and open boundary conditions [18,19].

3The Hamiltonian operator in the tight-binding representation may be written in the form:

4where H n,m is an element of the Hamiltonian matrix H, c † n and c m are the creation and annihilation operators respectively, and indices n and m identify basis functions. In the tight-binding representation each of the indices correspond to a set consisting of a position vector of an atomic site, and a set of quantum numbers associated with a localized basis set for each site. The algorithms presented in this work are aimed at efficiently constructing the matrix H n,m given a list of atomic coordinates and a lookup table of two-center integrals as input parameters. Note that a matrix representation of the Hamiltonian using a linear combination of atomic orbitals (LCAO) is not unique and can be obtained in various ways, resulting in matrices with varying sparsity patterns depending on the order at which atoms are addressed when the Hamiltonian matrix is built (see Fig. 1 for an illustrative example). Although permutations of atomic coordinates may lead to physically equivalent matrix representations of the Hamiltonian, some of them work better with certain numerical methods resulting in faster computations.

5There are several ways to extract physically relevant information from the Hamiltonian. For isolated systems in thermodynamic equilibrium, one may compute properties by diagonalizing the Hamiltonian matrix. For the systems with open boundary conditions, one computes the so-called Green's function matrix, G [19]:

6where E is the energy, 0 + is a small positive infinitesimal, H is the Hamiltonian and Σ is the self-energy describing an exchange of electrons through open boundaries. In general, a numerically exact computation of the matrix inverse scales as O(N 3 ) with the number of diagonal elements N. Better scalablity may be achieved exploiting the sparsity of the matrix and taking into account that only some but not all matrix elements of the inverse are of interest for physical applications [19]. There are two main strategies for this. One is to construct a hierarchical method such as the method developed by Ozaki [20] using a set of formulae derived from a recursive application of a block LDL T factorization using the Schur complement to a structured matrix obtained by a nested dissection for the sparse matrix. The method scales as O[N log 2 N 2 ], O N 2 , and O N 7/3 for one-, two-, and three-dimensional systems respectively. The second strategy is to minimize the bandwidth of the matrix and to utilize its block-tridiagonal structure to improve the computational efficiency by using the recursive Green's function (RGF) algorithm to compute the inverse as a sequence of layers, scaling as O( k j N 3 j ), where k is the number of diagonal blocks and N j is the number of diagonal elements in the j th block. If all blocks are equal in size this corresponds to a k 2 improvement in both memory and run-time. These examples motivate development of a software framework that provides facilities to construct TB Hamiltonians in different formats defined by a particular application.

7In this work, we propose a method to construct TB Hamiltonian matrices in several possible forms (with different sparsity patterns) including dense, sparse, and block-tridiagonal matrices. Section 2 describes algorithms providing facilities for efficient building of such matrices. Section 3 presents the software architecture of NanoNET consisting of two Python packages tb and negf: the first one implements new algorithms for composing TB matrices, and the latter contains tools for computing NEGF and other physical quantities related to the elec-tron transport. Relationships between TB matrices, NEGF, and other quantities of interest are briefly listed in Section 4. Section 5 contains several illustrative examples of NanoNET usage.

8NanoNET is an open-source software providing a framework for electron transport computations based on the TB method. Although its functionality somewhat overlaps with other software such as NEMO5 [21], Kwant [22], pybinding [23], Transiesta [24], Smeagol [25], Gollum [26], DFTB+ and combined ASE [27] and GPAW [28], the framework has following distinctive features: it provides tools for processing and outputting TB matrices with desired properties, it focuses on the semiempirical tight-binding method with a flexible setting of tightbinding parameters together with coordinate representations of an atomic structure, and it provides a Python application programming interface to NEGF computations.

9A framework architecture can be seen as a set of more or less independent building blocks and pipeline schemes that can be used in a user-written code. This flexibility allows the user to pick algorithms that suit best for his particular problem to achieve the best performance. Due to its compact syntax, Python seems to be a particularly convenient programming language for implementing programming interfaces for the software frameworks (examples of popular Python frameworks are Tensorflow from Google [29] for building neural networks, Flask for web development etc.). For the electronic transport problems, examples of an existing software framework are Kwant and the stack ASE+GPAW. In these frameworks, the user has multiple choices of computational methods at each stage of the calculations as well as the flexibility to modify dataflow in many possible ways, which is useful for building software interfaces and post-processing. Comparing to Kwant, our framework is more oriented on the processing of atomic coordinates, while, comparing to the ASE+GPAW stack, we provide a tool to work with semi-empirical tight-binding parameters and detecting the tri-blockdiagonal structure of matrices.

10The framework interacts with a user via a command line interface or Python application programming interface inspired by the ASE [27] and GPAW [28] software packages. In future we will provide additional interfaces to achieve compatibility with ASE and Kwant in order to enhance mutual functionality of these frameworks.

Construction of Hamiltonian matrices

11Using a list of atomic coordinates, L, the Hamiltonian matrix H is constructed in the framework of the TB method via Algorithm 1. Each entry in L contains information of an atomic site site j ; the numerical index of the site, j, the name of chemical element, label, and Cartesian coordinates, coords. The label is used to search a look-up table, OrbitalsT able, which associates a list of orbitals with each of the chemical elements.

12The algorithm starts with one of the sorting procedures defined by a user or embedded in the framework. Different matrix representations are determined by a particular order of atomic coordinates which are in turn computed by a user-defined sorting procedure or one of the embedded sorting algorithms (see Section 2.4 for more details). Typically sorting algorithms scale as O(N log N) with the number of atoms. The location of matrix elements in the resulting matrix can be quickly determined using a pre-computed set of index offsets, even though each site can possess a different number of orbitals (see lines 3-5, 10 and 13 of Algorithm 1). When the order of atoms is determined, the Hamiltonian matrix element can be computed by addressing each atom in sequence and finding its nearest neighbours with which the atom has non-zero coupling. In order to speed up the nearest neighbour search procedure, the atomic coordinates are arranged in a kd-tree -a space-partitioning data structure for organizing points in a k-dimensional space [30,31]. The nearest neighbours search itself is a querying of the constructed tree. Building the tree scales as O(kN log N), though one query can be done in O(log N) time. The total time of the nearestneighbour search for all atoms scales as O(N log N). After arranging all atomic coordinates into a kd-tree, Algorithm 1 loops over all atoms (line 7 of Algorithm 1) and their orbitals (line 9), finds nearest neighbours for each site (line 8), loops over orbitals of the neighbours (lines 11 and 12), and computes the matrix elements of H (line 14). Note that in such an implementation, the algorithm does not run over pairs of atoms that are not coupled. Therefore each time the algorithm invokes the function get matrix element(), it most likely returns a nonzero value if the coupling is allowed by orbital symmetry. As a result, the Hamiltonian matrix can be directly constructed in one of several existing sparse matrix formats, since only nonzero elements are processed and their indices, j 1 and j 2 , are explicitly computed.

Periodic boundary conditions and coupling between unit cells

13The periodic boundary conditions are determined by a set of translation vectors T defining a primitive cell of the periodic structure. The Hamiltonian describing coupling between primitive cells H C is computed according to Algorithm 2. The algorithm generates the list of atomic coordinates L t s by acting translation operators on the coordinates of each atom inside the primitive cell (line 6) in addition to the list of atomic coordinates L in Algorithm 1. For large structures, the computational burden can be reduced by translating solely the atoms adjacent to the surfaces of the primitive cell. Comparing to the list L, the entries of the list L t s have one additional field, origin, which is the index of the original atom being a pre-image of an atom after the translation. The rest of the steps of Algorithm 2 are similar to those of Algorithm 1 with the main distinction that the kd-tree is built only for the atoms outside the primitive cell and the matrix elements are computed for the pairs of atoms interacting across the borders of the primitive cell. Thus, when periodic boundary conditions are applied, two kd-trees are built: one is for atoms within a primitive cell and another one is for the atoms from neighboring/adjacent primitive cells. The matrix H C has same shape as H.

Computing Hamiltonian matrix elements

14Usually in TB methods, the electronic structure problems are formulated in terms of two-center integrals neglecting threecenter contributions. Computation of these integrals is performed by a function get matrix element() in Algorithms 1 and 2. In the semi-empirical version of the TB method, twocenter integrals depend on a relatively small number of empirical parameters which, according to Ref. [32], can be reduced to the two-center integrals of a diatomic molecule, designated by a tuple of three quantum numbers, e.g. (ssσ), (ppπ) etc. Mapping those parameters to the two-center integrals is achieved via coordinate transformations from the diatomic molecule frame to the crystal frame. Explicit formulas for those transformations have been derived by Slater and Koster for many possible combinations of angular momentum quantum numbers [32]. Since the number of the coordinate transformations is rather large, we have computed angular dependence of the diatomic two-center integrals using an approach proposed by Podolskiy and Vogt [33] instead of using a table of explicit formulas. Podolskiy and Vogt have derived compact close analytic expressions for the angular dependence of tight-binding Hamiltonian matrix elements in the two-center approximation that are well suited for numerical calculations and are valid for all angular momentum quantum numbers. In our codebase, the diatomic two-center integrals are introduced using meta-programming features of Python. Namely, the parameters are arranged as a module-level variable created at runtime. Each variable is a Python dictionary with a certain naming convention (see Section 4) containing a set of parameters for coupling between a pair of elements.

15The matrix elements can be computed beyond the first nearest neighbour coupling if the corresponding TB parameters are provided. In NanoNET one can specify two types of radial dependence functions: one, depending on the distance between atoms, outputs an integer number which allows for location of a certain set of tight-binding parameters (the number is used as a part of name convention and designates first, second, third etc. nearest neighbours), and the other outputs a float number which is then multiplied on the matrix element. If the radial dependence functions are not specified, NanoNET will search for and use a single set of TB parameters. Also, if not all orbitals in the basis set have same spin quantum number and the spin- : Sparsity patterns and detected block-tridiagonal structure of TB matrices for a) the hydrogen passivated silicon nanowire with 77 atoms in the unit cell and sp 3 d 5 s * basis set for silicon atoms and single s-orbital for hydrogen, and b) 2D quantum billiard consisting of 1888 atoms, each has a single s-orbital respectively. c) and d) distribution of block size cubes for silicon nanowire and quantum billiard respectively computed with a greedy algorithm and optimized recursive algorithm. orbit coupling energy is set, the Hamiltonian matrix includes the spin-orbit coupling terms computed for p-orbitals.

Sorting the list of atomic coordinates and computing block-tridiagonal representation of a matrix

16The sparsity pattern of the Hamiltonian matrix H depends on the order of sites taken from the list L. This statement is illustrated in Fig. 1; the order that we store the sites of the system in the Hamiltonian matrix results in different sparsity patterns. Sorting is performed by a function specified by a user during instantiation of the Hamiltonian object. Alternatively, one can use one of the function embedded in the framework. If the sorting function is not specified the order of matrix elements follows the order of entries in the input list of atomic coordinates. In the current version we have implemented three sorting routines: sorting by lexicographical order over atomic coordinates, sorting using projections of the position vectors on an arbitrary vector as sort keys, and sorting over keys determined by a potential function over atomic coordinates.

17Sorting by lexicographical order implies that atoms are arranged in a sequence of slices along an axis specified by the first element in the tuple of coordinates. Although this kind of sorting does not guarantee the minimal bandwidth, in most cases it results in matrices with relatively narrow bandwidth (see Fig. 2 for an illustrative example).

18Algorithm 3: Greedy algorithm to compute blocktridiagonal structure of matrix with fixed sizes of leftmost and rightmost blocks function compute blocks (l, r, P, P * , N) Input : Sizes of leftmost and rightmost blocks, l and r, profiles of the sparsity pattern, P and P * , and N is the size of P. Output: An array of sizes of diagonal blocks, blocklist

19The keys computed as projections on a vector can be used for one-dimenssional structures with collinear leads, when we want to arrange atoms into slices cut along a specific direction in Euclidean space (normally parallel to leads). An example of the matrix sparsity pattern with elements sorted according to this method for a silicon nanowire is shown in Fig. 3a. The presented TB Hamiltonian is for the hydrogen-passivated silicon nanowire with the primitive cell containing 77 atoms with the sp 3 d 5 s * basis set for silicon atoms and a single s-orbital for hydrogen.

20The third embedded sorting method can be used for an arbitrary two-terminal device. For this method, the atomic grid is approximated by a capacitance model [34], where atoms are represented by a charge nodes with interactions between neighbours modeled by a capacitor. In this case, the sorting keys are determined by a vector V j which is a solution of the matrix equation CV = R, where C is the capacitance matrix and R is a charge distribution. The capacitance matrix can be computed from the adjacency matrix, A, of the graph describing connec-Algorithm 4: Computing optimal block-tridiagonal representation function compute optimal blocks (P, P * , l, r, N) Input : Profiles of the sparsity pattern, P and P * , sizes of leftmost and rightmost blocks, l and r, and N is the size of P. Output: Array of diagonal blocks, blocklist. j, blocklist, l , r ← find optimal cut(P, P * , l, r, N)

21f lag ← false // Concatenate two lists if they are compatible with the size constraints. Otherwise the algorithms outputs the block list computed in the line 2 if flag then blocklist ← blocklist + blocklist tivity of the nodes:

22The elements of vector R equal minus one for nodes contacting with left lead, plus one for nodes contacting with right lead and zero for all other nodes. The matrix equation has been solved using the LGMRES method [35]. We illustrate this sorting procedure by applying it to a two-dimenssional twoterminal quantum billiard consisting of 1888 atoms, each has a single orbital. The resulting sparsity pattern is shown in Fig. 3b.

23Note that all three sorting methods are heuristic approaches, meaning that they do not guarantee the minimal bandwidth of TB matrices, but lead to a significant reduction of the bandwidth comparing to an arbitrary ordering of atomic coordinates. Another way to perform sorting of atomic coordinates efficiently can rely on the graph partitioning technique described in [36].

24Algorithm 5: Finding the best truncation point giving smallest value of the goal function, Eq. (6) function find optimal cut (P, P * , l, r, N) Input : Profiles of the sparsity pattern, P and P * , sizes of leftmost and rightmost blocks, l and r, and N is the size of P. Output: Index of the optimal cut, j, an array of sizes of diagonal blocks, blocklist, and sizes of the diagonal blocks adjacent to the cut, l and r L ← empty list E ← empty list // Loop over all possible cutting indices for j ∈ [l + 1, N − r] do // Compute sparsity pattern profiles for the left block This technique will be embedded in the codebase in the next release.

25It is useful for many applications that our matrix be split into a block-tridiagonal structure. In this work we propose a greedy algorithm that can detect optimal block-tridiagonal representation of the band matrix. The proposed algorithm first evaluates the bandwidth of a matrix defined by the expression:

26where K is the index set of the matrix. The matrix bandwidth is then given by the maximal element of the array B. According to this expression the bandwidth is computed for each row as a difference between the largest index of the non-zero elements and the index of the element on the main diagonal (see Fig. 4). If no such element exists, the bandwidth is equal to zero. profile B * defined as (see Fig. 4):

27Sizes of diagonal blocks of the original matrix are computed using the function compute blocks(l, r, P, P * , N) which takes fixed sizes of the leftmost and rightmost blocks, l and r, as well as the sparsity pattern profiles, P and P * , and the size of the matrix, N, as input arguments. The sizes of blocks l and r are defined by the maximum index of non-zero elements in the corresponding coupling Hamiltonians H −1 and H 1 for the open systems or by l = P[0] and r = P * [0] for the isolated structures. From the mathematical point of view, these conditions are sufficient for the algorithm to work but they are not necessary, meaning that in some cases they can be relaxed in some cases. Strictly speaking, the size of the coupling matrix should be smaller than the sum of the sizes of the two leftmost or rightmost diagonal blocks. The algorithm compute blocks implements Algorithm 3 according to which if sizes of left and right blocks are small enough (see Algorithm 3 for explicit conditions), the algorithm defines new smallest leftmost and rightmost blocks that fit into the sparsity pattern profiles. Also at this stage the algorithm determines new sparsity pattern profiles being subsets of the original profiles taken from l to N − r, and invokes the function compute blocks with new parameters again (see Fig. 5a). At each function call, new block sizes l and r are determined by the sparsity pattern profiles. Since those sizes are the minimal allowed sizes taken at the current step, the algorithm belongs to the class of greedy algorithms [37]. The sequential calls break in one of three cases illustrated in Fig. 5b-d: the spacing between left and right blocks is not sufficient for the algorithm to continue, the function returns the ordered set of two elements (max[l, r])∪(N − max[l, r]) (see Fig. 5b); the sum of the left and right block sizes is equal to the size of original matrix, the function returns an ordered set consisting of two elements (l, r) (see Fig. 5c); and the left and right blocks overlap, the function returns the size of the original matrix (N) (see Fig. 5d).

28A greedy algorithm does not guarantee the optimal solution. Indeed, during analysis of our algorithm we observed instances that lead to very large block sizes when the bandwidth varies substantially over the matrix. However, we found that the solution can be further improved by sequentially splitting the largest blocks. In order to do that we start with splitting the original matrix A into two sub-matrices, A 1 and A 2 (see Fig. 6), determined by a value of some cutting index, s (see Algorithm 4). At the cutting point, the sparsity pattern profiles determine sizes of new rightmost and leftmost blocks, r and l , for matrices A 1 and A 2 shown by grey shaded area in Fig. 6. To determine the most favorable choice of the cut s, we apply the previously discussed algorithm compute blocks to each of the matrices A 1 and A 2 for a range of values s in the interval (l, N − r) and minimize the goal function:

29where N j is the size of j-th block, (see Algorithm 5 implementing the function find optimal cut). Minimization of the goal function represented by a sum of cubes of diagonal blocks optimizes the computation time for recursive Green's function algorithms which scale as O(N 3 j ). If the sizes of the matrices A 1 and A 2 are larger than a sum of sizes of leftmost and rightmost blocks, further improvement can be achieved by repeating this procedure recursively for each of the matrices A 1 and A 2 (see Algorithm 4). We find the points of these optimal cuts are almost always where the bandwidth is at its widest.

30We have applied the algorithms described above for two structures whose TB matrices have sparsity patterns shown in Fig. 3 a and b. In the first case, the original size of the matrix is 446 × 446. The algorithm outputs the diagonal block sizes of 131, 97, 121, and 97 (shown in Fig. 3a as red rectangles). Note that the algorithm suggests a solution with four blocks, and this corresponds to the number of silicon atomic layers in the primitive cell along the direction of translation. For the second case with the matrix size 1888×1888, the number of blocks is 51. In Fig. 3 c and d we also compare output of the function compute blocks that computes the block sizes in a single run with the output of the function compute optimal blocks computing an optimized solution. In the last case the sizes of block are more equalized.

Software Architecture

31A generic control flow for applications developed with NanoNET [38] is shown schematically in Fig. 7. The input parameters are the list of atomic coordinates and a table of twocenter integrals. The framework contains two packages tb and negf. The package tb is the core responsible for composing and diagonalizing Hamiltonian matrices. The negf package processes TB matrices; it contains subroutines for computing Green's functions, namely implementing the Recursive Green's Function (RGF) algorithm [19].

32tb represents a library of Python classes facilitating building Hamiltonian matrices, imposing periodic boundary conditions and computing electronic structure for molecules and solids using the TB method in the single-particle approximation. The Hamiltonian matrices are built from an XYZ file containing atomic coordinates and a list of TB parameters.

33The software architecture relies on the object-oriented paradigms -the framework represents a library of classes whose UML diagram is shown in Fig. 8. The central class of the framework is called Hamiltonian and contains all necessary information and functionality to construct Hamiltonian matrices that represents its main goal. This class inherits properties and member functions from classes BasisTB and StructureDesignerXYZ -abstractions for basis sets and geometrical configuration of atoms correspondingly. The first one stores a look-up table that allows one to associate a set of orbitals with a label denoting a chemical element. The second one stores a kd-tree built from the list of atomic coordinates.

34The class CyclicTopology is used when periodic boundary conditions are applied. It translates atomic coordinates according to translation vectors and creates a kd-tree for atoms outside the primitive cell, needed to compute the Hamiltonian matrix responsible for coupling between neighbouring primitive cells.

35The orbital sets are created using facilities of the class

36Orbitals. This class is the parent class for all basis sets. The current version of the software package contains predefined basis sets: sp 3 d 5 s * model for silicon [39], SiliconSP3D5S, single s-orbital for hydrogen [4], HydrogenS, and an sp 3 model for bismuth [40], Bismuth.

Software Functionalities

37The interface to NanoNET is provided either by an application programming interface represented by a library of Python classes, or by a command line user interface for Unix-like operating systems.

38The functionality of the package includes:

39• building TB Hamiltonian matrices (Algorithms 1 and 2);

40• detecting block-tridiagonal matrix structure (Algorithms 3 -5); • diagonalizing Hamiltonian matrices using standard numerical methods implemented in NumPy and SciPy packages; • computing a set of non-equilibrium Green's functions as well as observables that can be derived from them such as density of states, transmission function and charge density. The Green's functions are computed using the recursive Green's function algorithm [19].

Extracting physical quantities of interest from the Hamiltonian matrix and Green's functions

41Although NanoNET can be interfaced with any other software by extracting Hamiltonian matrices in any favorable format and passing them as an input to other programs, for the sake of completeness we provide basic routines for computing some physical quantities of interest from Hamiltonian matrices. Time-independent observables, such as energy spectrum, density of states, and stationary and/or equilibrium electron density distribution, can be extracted from the eigenvalues and eigenvectors of the Hamiltonian matrix obtained by the direct matrix diagonalization or computed via the Green's functions formalism that requires computing the matrix inverse. The direct matrix diagonalizaion is implemented as a member function of the class Hamiltonian in the package tb, while all other algorithms performing post-processing of the tight-binding matrices are placed in the package negf.

Band structure

42For the periodic structures the band structure can be found solving the eigenvalue problem H(k)ψ k = E(k)ψ k , where ψ k and E(k) are the eigenvectors and eigenvalues of the TB matrix, and the wave vector k is set as a parameter. This problem is solved by a direct matrix diagonalization performed in the class Hamiltonian using LAPACK [41] routines with a Python interface provided via Numpy package.

Complex band structure

43Recently much attention has been drawn to the complex band structure computation in the context of molecular junction transmission [42] and Majorana modes of nanowires [43]. The complex band structure can be computed from the TB Hamiltonian written in the form: H(k) = H 0 +H −1 e −ik +H 1 e ik , where H 0 is the intracell TB Hamiltonian and H −1 and H 1 are the Hamitonians of intercell coupling. This leads to the eigenvalue problem:

44Here, instead of the wave vector, we can set energy E as a parameter and find the eigenvalues in the form λ = e ik [44,45] from the matrix:

Self-energies for periodic leads

45A quasi periodic structure is often used to model electrodes or leads that can be attached to a nanostructure. The leads modify the nanostructure by providing an additional source of elastic and/or inelastic scattering. The effect of the leads on the Hamiltonian or Green's functions associated with the nanostructure can be conveniently expressed through the selfenergies. In the case of the two-terminal devices we have left and right leads whose self-energies can be expressed in terms of the eigenvectors and eigenvalues obtained from Eq. (7). Following the procedure described in [45], the eigenvectors ψ E and eigenvalues λ E can be divided in two classes, left-and right propagating modes, depending on the position of complex eigenvalues in the complex plane. The eigenvectors and eigenvalues for the left-propagating modes are collected in matrices Ψ < and Λ < respectively, while the right-propagating modes are described by the matrices Ψ > and Λ > . With this notation, the self-energies describing couplings to the semi-infinite leads reads [45]:

46Another set of useful quantities employed in the nonequilibrium Green's function computations are the in-scattering and out-scattering matrices:

47where j ∈ {L, R}, and f j (E, µ j ) is the Fermi-Dirac distribution function with the chemical potential µ j , and Γ j = i Σ j − Σ † j is the coupling matrix.

Green's functions

48Computing Green's functions is based on the recursive Green's function algorithm published in [19]. The algorithm implies a steady-state regime of the electron transport and discretized real space. The program outputs following functions as a result: retarded Green's function G = [EI − H − Σ] −1 , electron correlation function G n = GΣ in G † and hole correlation function G p = GΣ out G † . In the literature [16,15], the G n and G p are also known as the lesser and greater Green's functions, −iG < and +iG > , respectively.

49The retarded Green's function contains information related to properties of a system in thermodynamic equilibrium such as density of states,

50transmission function (Caroli formula [46]),

51and conductance in the linear transport regime [47],

52where f 0 (ε) is the equilibrium distribution function, and the prefactor 2 corresponds to spin-degeneracy. The electron and hole correlation functions can be used to compute physical parameters such as current density, associated with the non-equilibrium regime [19].

53It is necessary to note that most of the mentioned above transport properties can be also computed using the spectral methods [4,1,2,3]. Such methods do not require matrix inversion. The efficiency of the spectral methods can be significantly enhanced using the Chebyshev expansion method [48,49], kernel polynomial method [50,51,23,22] or reduced mode space techniques [5,52] which is planned for a future release.

NanoNET: illustrative examples

54As an example of NanoNET usage we have computed the electronic structure for a silicon nanowire, discussed in Section 2.5, and bulk bismuth. The silicon nanowire represents the case of 1D periodic structure with large number of atoms in the primitive cell (the atomic coordinates of atoms in the primitive cell are shown in Supplementary material). The bulk bismuth is a representative example where second and third nearest neighbour interactions have to be taken into account.

Silicon nanowire example

55First we load all necessary modules. Here, we make an instance of the class Hamiltonian via reading atomic coordinates from the XYZ file. The resulting band structure is visualized in Fig. 9a. Now we proceed to computing the electron transmission function.

56In order to get the Hamiltonian matrices H 0 , H −1 and H 1 for Eq.

57(7) and evaluate their blocktridiagonal structure, we invoke the member function t r [ j ] = np . r e a l ( np . t r a c e ( gamma l @\ g t r a n s @\ gamma r @\ g t r a n s . c o n j ( ) . T ) ) )

58The resulting density of states and transmission function are visualized in Fig. 9b and c respectively.

Bulk Bi crystal example

59from n a n o n e t . t b i m p o r t H a m i l t o n i a n , O r b i t a l s from n a n o n e t . t b i m p o r t s e t t b p a r a m s , g e t k c o o r d s First, we form sp 3 LCAO basis set for bismuth atoms [40]. The basis set is represented by an instance of the class Orbitals. Each orbital possesses a label, energy value, and a set of quantum numbers. Note, the basis set includes orbitals with different spins since the spin-orbit coupling has to be taken into account. The atomic coordinates may be defined in a XYZ file or directly in a Python variable containing a formated text string like in the example below. Here the variable so coupling specifies the value of the spin-orbit coupling.

60For the bismuth crystals, coupling between first, second and third nearest neighbours have to be taken into account. For that we need to specify a so-called radial-dependence function that classifies nearest neighbours in one of mentioned above categories depending on the inter-nuclei distance. The function returns one of four labels. The TB parameters can be set via the function set tb params. This function follows certain naming convenction for the TB parameters:

61PARAMS <el1> <el2><order>, where <el1> and <el2> are chemical elements of a pair of atoms, and <order> is a number specifying the order of neighbours.

62The TB parameters and orbital energies for Bi are taken from [40]: The function initialize() takes a radial-dependence function as an argument. If it is not specified the None label is used for the TB parameters. The computed Hamiltonian matrix is related to the isolated nanocrystal whose atomic coordinates are stored in the variable xyz coords. The crystal structure is defined setting the periodic boundary conditions with translation vectors defining a primitive cell. The band structure is computed for a set of points in the kspace defined below (see Ref. [53] for a definition of these high symmetry points): The resulted band structure is shown in Fig. 10.

Software performance

63The overall execution time of the applications built with the NanoNET framework depends on the considered atomic structure and choice of algorithms. To illustrate this point, we measure the execution time of the components of the script computing the transmission probability for an electron in the Si nanowire from the Section 5.1 with different geometrical sizes. All numerical experiments have been carried out on one processor core of a 24-core Intel Xeon Scalable 'Cascade Lake' processor.

64The time required to form the Hamiltonian matrices is determined by the nearest-neighbour search based on the kd-tree. Building such tree scales as N log N with the number of orbitals (see red shaded area in see Fig. 11 a and b). The most favorable way to increase the number of atoms in this structure from the computational point of view is increasing the length of the nanowire in the direction perpendicular to the leads. Since the area of the leads does not change in this case, the computational time spent for the leads self-energy is independent of the number of orbitals (see blue shaded area). The execution time for the recursive Green's function algorithm in this case depends linearly on the number of orbitals, since the algorithm for detecting the tri-blockdiagonal structure of the Hamiltonian matrix finds new blocks when more orbitals are added (see Fig. 11 a). In the limit of extremely long nanowires the time spent for the recursive Green's function algorithm can overcome the time needed to compute the self-energies. Note that building Hamiltonian matrices has to be done only once at the beginning of the script while the self-energies and Green's functions have to be computed for each value of quasi-particle energy (the wall time has been evaluated for 50 points). In Fig. 11 b, we show the execution time for the same structure without splitting the Hamiltonian into blocks. In this case, the execution time for the recursive Green's function algorithm grows as N 3 becoming dominant for the structures with more than 2000 orbitals. This time is determined by the execution time of LAPACK gelsy algorithm outputting the least-squares solution to a linear matrix equation. The least favorable case from a computational point of view is when new atoms are added to the leads and to the nanowire in the direction parallel to leads. The algorithm for the computing leads self-energies is based on solving the eigenvalue problem which scales as N 3 and is performed by the LAPACK algorithm cggev for the non-symmetric generalized eigenvalue problem [41]. The recursive Green's functions algorithm also cannot perform efficiently in this case, since adding new atoms leads to growing block sizes.

65The data in Fig. 11 c show performance of the algorithms generating matrices in the tri-blockdiagonal form for a set of longitudinal sizes of the nanowire. If none of those algorithms are applied, some time is spent to split the Hamiltonian into the device region part, and left-lead and right-lead coupling parts (the line with square markers). Computing the tri-blockdiagonal structure with the greedy algorithm takes approximately twice as long with the same scaling (the line with triangle markers). The optimization algorithm is aimed to even out the block sizes and it is polynomial in time (the line with circle markers). However, since all the algorithms mentioned above operate on block sizes and the profiles of the sparsity patterns, not the Hamiltonian matrix itself, even in the last case the overall execution time is only a few seconds. When the Hamiltonian matrices are computed the most time is spent on the nearest-neighbour search. Figure 11: Stack diagrams for the execution time of computing transport properties of the silicon nanowire a) using algorithm detecting tri-blockdiagonal structure and b) without detecting tri-blockdiagonal structure. c) The execution time spent detecting the tri-blockdiagonal structure of the Hamiltonian matrices.

Conclusions

66We have introduced a novel open-source Python framework NanoNET for the electronic structure and electron transport modelling based on the tight-binding method. The framework provides user with facilities to build the tight-binding Hamiltonian matrices in dense, sparse or block-tridiagonal forms taking a list of atomic coordinates and a table of two-center integrals as an input. The framework can be extended by a user in several ways: adding subroutines for sorting atomic coordinates in a way that is required by a certain application and defining a radial distance dependence of tight-binding parameters. NanoNET consists of two Python packages tb and negf: the first one is for building TB matrices and the latter contains a set of subroutines that compute NEGF and related physical quantities. In future we plan to extend the package tb by additionally facilities to generate reduced models using the tightbinding mode-space technique [52].

참고문헌 56건

  1. Lapack Users' Guide 1995
  2. Self-consistent first-principles technique with linear scaling Physical review. B, Condensed matter · American Physical Society · 1995 10.1103/physrevb.51.10157
  3. Analysis of approximate nearest neighbor searching with clustered point sets DIMACS series in discrete mathematics and theoretical computer science · 2002 10.1090/dimacs/059/06
  4. Quantum transport in nanostructures: From computational concepts to spintronics in graphene and magnetic tunnel junctions 2009
  5. Electronic structure calculations with GPAW: a real-space implementation of the projector augmented-wave method Journal of Physics Condensed Matter · IOP Publishing · 2010 10.1088/0953-8984/22/25/253202
  6. A Tight-Binding Study of Single-Atom Transistors Small · Wiley · 2014 10.1002/smll.201400724
  7. A comparison of linear scaling tight-binding methods Modelling and Simulation in Materials Science and Engineering · IOP Publishing · 1997 10.1088/0965-0393/5/3/002
  8. Empirical<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:msup><mml:mrow><mml:mi>spds</mml:mi></mml:mrow><mml:mrow><mml:mi>*</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math>tight-binding calculation for cubic semiconductors: General method and material parameters Physical review. B, Condensed matter · American Physical Society · 1998 10.1103/physrevb.57.6493
  9. Electronic Band Structure of Arsenic. I. Pseudopotential Approach Physical Review · American Institute of Physics · 1965 10.1103/physrev.137.a871
  10. Gate-induced quantum-confinement transition of a single dopant atom in a silicon FinFET Nature Physics · Nature Portfolio · 2008 10.1038/nphys994
  11. Complex band structures of crystalline solids: An eigenvalue method Physical review. B, Condensed matter · American Physical Society · 1982 10.1103/physrevb.25.3975
  12. Efficient low-order scaling method for large-scale electronic structure calculations with localized basis functions Physical Review B · American Physical Society · 2010 10.1103/physrevb.82.075131
  13. Self-consistent-charge density-functional tight-binding method for simulations of complex materials properties Physical review. B, Condensed matter · American Physical Society · 1998 10.1103/physrevb.58.7260
  14. Compact expression for the angular dependence of tight-binding Hamiltonian matrix elements Physical Review B · American Physical Society · 2004 10.1103/physrevb.69.233101
  15. Efficient linear-scaling quantum transport calculations on graphics processing units and applications on electron transport in graphene Computer Physics Communications · Elsevier BV · 2013 10.1016/j.cpc.2013.08.009
  16. Spin and molecular electronics in atomically generated orbital landscapes Physical Review B · American Physical Society · 2006 10.1103/physrevb.73.085414
  17. The kernel polynomial method Reviews of Modern Physics · American Physical Society · 2006 10.1103/revmodphys.78.275
  18. Modeling of Nanoscale Devices Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2008 10.1109/jproc.2008.927355
  19. A Self-Consistent Charge Density-Functional Based Tight-Binding Scheme for Large Biomolecules physica status solidi (b) · Wiley · 2000 10.1002/(sici)1521-3951(200001)217:1<357::aid-pssb357>3.0.co;2-j
  20. Electronic structure of the semimetals Bi and Sb Physical review. B, Condensed matter · American Physical Society · 1995 10.1103/physrevb.52.1566
  21. Quantum dot ternary-valued full-adder: Logic synthesis by a multiobjective design optimization based on a genetic algorithm Journal of Applied Physics · American Institute of Physics · 2014 10.1063/1.4900995
  22. Linear-scaling tight binding from a truncated-moment approach Physical review. B, Condensed matter · American Physical Society · 1996 10.1103/physrevb.53.12733
  23. Landauer formula for the current through an interacting electron region Physical Review Letters · American Physical Society · 1992 10.1103/physrevlett.68.2512
  24. A Technique for Accelerating the Convergence of Restarted GMRES SIAM Journal on Matrix Analysis and Applications · Society for Industrial and Applied Mathematics · 2005 10.1137/s0895479803422014
  25. Simplified LCAO Method for the Periodic Potential Problem Physical Review · American Institute of Physics · 1954 10.1103/physrev.94.1498
  26. Electronic structure of semiconductor nanowires Physical Review B · American Physical Society · 2006 10.1103/physrevb.73.165319
  27. GOLLUM: a next-generation simulation tool for electron, thermal and spin transport New Journal of Physics · IOP Publishing · 2014 10.1088/1367-2630/16/9/093029
  28. Electronic Properties of Silicon Nanowires IEEE Transactions on Electron Devices · Institute of Electrical and Electronics Engineers · 2005 10.1109/ted.2005.848077
  29. Kwant: a software package for quantum transport New Journal of Physics · IOP Publishing · 2014 10.1088/1367-2630/16/6/063065
  30. NEMO5: A Parallel Multiscale Nanoelectronics Modeling Tool IEEE Transactions on Nanotechnology · Institute of Electrical and Electronics Engineers · 2011 10.1109/tnano.2011.2166164
  31. Optimal block-tridiagonalization of matrices for coherent charge transport Journal of Computational Physics · Elsevier BV · 2009 10.1016/j.jcp.2009.08.001
  32. Simulations of nanowire transistors: atomistic vs. effective mass models Journal of Computational Electronics · Springer Science+Business Media · 2008 10.1007/s10825-008-0188-4
  33. Toward a realistic description of multilayer black phosphorus: From<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>G</mml:mi><mml:mi>W</mml:mi></mml:mrow></mml:math>approximation to large-scale tight-binding simulations Physical Review B · American Physical Society · 2015 10.1103/physrevb.92.085419
  34. Multidimensional binary search trees used for associative searching Communications of the ACM · Association for Computing Machinery · 1975 10.1145/361002.361007
  35. Electronic transport in Si:P<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>δ</mml:mi></mml:math>-doped wires Physical Review B · American Physical Society · 2015 10.1103/physrevb.92.235420
  36. A Comparison of Linear Scaling Tight Binding Methods MRS Proceedings · Cambridge University Press · 1997 10.1557/proc-491-417
  37. Equivalent transport models in atomistic quantum wires Physical Review B · American Physical Society · 2012 10.1103/physrevb.85.035317
  38. Improvements on non-equilibrium and transport Green function techniques: The next-generation transiesta Computer Physics Communications · Elsevier BV · 2016 10.1016/j.cpc.2016.09.022
  39. The atomic simulation environment—a Python library for working with atoms Journal of Physics Condensed Matter · IOP Publishing · 2017 10.1088/1361-648x/aa680e
  40. Büttiker probes and the recursive Green's function: An efficient approach to include dissipation in general configurations Physical review. B./Physical review. B · American Physical Society · 2018 10.1103/physrevb.97.085149
  41. Physics and performances of III–V nanowire broken-gap heterojunction TFETs using an efficient tight-binding mode-space NEGF model enabling million-atom nanowire simulations Journal of Physics Condensed Matter · IOP Publishing · 2018 10.1088/1361-648x/aac156
  42. Complex band-structure analysis and topological physics of Majorana nanowires The European Physical Journal B · Springer Science+Business Media · 2019 10.1140/epjb/e2019-100011-2
  43. Analysis of approximate nearest neighbor searching with clustered point sets arXiv (Cornell University) · Cornell University · 1999 10.48550/arxiv.cs/9901013
  44. Probing Charge Carrier Movement in Organic Semiconductor Thin Films via Nanowire Conductance Spectroscopy ACS Applied Electronic Materials · American Chemical Society · 2019 10.1021/acsaelm.9b00354
  45. KITE: high-performance accurate modelling of electronic structure and response functions of large molecules, disordered crystals and heterostructures Royal Society Open Science · Royal Society · 2020 10.1098/rsos.191809
  46. (제목 없음) Research at the University of Copenhagen (University of Copenhagen) · University of Copenhagen
  47. Large-scale tight-binding simulations of quantum transport in ballistic graphene:Paper Technical University of Denmark, DTU Orbit (Technical University of Denmark, DTU) · Technical University of Denmark · 2018
  48. Kwant: a software package for quantum transport New Journal of Physics · IOP Publishing · 2014 10.1088/1367-2630/16/6/063065
  49. (제목 없음) Research at the University of Copenhagen (University of Copenhagen) · University of Copenhagen
  50. Introduction to Algorithms 2005
  51. pybinding v0.9.5: a Python package for tight-binding calculations 2020 10.5281/zenodo.4010216
  52. A Self‐Consistent Charge Density‐Functional Based Tight‐Binding Scheme for Large Biomolecules 2000 10.1002/3527603107.ch16
  53. Introduction to algorithms 2009 10.1007/978-0-230-37405-8_1
  54. Nonequilibrium Green's Functions Approach to Inhomogeneous Systems Lecture notes in physics · Springer Science+Business Media · 2012 10.1007/978-3-642-35082-5
  55. Nonequilibrium Many-Body Theory of Quantum Systems: A Modern Introduction 2013
  56. Quantum Transport: Atom to Transistor 2005 10.1017/cbo9781139164313