SciPost logo

Codebase release 0.0 for DFT2kp

João Victor V. Cassiano, Augusto de Lelis Araújo, Paulo E. Faria Junior, Gerson J. Ferreira

SciPost Phys. Codebases 25-r0.0 (2024) · published 5 February 2024

This Publication is part of a bundle

When citing, cite all relevant items (e.g. for a Codebase, cite both the article and the release you used).


The $k\cdot p$ method, combined with group theory, is an efficient approach to obtain the low energy effective Hamiltonians of crystalline materials. Although the Hamiltonian coefficients are written as matrix elements of the generalized momentum operator $\pi= p+ p_{SOC}$ (including spin-orbit coupling corrections), their numerical values must be determined from outside sources, such as experiments or ab initio methods. Here, we develop a code to explicitly calculate the Kane (linear in crystal momentum) and Luttinger (quadratic in crystal momentum) parameters of $k\cdot p$ effective Hamiltonians directly from ab initio wavefunctions provided by Quantum ESPRESSO. Additionally, the code analyzes the symmetry transformations of the wavefunctions to optimize the final Hamiltonian. This is an optional step in the code, where it numerically finds the unitary transformation $U$ that rotates the basis towards an optimal symmetry-adapted representation informed by the user. Throughout the paper, we present the methodology in detail and illustrate the capabilities of the code applying it to a selection of relevant materials. Particularly, we show a "hands-on" example of how to run the code for graphene (with and without spin-orbit coupling). The code is open source and available at

Cited by 1

Crossref Cited-by

Authors / Affiliations: mappings to Contributors and Organizations

See all Organizations.
Funders for the research work leading to this publication