Software Open Access
Janis Erdmanis; Árpád Lukács; Yuli Nazarov
In this repository, we show how to build and diagonalize a Weyl disc Hamiltonian used in this paper implemented in the Julia programming language. For superconducting nanostructure Hamiltonian, we use harmonic oscillator basis and build the Hamiltonian matrix in the loop from its elements. Where for exciton Hamiltonian, which has a special case for 2D hydrogen, we extensively use Kronecker products and solve it in coordinate space. To improve convergence Richardson extrapolation, nonuniform logarithmic grid and 5 points representation of derivatives.