Skip to content

Efficient construction and manipunation of tight-binding model

License

Notifications You must be signed in to change notification settings

AlexanderZ11234/TBMethod

Repository files navigation

TBMethod

Installation & Uninstallation

Installation

Offline

  1. Download the latest "TBMethod-<\*version #\*>.paclet" file to local machine;

  2. Run PacletInstall["<*path-to-download*>/TBMethod-<*version #*>.paclet"].

Online

  • Outstanding

Installation Test (1 → 3 or 2 → 3)

  1. For single kernel, load the package by
Needs["TBMethod`"]
  1. For parallel computation, load it by
Needs["TBMethod`"]
ParallelNeeds["TBMethod`"]
  1. Check the installation by
Scan[Echo @* Information] @ {"TBMethod`MDConstruct`*", "TBMethod`EigenSpect`*", "TBMethod`LGFF`*", "TBMethod`DataVisualization`*"}

and four lists of functions should be indexed out.

Uninstallation

  • Run PacletUninstall["TBMethod"]

Functionalities

  • Highlights: fully employment of the NNS (nearest neighbor search) algorithm, so that the total computation complexity tends to be fine as:
    • Model construction linear in system's size $ \text{O}(n) $:

      • Generation of Hamiltonian matrices,
      • Adaptive partition of central scattering region
    • Calculation of transport related quantities:

      • 5-terminal Hall calculation in $ \text{O}(n^{1.7}) $

Documentation

MMA-style documentation under construction