TB2J: a python package for computing magnetic interaction parameters

summary

The gist

TB2J presents a Python package for automatically computing magnetic interaction parameters, including exchange and Dzyaloshinskii-Moriya interactions…

In short

TB2J is a Python package that automatically calculates magnetic interaction parameters, such as exchange and Dzyaloshinskii-Moriya interactions, from Density Functional Theory (DFT) results. It achieves this by perturbing localized spins using the Green’s function method within the Heisenberg spin model. This tool is essential for fitting effective Hamiltonians to DFT data to simulate larger magnetic systems.

Key concepts

Green’s function method
This technique treats a localized spin's rotation as a small perturbation within the single-particle Green’s function framework. It allows researchers to determine Heisenberg magnetic interaction parameters from the ground-state solution, regardless of whether the material is ferromagnetic or antiferromagnetic. This approach is robust for finding interaction details.
Heisenberg Hamiltonian
This mathematical model describes a crystal's magnetic behavior using terms like single-ion anisotropy, isotropic exchange, symmetric anisotropic exchange, and Dzyaloshinskii-Moriya (DMI) terms. By calculating how the total energy changes with respect to spin vectors, the package extracts specific interaction parameters like J iso i j.
Tight-binding (TB) module
This component of TB2J interfaces with external DFT and Wannier function codes to calculate Green’s functions. For LCAO codes, it reads the Hamiltonian directly and uses eigenvalues and eigenvectors to find Green's functions, which is more efficient than inverting the matrix for every energy level.

Terminology used across episodes

This episode discusses

The paper

TB2J: a python package for computing magnetic interaction parameters · Read on arXiv

Xu Hea, Nicole Helbig, Matthieu J. Verstraeteb, Eric Bousqueta

Physique Theorique des Mat é ris, Q-MAT, CESAM, University of Liège · Catalan Institute of Nanoscience and Nanotechnology (ICN2), CSIC · Nanomat, Q-Mat, CESAM, and European Theoretical Spectroscopy Facility

DOI: 10.1016/j.cpc.2021.107938

Transcript

Introduction to the show: ident: Condensed Matter. The day in condensed matter: materials, phases and the measurements under them.

Kai: We're looking at the paper: "TB2J: a python package for computing magnetic interaction parameters".

Mira: Here's the gist of the paper. TB2J presents a Python package for automatically computing magnetic interaction parameters like exchange and Dzyaloshinskii-Moriya between atoms in magnetic crystals from density functional theory results It is crucial for fitting effective Hamiltonians to DFT data to enable simulations of larger systems and dynamics The core idea involves perturbing a localized spin in both the Heisenberg spin model and the DFT electronic model The Green’s function method is employed by treating local rigid spin rotation as a perturbation within the single-particle Green’s function method This approach allows determining Heisenberg magnetic interaction parameters from the ground-state solution regardless of whether it is FM or AFM The method also enables access to a bandby-band decomposition of different magnetic interactions Relativistic effects, including spin-orbit coupling, are taken into account to calculate the Dzyaloshinskii-Moriya interaction (DMI) and magnetic anisotropy Heisenberg Model Formulation The Heisenberg Hamiltonian is expressed as a sum of four parts: single-ion anisotropy, isotropic exchange, symmetric anisotropic exchange, and DMI terms The variation of the total energy with respect to spin vectors yields expressions for the interaction parameters The isotropic exchange parameter is given by J iso i j = Im(A 0 0 i j −A xx i j −A yy i j −A zz i j) Implementation and Workflow The TB2J package is structured with three main modules: the tight-binding (TB) module, the exchange module, and the output module The TB module interfaces with external DFT and Wannier function codes to calculate the Green’s function For LCAO codes like Siesta or GPAW, the Hamiltonian is read directly, and Green’s functions are calculated using eigenvalues and eigenvectors rather than inverting the matrix for every energy Application and Validation TB2J is applied to several crystals including BCC Fe, HCP Co bulk, SrMnO3, BiFeO3, and La2CuO4 to demonstrate its capabilities For BCC Fe, the isotropic exchange parameters are compared with results from the TB-LMTO method and KKR methods In HCP Co, the DMI parameters are compared with results from the KKR method The calculation of DMI and anisotropic exchange components requires an xyz average strategy to obtain the full set of parameters Advantages and Limitations The Green’s function method is more robust than total-energy mapping as it only requires a DFT calculation for a single spin configuration, avoiding convergence issues with unstable magnetic structures A limitation is that the calculation of DMI and anisotropic exchange parameters through the Wannier basis set might still be problematic for very small quantities due to noise introduced during the Wannierization process The Heisenberg model might not be valid when spins are itinerant or when non-bilinear magnetic interactions are nonnegligible TB2J provides a minimal input requirement, allowing easy integration into high-throughput workflows for automatic calculations of magnetic interactions The package is designed to be used either with Wannier functions or LCAO codes, making it suitable for automated high-throughput calculations Future versions plan to include single ion anisotropy and higher order parameters like three-spin and four-spin interactions The ability to calculate exchange magnetic interaction parameters at any distance in real space is a key feature User Instructions

