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 one's 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"] for uninstallation or reinstallation.

Functionalities

  • Highlights: sufficient 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

Incomplete References

Topological Models:

  1. PRL 61, 2015 (1988).
  2. PRL 95, 146802 (2005).
  3. PRL 95, 226801 (2025).
  4. PRB 82, 161414(R) (2010).
  5. PRL 124, 136403 (2020).
  6. PRL 124, 166804 (2020).

Green's function:

  1. Datta, Electronic Transport in Mesoscopic Systems.
  2. Datta, Quantum Transport: Atom to Transistor.
  3. PRL 97, 066603 (2006).
  4. Nanotechnology 18, 435402 (2007).
  5. PRB 91, 125408 (2015).
  6. PRB 97, 165405 (2018).