Paper summary: Kai: To recap, we've looked at TB2J, which is this Python package presenting a way to automatically compute magnetic interaction parameters like exchange and Dzyaloshinskii-Moriya between atoms from density functional theory results.

Mira: The core thesis is that they use the Green’s function method by treating local rigid spin rotation as a perturbation within the single-particle Green’s function method, which lets them determine Heisenberg magnetic interaction parameters from the ground state solution regardless of whether it is ferromagnetic or antiferromagnetic.

Lev: They also highlight that this specific approach allows access to a band-by-band decomposition of these different magnetic interactions, which is useful because it separates what's happening at different energy levels.

Kai: And they didn't just stop at exchange; they incorporated relativistic effects like spin-orbit coupling to calculate the Dzyaloshinskii-Moriya interaction and magnetic anisotropy.

Mira: The input for the package comes from either Wannier90 codes that interface with many density functional theory packages, or codes built on localized orbitals.

Lev: What matters for us is how they handle the Hamiltonian formulation; they show a conversion where the exchange parameter J iso i j is given by taking the imaginary part of a certain combination of terms involving A zero zero i j and A xx i j and A yy i j and A zz i j.

Kai: That specific expression gives you the isotropic exchange parameter directly from those DFT results, which is pretty neat because it’s accessible from constrained density functional theory calculations too.

Mira: They also point out that the single-ion anisotropy parameter, which is part of the total energy mapping approach, isn't as easy to get from Wannier90 because you need to separately calculate the spin-orbit coupling part of the Hamiltonian for that.

Lev: So they are showing a way around those specific problems by using this perturbation scheme, avoiding convergence issues with unstable magnetic structures and relying on the ground state solution instead of trying to map total energy across an entire phase space.

Conclusion: Kai: So, TB2J is this Python package that lets you compute exchange and Dzyaloshinskii-Moriya parameters automatically from DFT results using the Green’s function method with local spin rotation as a perturbation.

Mira: It's important because it gives us a minimal input requirement, allowing for easy integration into high throughput workflows, whether you use Wannier functions or LCAO codes.

Lev: The implication is that we can get these parameters at any distance in real space, which is a key feature when trying to build effective Hamiltonians for large systems and dynamics simulations.

Kai: The authors applied it to several crystals like BCC Iron and HCP Cobalt bulk, comparing their isotropic exchange parameters against results from TB-LMTO and KKR methods for that BCC Iron system.

Mira: And they also showed how the DMI parameters can be calculated by taking an xyz average strategy to get the full set of components needed for anisotropic exchange.

Lev: The main thing here is that it provides a way to bridge the gap between large-scale DFT calculations and the effective Hamiltonians we need for simulating real magnetic materials.

More episodes

← Home