In this post, I am going to put down the methodology for going from density functional theory (DFT) calculations to tight-binding (TB) models, and further to calculations of electronic and topological properties. Apart from introducing the general workflow, I will focus on explaining how the tight-binding Hamiltonian is constructed, why it is computationally much cheaper than DFT, and how the method can be extended to large systems containing structural or magnetic disorder.
The general workflow can be summarized as,
DFT → Wannier functions → Tight-binding Hamiltonian → Electronic and topological properties
The central idea is to replace the electronic Hamiltonian obtained from DFT with an effective Hamiltonian expressed in a much smaller basis of localized orbitals. For a periodic crystal, this leads to a small momentum-space Hamiltonian that can be evaluated at arbitrary $\mathbf{k}$ points. For a large disordered system, the Hamiltonian may still have a large dimension, but it is typically sparse, meaning that most matrix elements are zero or negligible. This makes it possible to apply numerical methods that would otherwise be prohibitively expensive.
DFT and Wannier functions
To start with, we need to understand what information comes out of DFT and why Wannier functions are needed. For a periodic crystal, the electronic states are described by the Kohn–Sham equation,
\[\hat H_{\mathrm{KS}}|\psi_{n\mathbf{k}}\rangle = \varepsilon_{n\mathbf{k}}|\psi_{n\mathbf{k}}\rangle\]where $\hat H_{\mathrm{KS}}$ is the Kohn–Sham Hamiltonian, $\mathbf{k}$ is the wavevector in the Brillouin zone, $n$ is the band index, and $\varepsilon_{n\mathbf{k}}$ is the corresponding band energy. The Kohn–Sham wavefunctions are Bloch states, which can be expressed as,
\[\psi_{n\mathbf{k}}(\mathbf r) = e^{i\mathbf{k}\cdot\mathbf r} u_{n\mathbf{k}}(\mathbf r)\]with $u_{n\mathbf{k}}(\mathbf r)$ having the periodicity of the crystal. In plane-wave DFT calculations, the wavefunctions are represented using a large number of plane waves, and the Hamiltonian at each $\mathbf{k}$ point is therefore a potentially large matrix. DFT calculations also require finding the electronic density self-consistently, meaning that the Kohn–Sham equations need to be solved repeatedly until convergence. The important point here is that the basis used in DFT can be much larger than the number of electronic bands of interest. For example, a calculation may involve thousands of plane waves to represent the electronic wavefunctions, although only a relatively small number of bands close to the Fermi energy are important for the physical properties being studied. This motivates constructing an effective Hamiltonian that retains the relevant electronic states without keeping the full DFT basis.
Wannier functions. The next step is to transform the Bloch states into localized Wannier functions. A Bloch state is extended throughout the periodic crystal, whereas a Wannier function is localized around a particular position in real space. The Wannier functions can therefore serve as a basis for constructing a Hamiltonian in terms of interactions between localized electronic orbitals. Mathematically, the Wannier functions can be constructed from the Bloch states through a Fourier transformation,
\[|w_{m\mathbf R}\rangle = \frac{1}{N_k} \sum_{\mathbf k} e^{-i\mathbf k\cdot\mathbf R} \sum_n U_{nm}(\mathbf k) |\psi_{n\mathbf k}\rangle\]where $\mathbf R$ labels the unit cell, $m$ labels a Wannier orbital within that cell, $N_k$ is the number of sampled $\mathbf{k}$ points, and $U_{nm}(\mathbf{k})$ describes the transformation from Bloch states to Wannier states. For an isolated group of bands, $U(\mathbf{k})$ can be understood as a unitary rotation among the selected Bloch states. For entangled bands, where the target bands overlap with other bands in energy, an additional procedure called disentanglement is needed to select an appropriate subspace. The Bloch states are not uniquely defined because their phases, and the mixing among states within a suitable band subspace, can be changed without altering the physical electronic structure. This freedom can be used to construct spatially localized Wannier functions. The widely used Wannier90 software [1, 2] implements this procedure, typically through maximally localized Wannier functions.
Note about the construction of Wannier functions
The key to understanding Wannierization is that Wannier functions are constructed by combining Bloch wavefunctions at different $\mathbf{k}$ points, with appropriate phases and mixing among the selected bands, to produce spatially localized functions. There are two operations involved: combining Bloch states at each $\mathbf{k}$ point through a transformation matrix $U(\mathbf{k})$, and Fourier-transforming the resulting states across different $\mathbf{k}$ points.
Fourier transformation and localization. To see how extended Bloch states can produce localized functions, consider a one-dimensional periodic chain containing $N$ identical atoms, with one atomic orbital $\vert R\rangle$ at each lattice position $R$. A Bloch state can be expressed as,
\[\vert\psi_k\rangle=\sum_R e^{ikR}\vert R\rangle\]where the normalization factor is omitted for simplicity. This state extends throughout the chain, with each atomic orbital contributing a phase factor $e^{ikR}$. Performing the inverse Fourier transformation gives,
\[\begin{aligned} \vert w_{R_0}\rangle &=\frac{1}{N}\sum_k e^{-ikR_0}\vert\psi_k\rangle\\ &=\frac{1}{N}\sum_k\sum_R e^{ik(R-R_0)}\vert R\rangle\\ &=\sum_R\left[\frac{1}{N}\sum_k e^{ik(R-R_0)}\right]\vert R\rangle. \end{aligned}\]For the complete set of allowed $k$ points, the expression inside the square brackets equals one when $R=R_0$ and zero otherwise,
\[\frac{1}{N}\sum_k e^{ik(R-R_0)}=\delta_{R,R_0}.\]Therefore, $\vert w_{R_0}\rangle=\vert R_0\rangle$. This demonstrates how extended Bloch states can be combined into a localized orbital. The contributions from different $k$ points interfere constructively at $R_0$ and destructively at other lattice positions. For realistic systems, the Wannier functions are not necessarily confined to a single atom, but the underlying principle remains the same.
Gauge freedom and the transformation matrix. For a realistic DFT calculation involving multiple bands, Wannier functions are constructed as,
\[\vert w_{m\mathbf R}\rangle =\frac{1}{N_k}\sum_{\mathbf k}e^{-i\mathbf k\cdot\mathbf R} \sum_n U_{nm}(\mathbf k)\vert\psi_{n\mathbf k}\rangle.\]This can be understood as two separate operations. First, the Bloch states at each $\mathbf{k}$ point are combined through,
\[\vert\phi_{m\mathbf k}\rangle =\sum_n U_{nm}(\mathbf k)\vert\psi_{n\mathbf k}\rangle.\]Then, the resulting states are Fourier-transformed across the Brillouin zone,
\[\vert w_{m\mathbf R}\rangle =\frac{1}{N_k}\sum_{\mathbf k} e^{-i\mathbf k\cdot\mathbf R}\vert\phi_{m\mathbf k}\rangle.\]But why is $U(\mathbf{k})$ needed? The reason is that the Bloch eigenstates obtained from DFT are not uniquely defined. For example, multiplying an eigenstate by an arbitrary phase,
\[\vert\psi'_{n\mathbf k}\rangle =e^{i\theta_n(\mathbf k)}\vert\psi_{n\mathbf k}\rangle,\]does not change its eigenvalue or physical observables. However, this phase affects how wavefunctions at different $\mathbf{k}$ points interfere during the Fourier transformation. An irregularly varying phase may produce a spatially extended Wannier function, whereas an appropriately chosen smooth phase can produce a localized one.
For multiple bands, the freedom is more general. Consider two selected DFT states, $\vert\psi_{1\mathbf k}\rangle$ and $\vert\psi_{2\mathbf k}\rangle$. They can be transformed into another pair through a unitary matrix,
\[\begin{pmatrix} \vert\phi_{1\mathbf k}\rangle & \vert\phi_{2\mathbf k}\rangle \end{pmatrix} = \begin{pmatrix} \vert\psi_{1\mathbf k}\rangle & \vert\psi_{2\mathbf k}\rangle \end{pmatrix} U(\mathbf k).\]The new states span exactly the same electronic subspace as the original states, although they are generally no longer individual energy eigenstates when the original bands have different energies. The Hamiltonian in the new basis becomes,
\[H^{(W)}(\mathbf k) =U^\dagger(\mathbf k) \begin{pmatrix} E_1(\mathbf k)&0\\ 0&E_2(\mathbf k) \end{pmatrix} U(\mathbf k),\]which preserves the original eigenvalues. Therefore, changing $U(\mathbf{k})$ changes the basis representation without changing the electronic information contained in the selected subspace. This freedom is called gauge freedom.
Maximally localized Wannier functions. The question now becomes how to choose $U(\mathbf{k})$ to obtain localized Wannier functions. In Wannier90, this is achieved by minimizing the total spatial spread of the functions. For an individual Wannier function, the spread is,
\[\Omega_m =\langle w_m\vert r^2\vert w_m\rangle -\vert\langle w_m\vert\mathbf r\vert w_m\rangle\vert^2,\]with the total spread given by $\Omega=\sum_m\Omega_m$. The optimization adjusts the phases and mixing of the Bloch states to minimize this quantity.
To understand why mixing eigenstates can improve localization, consider two states with bonding and antibonding character,
\[\begin{aligned} \vert\psi_1\rangle&=\frac{1}{\sqrt2}(\vert A\rangle+\vert B\rangle),\\ \vert\psi_2\rangle&=\frac{1}{\sqrt2}(\vert A\rangle-\vert B\rangle), \end{aligned}\]where $\vert A\rangle$ and $\vert B\rangle$ represent two localized atomic orbitals. Combining the two eigenstates gives,
\[\begin{aligned} \vert\phi_A\rangle &=\frac{1}{\sqrt2}(\vert\psi_1\rangle+\vert\psi_2\rangle)=\vert A\rangle,\\ \vert\phi_B\rangle &=\frac{1}{\sqrt2}(\vert\psi_1\rangle-\vert\psi_2\rangle)=\vert B\rangle. \end{aligned}\]Although each original electronic state contains contributions from both atomic orbitals, appropriate combinations recover the localized orbitals. Wannierization follows a similar principle, but performs the transformations across many bands and $\mathbf{k}$ points.
Disentanglement. The discussion above assumes an isolated group of bands, meaning that the selected bands remain separated from all other bands throughout the Brillouin zone. In this case, $U(\mathbf{k})$ is a square unitary matrix that changes the basis within the selected subspace. For realistic materials, however, the bands of interest often overlap and hybridize with other bands. For example, Cr $d$ states may hybridize with Sb $p$ states, making it difficult to identify the desired subspace simply by choosing a fixed set of DFT band indices at every $\mathbf{k}$ point.
To address this, Wannier90 uses disentanglement to identify an appropriate electronic subspace before optimizing localization. An outer energy window specifies the DFT states available for constructing the subspace, while an optional inner, or frozen, window identifies states that must be retained exactly. At each $\mathbf{k}$ point, the desired number of states is selected from the larger collection of available states, with the objective of obtaining a subspace that varies smoothly throughout the Brillouin zone. Mathematically, this can be expressed as,
\[\vert\widetilde\psi_{m\mathbf k}\rangle =\sum_{n=1}^{N_{\mathrm{win}}(\mathbf k)} V_{nm}(\mathbf k)\vert\psi_{n\mathbf k}\rangle,\]where $N_{\mathrm{win}}(\mathbf{k})$ is the number of available states in the outer window, and $V(\mathbf{k})$ is generally a rectangular matrix satisfying $V^\dagger V=I$. This is the subspace selection step. A further unitary transformation $W(\mathbf{k})$ is then applied within the selected subspace to optimize Wannier localization. The combined transformation can therefore be written schematically as $U(\mathbf{k})=V(\mathbf{k})W(\mathbf{k})$.
The important distinction is that disentanglement determines which electronic subspace to retain, whereas Wannier localization determines how to represent that subspace using localized functions. For an isolated group of bands, the transformation preserves the complete selected electronic subspace. With disentanglement, however, the resulting subspace generally provides an approximate representation of the targeted DFT bands, so the Wannier-interpolated bands need to be validated against the original DFT results.
From Wannier functions to the TB Hamiltonian. Once localized Wannier functions have been constructed, they provide the basis for obtaining the Hamiltonian matrix elements,
\[H_{mn}(\mathbf R) =\langle w_{m\mathbf0}\vert\hat H_{\mathrm{KS}}\vert w_{n\mathbf R}\rangle.\]These elements describe the onsite energies and hopping interactions between Wannier orbitals. Since the Wannier functions are localized, interactions generally become weaker with increasing separation, producing a relatively compact Hamiltonian. The real-space hopping matrices can then be Fourier-transformed back into momentum space,
\[H_{mn}(\mathbf k) =\sum_{\mathbf R}H_{mn}(\mathbf R)e^{i\mathbf k\cdot\mathbf R},\]using a consistent Bloch-basis convention. Diagonalizing this Hamiltonian produces the Wannier-interpolated bands, which can be calculated at arbitrary $\mathbf{k}$ points without repeating DFT calculations.
The overall methodology therefore starts with extended DFT Bloch states, transforms them into localized Wannier functions, constructs a real-space Hamiltonian from onsite and hopping interactions, and finally transforms the Hamiltonian back into momentum space when needed. The purpose of this process is to obtain a reduced, localized basis that makes electronic-structure calculations much more efficient and provides a practical foundation for constructing and modifying TB Hamiltonians, including those for large disordered systems.
Note about Wannier interpolation
Wannier interpolation refers to using the tight-binding Hamiltonian constructed from Wannier functions to calculate electronic band energies and eigenstates at arbitrary $\mathbf{k}$ points, without repeating the original DFT calculation. The term interpolation comes from the fact that the Wannier Hamiltonian is constructed using DFT results on a finite $\mathbf{k}$ grid, but can subsequently be evaluated on a much denser grid. This is particularly useful for calculating topological properties, such as Berry curvature and Weyl points, which often require very dense momentum-space sampling.
How it works. Suppose the original DFT calculation is performed on an $8\times8\times8$ grid, giving 512 sampled $\mathbf{k}$ points. At each point, DFT provides the electronic eigenvalues and eigenvectors. After Wannierization, the electronic information is represented by real-space Hamiltonian matrix elements between localized Wannier orbitals,
\[H_{mn}(\mathbf R) =\langle w_{m\mathbf0}\vert\hat H\vert w_{n\mathbf R}\rangle.\]These matrix elements describe onsite energies and hopping interactions between Wannier orbitals in different unit cells. Once they are available, the Hamiltonian at any new $\mathbf{k}$ point can be reconstructed through a Fourier transformation,
\[H_{mn}(\mathbf k) =\sum_{\mathbf R}H_{mn}(\mathbf R)e^{i\mathbf k\cdot\mathbf R}.\]Diagonalizing the resulting Hamiltonian,
\[H(\mathbf k)\vert u_{n\mathbf k}\rangle =E_n(\mathbf k)\vert u_{n\mathbf k}\rangle,\]gives the Wannier-interpolated band energies $E_n(\mathbf k)$ and the corresponding eigenvectors. The calculation can be repeated on an arbitrarily dense $\mathbf{k}$ grid without performing new DFT calculations, since only the relatively small Wannier Hamiltonian needs to be constructed and diagonalized.
A simple example. Consider a one-dimensional periodic chain with one orbital per atom, onsite energy $\varepsilon$, nearest-neighbor hopping $t$, and lattice constant $a$. The real-space Hamiltonian has only three nonzero hopping terms, $H(0)=\varepsilon$ and $H(\pm a)=t$, assuming real $t$. The corresponding momentum-space Hamiltonian is,
\[\begin{aligned} H(k) &=\varepsilon+te^{ika}+te^{-ika}\\ &=\varepsilon+2t\cos(ka). \end{aligned}\]Once the two parameters $\varepsilon$ and $t$ are known, the electronic band energy $E(k)=\varepsilon+2t\cos(ka)$ can be evaluated at any $k$ point. Even if the original electronic calculation sampled only a few points, the resulting TB model provides the continuous band dispersion. The same principle applies to realistic systems, except that $H(\mathbf{k})$ is generally a matrix involving multiple Wannier orbitals.
Why this is different from ordinary interpolation. Wannier interpolation is not simply drawing a smooth curve between known DFT band energies. Instead, the Wannier functions provide a reduced electronic basis, and the hopping parameters are used to reconstruct an effective Hamiltonian at arbitrary $\mathbf{k}$ points. Diagonalizing this Hamiltonian provides both the band energies and eigenvectors, retaining information about the electronic states rather than just their energies. This is particularly important for topological calculations, where properties such as Berry curvature and Chern numbers depend on the evolution of the eigenvectors throughout momentum space.
Validation. The Wannier Hamiltonian is intended to reproduce the original DFT electronic structure, but deviations may arise from the choice of Wannier orbitals, disentanglement, finite $\mathbf{k}$-point sampling, or truncation of hopping interactions. Therefore, the Wannier-interpolated bands should be compared with the original DFT bands along the same momentum-space paths, particularly near the Fermi energy and important band crossings. For example, if a SOC-induced band gap is only a few meV, interpolation errors comparable to or larger than that gap may lead to incorrect conclusions about band topology. Good agreement with the original DFT bands is therefore an essential validation step before using the Wannier Hamiltonian for topological property calculations.
In summary, Wannier interpolation converts electronic information obtained from DFT on a finite $\mathbf{k}$ grid into a localized real-space Hamiltonian, which can then be Fourier-transformed to arbitrary $\mathbf{k}$ points. This provides a computationally inexpensive way to calculate dense electronic band structures and the eigenstates required for Berry curvature, Chern numbers, Weyl-point searches, and other topological calculations.
Note about topological obstruction in Wannierization
A topological obstruction means that some mathematical property of the electronic bands makes it impossible to construct Wannier functions satisfying certain desired conditions, no matter how the Bloch wavefunctions are combined. For an isolated band with a nonzero Chern number, exponentially localized Wannier functions cannot be constructed for that band alone. For a nontrivial $Z_2$ topological insulator, exponentially localized Wannier functions can exist, but they cannot be chosen to form fixed time-reversal pairs. The distinction can be understood by considering the Chern number and how multiple bands are combined during Wannierization.
Nonzero Chern number. Recall that the Berry connection and Berry curvature of an isolated band are,
\[\mathbf A(\mathbf k) =i\langle u_{\mathbf k}\vert\nabla_{\mathbf k}u_{\mathbf k}\rangle, \qquad \boldsymbol\Omega(\mathbf k) =\nabla_{\mathbf k}\times\mathbf A(\mathbf k).\]The Chern number of a two-dimensional band is,
\[C=\frac{1}{2\pi}\int_{\mathrm{BZ}}\Omega_z(\mathbf k)\,d^2k.\]Suppose the Bloch eigenstate $\vert u_{\mathbf k}\rangle$ can be chosen to be smooth and periodic throughout the Brillouin zone. The corresponding Berry connection would also be smooth and periodic. Applying Stokes’ theorem,
\[\begin{aligned} C &=\frac{1}{2\pi}\int_{\mathrm{BZ}} (\nabla_{\mathbf k}\times\mathbf A)_z\,d^2k\\ &=\frac{1}{2\pi}\oint_{\partial\mathrm{BZ}} \mathbf A(\mathbf k)\cdot d\mathbf k=0. \end{aligned}\]The final equality follows because the Brillouin zone is periodic, so the boundary contributions from opposite edges cancel. Therefore, if the band has a nonzero Chern number, a globally smooth and periodic Bloch gauge cannot exist. Since exponentially localized Wannier functions require a globally analytic and periodic Bloch representation, they cannot be constructed for that isolated Chern band [1].
Combining multiple bands. The important point is that this obstruction applies to the selected electronic subspace, rather than necessarily to the entire electronic system. Recall the Wannier construction,
\[\vert w_{m\mathbf R}\rangle =\frac{1}{N_k}\sum_{\mathbf k}e^{-i\mathbf k\cdot\mathbf R} \sum_n U_{nm}(\mathbf k)\vert\psi_{n\mathbf k}\rangle.\]The summation over $n$ is indeed the operation that allows different Bloch bands to be combined at the same $\mathbf k$ point, while the summation over $\mathbf k$ Fourier-transforms the resulting states into real space. If only one isolated band with $C\neq0$ is retained, changing its phase cannot remove the obstruction. However, including additional bands can enlarge the selected subspace so that its total Chern number vanishes, making a globally smooth, periodic basis possible.
For example, suppose two bands have $C_1=+1$ and $C_2=-1$. Neither band individually admits an exponentially localized Wannier function, but their combined subspace has,
\[C_{\mathrm{total}}=C_1+C_2=0.\]By allowing appropriate momentum-dependent mixing between the two bands through $U(\mathbf k)$, two smooth and periodic basis functions can be constructed, leading to exponentially localized Wannier functions. Therefore, the possibility of combining multiple bands is crucial for overcoming the Chern obstruction. Simply including more bands does not automatically solve the problem, however; the combined subspace must have vanishing Chern obstruction, and a suitable smooth gauge must be constructed.
The $Z_2$ obstruction. Now consider a two-dimensional quantum spin Hall insulator with two occupied bands. In the spin-conserving limit, suppose the spin-up and spin-down sectors have Chern numbers,
\[C_\uparrow=+1,\qquad C_\downarrow=-1.\]The two sectors are exchanged by time reversal, and the total Chern number vanishes. Therefore, the combined occupied subspace admits a smooth, periodic basis and exponentially localized Wannier functions. However, the system is still topologically nontrivial, with $Z_2$ invariant $\nu=1$.
The fundamental result governing the following argument is that, for a two-dimensional system with two occupied bands, if the occupied subspace is globally decomposed into two one-dimensional subspaces that are exchanged by time reversal, the parity of the Chern number of either member gives the $Z_2$ invariant,
\[\nu=C_1\bmod2.\]This formula applies only when the two subspaces form such a time-reversal-related decomposition, not to an arbitrary pair of states spanning the occupied subspace. Importantly, a globally defined subspace does not necessarily possess a globally smooth and periodic basis function. For example, the spin-up Chern band defines a valid smooth subspace (through its projector), even though no globally smooth and periodic eigenvector can be chosen within it.
Now suppose two Bloch basis functions can be constructed that are simultaneously smooth, periodic, and related by time reversal through,
\[\begin{aligned} \mathcal T\vert u_{1\mathbf k}\rangle &=\vert u_{2,-\mathbf k}\rangle,\\ \mathcal T\vert u_{2\mathbf k}\rangle &=-\vert u_{1,-\mathbf k}\rangle, \end{aligned}\]where the minus sign follows from $\mathcal T^2=-1$ for spin-$1/2$ electrons. Because both basis functions are globally smooth and periodic, the earlier Stokes-theorem argument requires,
\[C_1=C_2=0.\]At the same time, the two functions form a valid time-reversal-related decomposition, so the Chern-number parity formula applies,
\[\nu=C_1\bmod2=0.\]However, the physical system was assumed to have $\nu=1$. This is a contradiction! Therefore, for a nontrivial $Z_2$ insulator, it is impossible to construct a globally smooth, periodic basis that simultaneously satisfies the fixed time-reversal-pairing condition. This is the $Z_2$ topological obstruction [2].
Why can the Wannier construction still work? The contradiction disappears once the requirement of fixed time-reversal pairing is relaxed. By appropriately mixing the two occupied bands, it is possible to construct two globally smooth and periodic functions, each with zero Chern number,
\[C'_1=C'_2=0.\]However, the two new states are not necessarily exchanged directly by time reversal. Instead, time reversal generally produces a momentum-dependent combination,
\[\mathcal T\vert u'_{1\mathbf k}\rangle = a(\mathbf k)\vert u'_{1,-\mathbf k}\rangle + b(\mathbf k)\vert u'_{2,-\mathbf k}\rangle.\]Since these two basis functions do not form the required fixed time-reversal-related decomposition, the formula $\nu=C’_1\bmod2$ cannot be applied to them. Their zero Chern numbers therefore do not imply that the physical system has $\nu=0$. The $Z_2$ topology remains encoded in the momentum-dependent way time reversal acts on the chosen basis. Importantly, although the basis functions do not individually form fixed time-reversal pairs, the complete Hamiltonian remains time-reversal symmetric.
The distinction can be summarized through three possible constructions:
- Original spin sectors: $C_\uparrow=+1$ and $C_\downarrow=-1$. They form a time-reversal-related decomposition, correctly giving $\nu=1$, but cannot individually have globally smooth, periodic basis functions.
- Appropriately mixed states: $C’_1=C’_2=0$. They can be globally smooth and periodic, allowing localized Wannier functions, but do not form fixed time-reversal pairs. Therefore, their individual Chern-number parity cannot be used to calculate $\nu$.
- Hypothetical smooth time-reversal pair: Both states would have zero Chern numbers and satisfy the time-reversal-pairing condition, implying $\nu=0$. This contradicts the physical prerequisite $\nu=1$, so such a construction is impossible.
The essential distinction is that a nonzero Chern number obstructs the existence of exponentially localized Wannier functions for the selected subspace itself, whereas a nontrivial $Z_2$ invariant obstructs the additional requirement that the localized Wannier functions form fixed time-reversal pairs. In both cases, combining multiple bands is important, but for a $Z_2$ insulator, obtaining a smooth and localized basis requires relaxing the time-reversal constraint on the basis, not breaking time-reversal symmetry of the physical Hamiltonian.
References
[1] Brouder, C., et al., Exponential Localization of Wannier Functions in Insulators, Physical Review Letters 98, 046402 (2007).
[2] Soluyanov, A. A. and Vanderbilt, D., Wannier Representation of $Z_2$ Topological Insulators, Physical Review B 83, 035108 (2011).
Choosing the Wannier orbitals. An important question is how many Wannier functions should be constructed. This choice determines both the dimension and the physical content of the resulting TB Hamiltonian. For example, consider CrSb, a material of interest in altermagnetism. The relevant electronic states may involve Cr $3d$ and Sb $5p$ orbitals. Several possible choices of Wannier basis are,
| Wannier basis | Number of spinful orbitals per CrSb formula unit |
|---|---|
| Cr $3d$ only | 10 |
| Cr $3d$ + Sb $5p$ | 16 |
| Cr $3d$ + Sb $5p$ + Sb $5s$ | 18 |
For the Cr $d$ + Sb $p$ case, there are five $d$ orbitals and three $p$ orbitals, giving eight spatial orbitals per formula unit. Including the two spin components doubles this number to sixteen. If a magnetic unit cell contains two formula units, the corresponding spinful Hamiltonian would have dimension $32\times32$. In a collinear calculation without spin–orbit coupling (SOC), the spin-up and spin-down channels can instead be treated as separate blocks. The number of Wannier functions can be specified in Wannier90 through the num_wann parameter, while orbital projections provide an initial guess for the desired basis. For example, a schematic input for one CrSb formula unit in a single spin channel is,
num_wann = 8
begin projections
Cr:d
Sb:p
end projections
For a realistic calculation, the number needs to be adjusted according to the actual unit cell and treatment of spin. Appropriate energy windows also need to be selected when disentanglement is required. One important subtlety is that Wannier functions are not necessarily identical to atomic orbitals. A Wannier function initially projected onto a Cr $d$ orbital may also contain significant contributions from neighboring Sb atoms due to orbital hybridization. Its center does not necessarily coincide exactly with an atomic position either. Therefore, selecting Wannier orbitals is more precisely understood as selecting a localized electronic basis.
Reducing the Wannier basis. Although a smaller Wannier basis gives a smaller Hamiltonian, the number of orbitals cannot be reduced arbitrarily without potentially losing important physics. Suppose the Hamiltonian is constructed using both Cr $d$ and Sb $p$ orbitals,
\[H= \begin{pmatrix} H_{dd}&H_{dp}\\ H_{pd}&H_{pp} \end{pmatrix}\]where $H_{dd}$ and $H_{pp}$ describe the two orbital sectors, and $H_{dp}$ and $H_{pd}$ describe their hybridization. It may seem possible to simply remove the $p$ orbitals and keep $H_{dd}$ to obtain a smaller Hamiltonian. However, this would neglect the effects of hybridization. To see this, consider the eigenvalue equation,
\[\begin{pmatrix} H_{dd}&H_{dp}\\ H_{pd}&H_{pp} \end{pmatrix} \begin{pmatrix} \psi_d\\ \psi_p \end{pmatrix} = E \begin{pmatrix} \psi_d\\ \psi_p \end{pmatrix}\]From the second row, we obtain,
\[\psi_p=(E-H_{pp})^{-1}H_{pd}\psi_d\]Substituting this into the first row gives,
\[H_{\mathrm{eff}}(E) = H_{dd} + H_{dp}(E-H_{pp})^{-1}H_{pd}\]This is an effective Hamiltonian acting only within the $d$-orbital subspace, provided the inverse exists. The second term incorporates the influence of the removed $p$ orbitals. Notice that the effective Hamiltonian is generally energy-dependent, and eliminating orbitals may also introduce longer-range effective hopping interactions. This procedure is an example of downfolding. It illustrates why simply removing orbitals from an existing Hamiltonian is not equivalent to constructing a properly reduced model. For topological materials, this distinction is particularly important because orbital hybridization and SOC may strongly influence band crossings, Berry curvature, and topological invariants. Therefore, the practical goal is to construct the smallest Wannier basis that still reproduces the DFT electronic structure accurately within the energy range of interest.
Tight-binding Hamiltonian
Once the Wannier functions have been constructed, the next step is to obtain the Hamiltonian matrix elements between them,
\[H_{mn}(\mathbf R) = \langle w_{m\mathbf0}| \hat H_{\mathrm{KS}} |w_{n\mathbf R}\rangle\]Here, $m$ and $n$ label the Wannier orbitals within a unit cell, while $\mathbf R$ specifies the displacement of another unit cell relative to the home cell. The matrix elements have straightforward physical interpretations. For $m=n$ and $\mathbf R=\mathbf0$, the matrix element describes the onsite energy of the orbital. For $m\neq n$ and $\mathbf R=\mathbf0$, it describes the coupling between different orbitals in the same unit cell. For $\mathbf R\neq\mathbf0$, it represents hopping between orbitals in different unit cells. The hopping term should not be interpreted as an electron following a classical trajectory between atoms. It is a quantum-mechanical matrix element coupling localized electronic states. Wannier90 can calculate these matrix elements and export them into a file such as wannier90_hr.dat.
A simple example. To understand how the Hamiltonian is constructed, consider a one-dimensional chain of identical atoms, with each atom contributing one orbital. Suppose only the onsite energy $\varepsilon$ and nearest-neighbor hopping $t$ are considered. For a finite chain containing four atoms, the Hamiltonian is,
\[H= \begin{pmatrix} \varepsilon&t&0&0\\ t&\varepsilon&t&0\\ 0&t&\varepsilon&t\\ 0&0&t&\varepsilon \end{pmatrix}\]The diagonal elements are the onsite energies, while the off-diagonal elements represent hopping between neighboring atoms. For a chain containing $N$ atoms, the Hamiltonian would have dimension $N\times N$, but only the diagonal and the two adjacent diagonals contain nonzero elements. This demonstrates an important feature of TB Hamiltonians: localized orbitals lead to a Hamiltonian in which distant orbital pairs generally have weak interactions. Strictly speaking, the hoppings do not necessarily become exactly zero beyond a certain distance. They generally decay with separation for well-localized Wannier functions. In practical calculations, sufficiently small terms can be neglected after verifying that the approximation does not significantly affect the properties of interest.
Periodic systems. Now suppose the atomic chain is infinite and periodic. Since every unit cell is identical, the Hamiltonian does not need to be constructed explicitly for infinitely many atoms. Instead, it can be represented in momentum space through a Fourier transformation,
\[H_{mn}(\mathbf k) = \sum_{\mathbf R} H_{mn}(\mathbf R)e^{i\mathbf k\cdot\mathbf R}\]The expression assumes a particular Bloch-basis convention; other conventions may include additional phases associated with the positions of the Wannier orbitals inside the unit cell. Returning to the one-dimensional chain, suppose the lattice constant is $a$, and the only nonzero terms are $H(0)=\varepsilon$ and $H(\pm a)=t$, where $t$ is assumed real. Substituting these into the Fourier transformation gives,
\[\begin{aligned} H(k) &=\varepsilon+te^{ika}+te^{-ika}\\ &=\varepsilon+2t\cos(ka) \end{aligned}\]The result is a scalar, or equivalently a $1\times1$ Hamiltonian, regardless of how many atoms are present in the infinite periodic chain. The electronic band energy is simply $E(k)=\varepsilon+2t\cos(ka)$. This example illustrates how translational symmetry dramatically reduces the size of the electronic Hamiltonian. In general, suppose a periodic crystal contains two atoms per unit cell, with each atom contributing three Wannier orbitals. There are six Wannier orbitals per unit cell, meaning that $H_{mn}(\mathbf R)$ has $m,n=1,\ldots,6$. Notice that $m$ and $n$ only run over the orbitals within one unit cell, rather than every atom in the entire crystal. Interactions with neighboring cells are represented by $\mathbf R$. After Fourier transformation, $H(\mathbf k)$ is a $6\times6$ matrix at each $\mathbf{k}$ point. By diagonalizing,
\[H(\mathbf k)|u_{n\mathbf k}\rangle = E_n(\mathbf k)|u_{n\mathbf k}\rangle\]we obtain six electronic bands. This can be repeated over arbitrarily dense $\mathbf{k}$ grids at relatively low computational cost.
Large configurations. The situation changes when primitive translational symmetry is broken, for example by structural or magnetic disorder. Consider a configuration containing 10,000 atoms, with each atom contributing five Wannier orbitals. The number of basis functions becomes,
\[N_{\mathrm{basis}}=10,000\times5=50,000\]The real-space TB Hamiltonian therefore has dimension,
\[H_{\mathrm{TB}}\in\mathbb C^{50,000\times50,000}\]So, unlike the ideal periodic case, the Hamiltonian still needs to represent every atom in the configuration. The matrix elements can be written as $H_{i\alpha,j\beta}=\langle w_{i\alpha}\vert\hat H\vert w_{j\beta}\rangle$, where $i,j$ label atoms and $\alpha,\beta$ label the Wannier orbitals associated with those atoms. Combining the atomic and orbital indices into a single index gives a matrix whose two indices each run from 1 to 50,000. This raises an obvious question: if the Hamiltonian still has such a large dimension, why is the TB approach computationally efficient? The answer is sparsity. Since the Wannier functions are localized, most matrix elements between distant orbitals are negligible. Therefore, although the matrix has a large dimension, only a small fraction of its entries need to be stored.
For example, a dense $50,000\times50,000$ matrix contains $2.5\times10^9$ elements. If each element is stored as a complex double-precision number requiring 16 bytes, the storage requirement is approximately 40 GB. Now suppose each orbital has significant interactions with approximately 50 orbitals, including the relevant onsite and neighboring terms. The number of nonzero elements is then approximately,
\[N_{\mathrm{nonzero}} = 50,000\times50 = 2.5\times10^6\]This is only $0.1\%$ of the entries in the full dense matrix. Using a sparse matrix representation such as compressed sparse row (CSR), which stores only the nonzero values and their corresponding indices, the Hamiltonian may require only about 60 MB of memory, assuming 64-bit indices and complex double-precision values. The difference becomes even more significant for larger systems.
Computational cost. The advantage of sparsity is not limited to memory usage. It can also significantly reduce the cost of matrix operations. For example, consider a matrix-vector multiplication $\mathbf y=H\mathbf x$. For a dense $N\times N$ matrix, the computational complexity is approximately $O(N^2)$. For a sparse matrix with an average of $z$ nonzero elements per row, the complexity becomes $O(Nz)$. If the number of significant neighbors remains approximately constant as the system size increases, the cost scales approximately linearly with $N$. However, it is important to distinguish sparse matrix operations from full diagonalization. Even though a sparse matrix is inexpensive to store and multiply by a vector, calculating all its eigenvalues and eigenvectors can still be computationally prohibitive. This is why methods that avoid full diagonalization, such as the Kernel Polynomial Method (KPM), are particularly useful for large TB Hamiltonians.
It is also worth pointing out that if a 10,000-atom configuration is periodically repeated as a supercell, its Bloch Hamiltonian still contains all the orbitals within that supercell. In the example above, it remains a $50,000\times50,000$ matrix at each supercell $\mathbf{k}$ point. The periodic boundary conditions provide a supercell Brillouin zone, but do not restore the much smaller primitive-cell Hamiltonian when primitive translational symmetry is broken. Putting these together, the computational savings of TB models come from three distinct aspects: basis reduction, where a much smaller set of Wannier orbitals replaces the original DFT basis; translational symmetry, where only the orbitals within the repeating unit cell are needed in $H(\mathbf k)$; and sparsity, where most hopping matrix elements in a large real-space Hamiltonian are negligible, allowing efficient sparse-matrix operations.
Topological properties
Once the TB Hamiltonian is constructed, it can be used to calculate electronic and topological properties. For periodic systems, the Hamiltonian $H(\mathbf k)$ is diagonalized to obtain the band energies and eigenvectors, $H(\mathbf k)\vert u_{n\mathbf k}\rangle=E_n(\mathbf k)\vert u_{n\mathbf k}\rangle$. The band energies are sufficient for investigating the band dispersion and locating band crossings. However, topological properties generally require information about the eigenvectors, not just their energies. The reason is that band topology describes how the electronic wavefunctions evolve throughout momentum space.
Berry curvature and Chern number. To understand the connection between the TB Hamiltonian and topology, we first introduce the Berry connection,
\[\mathbf A_n(\mathbf k) = i\langle u_{n\mathbf k} \vert \nabla_{\mathbf k} u_{n\mathbf k}\rangle\]The Berry connection describes the geometric phase evolution of an electronic eigenstate as the wavevector changes. The Berry curvature is defined as,
\[\boldsymbol{\Omega}_n(\mathbf k) = \nabla_{\mathbf k}\times\mathbf A_n(\mathbf k)\]For a two-dimensional system, its out-of-plane component is,
\[\Omega_{n,z}(\mathbf k) = -2\,\mathrm{Im} \left\langle \frac{\partial u_{n\mathbf k}}{\partial k_x} \middle| \frac{\partial u_{n\mathbf k}}{\partial k_y} \right\rangle\]for an isolated, nondegenerate band. The Berry curvature can be understood as the geometric phase accumulated around an infinitesimal closed loop in momentum space, divided by the enclosed area. For a two-dimensional insulator, the Chern number can be calculated by integrating the Berry curvature of the occupied bands over the Brillouin zone,
\[C= \frac{1}{2\pi} \sum_{n\in\mathrm{occ}} \int_{\mathrm{BZ}} \Omega_{n,z}(\mathbf k)\,d^2k\]The result is an integer, provided the occupied band subspace remains separated by an energy gap from the unoccupied states throughout the Brillouin zone. Numerically, the Chern number can be obtained by dividing the Brillouin zone into small plaquettes and calculating the Berry phase around each plaquette [3]. For an isolated band, the phase around a discrete loop can be obtained from products of overlaps between neighboring eigenvectors,
\[e^{i\gamma} \approx \prod_{\mathrm{loop}} \frac{ \langle u_{\mathbf k_i}|u_{\mathbf k_{i+1}}\rangle }{ |\langle u_{\mathbf k_i}|u_{\mathbf k_{i+1}}\rangle| }\]For multiple occupied bands, the corresponding calculation uses overlap matrices of the occupied subspaces. This approach avoids explicitly differentiating eigenvectors, which is useful because numerical eigenvectors can have arbitrary overall phases. Since a TB Hamiltonian can be evaluated efficiently on dense momentum-space grids, Wannier-based calculations are particularly suitable for this type of analysis.
Note about numerical Chern number calculation
The Chern number of a two-dimensional insulator is obtained by integrating the Berry curvature of the occupied electronic states over the Brillouin zone,
\[C=\frac{1}{2\pi}\int_{\mathrm{BZ}}\Omega_z(\mathbf k)\,d^2k.\]From Berry phase to Chern number. Instead of calculating the Berry curvature directly through derivatives of the electronic eigenvectors, the Brillouin zone can be divided into small rectangular regions, called plaquettes. For each plaquette $p$, the Berry phase accumulated around its boundary is related to the enclosed Berry curvature through Stokes’ theorem,
\[\gamma_p =\oint_{\partial p}\mathbf A(\mathbf k)\cdot d\mathbf k =\int_p\Omega_z(\mathbf k)\,d^2k.\]Therefore, summing the Berry phases over all plaquettes gives the Chern number,
\[C=\frac{1}{2\pi}\sum_p\gamma_p.\]In numerical calculations, the phases are evaluated modulo $2\pi$, so a consistent loop orientation and phase-branch convention must be used. A sufficiently fine momentum-space grid is needed to resolve the Berry flux through individual plaquettes.
Neighboring eigenvectors. To calculate the Berry phase around a plaquette, consider its four corners, labeled $\mathbf{k}_1,\mathbf{k}_2,\mathbf{k}_3,\mathbf{k}_4$ in counterclockwise order, with $\mathbf{k}_5=\mathbf{k}_1$ to close the loop. These are literally neighboring points on the discretized Brillouin-zone grid. At each point, the TB Hamiltonian is diagonalized to obtain the electronic eigenvectors,
\[H(\mathbf{k}_i)\vert u_{n\mathbf{k}_i}\rangle =E_n(\mathbf{k}_i)\vert u_{n\mathbf{k}_i}\rangle.\]For one isolated band, the Berry phase is obtained from the product of overlaps between its eigenvectors at neighboring points,
\[e^{i\gamma_p}\approx \prod_{i=1}^{4} \frac{ \langle u_{\mathbf{k}_{i+1}}\vert u_{\mathbf{k}_i}\rangle }{ \vert\langle u_{\mathbf{k}_{i+1}}\vert u_{\mathbf{k}_i}\rangle\vert }.\]Here, the overlap between two neighboring eigenvectors is,
\[\langle u_{\mathbf{k}_{i+1}}\vert u_{\mathbf{k}_i}\rangle.\]This is a complex number whose phase measures the relative phase change between two neighboring electronic states. The order of the eigenvectors is chosen consistently with the Berry connection convention,
\[\mathbf A=i\langle u\vert\nabla_{\mathbf k}u\rangle.\]Neighboring points are used because their eigenvectors are generally similar, allowing the discrete phase changes to approximate the continuous Berry connection. Importantly, when the overlaps are multiplied around a closed loop, the arbitrary overall phases of the individual eigenvectors cancel, making the resulting Berry phase gauge-invariant modulo $2\pi$. Multiple occupied bands. When multiple bands are occupied, the Berry phase needs to be calculated for the entire occupied subspace, rather than for each band separately. Suppose there are two occupied bands. At each $\mathbf{k}$ point, there are two eigenvectors, $\vert u_{1\mathbf{k}}\rangle$ and $\vert u_{2\mathbf{k}}\rangle$. For two neighboring points,
\[\mathbf{k}_i\ \text{and}\ \mathbf{k}_{i+1}\]an overlap matrix is constructed,
\[M(\mathbf{k}_i,\mathbf{k}_{i+1})= \begin{pmatrix} \langle u_{1,i+1}\vert u_{1,i}\rangle& \langle u_{1,i+1}\vert u_{2,i}\rangle\\ \langle u_{2,i+1}\vert u_{1,i}\rangle& \langle u_{2,i+1}\vert u_{2,i}\rangle \end{pmatrix},\]where $u_{n,i}$ is shorthand for,
\[u_{n\mathbf{k}_i}\]The diagonal elements describe overlaps between corresponding bands, while the off-diagonal elements account for mixing between different occupied states as $\mathbf{k}$ changes. For $N_{\mathrm{occ}}$ occupied bands, the overlap matrix is generally $N_{\mathrm{occ}}\times N_{\mathrm{occ}}$, with elements,
\[M_{mn}(\mathbf{k}_i,\mathbf{k}_{i+1}) =\langle u_{m\mathbf{k}_{i+1}}\vert u_{n\mathbf{k}_i}\rangle.\]The Berry phase for the entire occupied subspace is then calculated using the determinant of each overlap matrix,
\[e^{i\gamma_p}\approx \prod_{i=1}^{4} \frac{ \det M(\mathbf{k}_i,\mathbf{k}_{i+1}) }{ \vert\det M(\mathbf{k}_i,\mathbf{k}_{i+1})\vert }.\]The determinant captures the total Berry phase of the occupied subspace, including the mixing among its states. This is particularly important when occupied bands cross or become degenerate with one another, since their individual eigenvectors may not be uniquely defined. The occupied subspace as a whole, however, remains well-defined provided it stays separated from the unoccupied bands by an energy gap. The determinant formulation is therefore invariant under arbitrary unitary mixing among the occupied eigenvectors at each $\mathbf{k}$ point.
Once the Berry phase of each plaquette is obtained, the phases are summed over the entire Brillouin zone and divided by $2\pi$ to obtain the Chern number. For an isolated band, the calculation uses overlaps between neighboring eigenvectors; for multiple occupied bands, it uses determinants of overlap matrices between neighboring occupied subspaces. Both approaches avoid explicitly differentiating eigenvectors and are particularly suitable for Wannier-based TB calculations on dense momentum-space grids.
Weyl points. For three-dimensional systems, one important topological feature is the Weyl point, where electronic bands cross at an isolated point in momentum space. A Weyl point acts as a source or sink of Berry curvature. Its topological charge can be calculated by enclosing the crossing within a closed surface $S$ and integrating the Berry curvature over that surface,
\[\chi= \frac{1}{2\pi} \oint_S \boldsymbol{\Omega}(\mathbf k) \cdot d\mathbf S\]where the Berry curvature is summed over the relevant lower-band subspace, which must remain separated from the higher bands on the enclosing surface. The result $\chi$ is an integer representing the topological charge of the Weyl point. An important point is that although the bands cross at the Weyl point itself, the topological invariant is defined on the surrounding surface, where the necessary band gap remains open. Another way of characterizing Weyl topology is to calculate Chern numbers on two-dimensional slices of the three-dimensional Brillouin zone. As a slice passes through a Weyl point, its Chern number can change by the charge of the node, provided the relevant slices remain gapped. A Weyl point should also be distinguished from an avoided band crossing. At an avoided crossing, a small gap opens between the bands, and the Berry curvature can become strongly enhanced. However, such a region does not necessarily carry an enclosed Weyl charge. Both types of features can contribute to anomalous transport, but they represent different electronic structures.
Note about calculating Weyl charges from multiple bands
A Weyl point is formed when two electronic bands cross at an isolated point in momentum space. Its topological charge can be calculated by integrating the Berry curvature over a closed surface $S$ enclosing the crossing. However, an important question is which bands should be included in this calculation. For a simple Weyl point, the Berry curvature of the lower crossing band alone is sufficient, but for more complicated multiband systems, it is generally more robust to use the entire lower-band subspace.
Two-band case. Consider a Weyl point formed by the crossing of two bands at $\mathbf{k}_W$,
\[E_1(\mathbf{k}_W)=E_2(\mathbf{k}_W).\]Construct a small sphere $S$ enclosing the Weyl point, with the two bands separated everywhere on the sphere. The topological charge is then obtained by integrating the Berry curvature of the lower band,
\[\chi=\frac{1}{2\pi}\oint_S \boldsymbol{\Omega}_1(\mathbf{k})\cdot d\mathbf S.\]For a simple Weyl point, the resulting charge is $+1$ or $-1$, depending on its chirality and the convention used. Notice that the bands are allowed to cross inside the sphere, but must remain separated on the sphere. This is because the Chern number requires a well-defined band or band subspace throughout the integration surface.
Multiple bands. Now suppose a Weyl point occurs between bands 3 and 4, while bands 1 and 2 lie below them in energy. If all three lower bands remain individually nondegenerate on the enclosing sphere, their Berry-curvature fluxes can be calculated separately,
\[C_m=\frac{1}{2\pi}\oint_S \boldsymbol{\Omega}_m(\mathbf{k})\cdot d\mathbf S.\]For example, suppose the results are,
\[C_1=0,\qquad C_2=0,\qquad C_3=+1.\]The total charge is then $\chi=C_1+C_2+C_3=+1$. In this case, calculating the Berry curvature of band 3 alone would give the same result. In fact, for a sufficiently small sphere enclosing only an isolated crossing between bands 3 and 4, the deeper bands contribute zero net Berry flux, provided they remain separated from the other bands throughout the enclosed region. Therefore, the Berry curvature of the lower crossing band is sufficient in this simple situation.
Why include all lower bands? The complication arises when lower bands cross or become degenerate with one another. For example, suppose bands 2 and 3 are degenerate somewhere on the enclosing sphere, while band 3 remains separated from band 4 everywhere on the sphere,
\[E_3(\mathbf{k})<E_4(\mathbf{k}),\qquad \mathbf{k}\in S.\]In this situation, band 3 cannot necessarily be treated as an isolated band with a globally well-defined individual Berry curvature. However, the combined subspace consisting of bands 1, 2, and 3 remains well-defined because it is separated from band 4 and all higher bands. Therefore, the topological charge can still be calculated using the Berry curvature of the entire lower-band subspace,
\[\chi=\frac{1}{2\pi}\oint_S \boldsymbol{\Omega}_{\mathrm{lower}}(\mathbf{k})\cdot d\mathbf S.\]When the lower bands are individually nondegenerate, the total Berry curvature is simply,
\[\boldsymbol{\Omega}_{\mathrm{lower}} =\sum_{m=1}^{n}\boldsymbol{\Omega}_m.\]When degeneracies occur within the lower-band subspace, its total Berry curvature can instead be calculated using the trace of the non-Abelian Berry curvature, without requiring the individual band curvatures to be separately defined. This is the same principle used in calculating the Chern number of multiple occupied bands: the combined subspace can have a well-defined topological invariant even when individual bands within it are degenerate.
Therefore, for a Weyl point between bands $n$ and $n+1$, the general approach is to calculate the Chern number of the subspace containing bands 1 through $n$, requiring only that,
\[E_n(\mathbf{k})<E_{n+1}(\mathbf{k}),\qquad \mathbf{k}\in S.\]Here, lower bands refers to the energy ordering of the bands, not necessarily to their occupation relative to the Fermi energy. For an isolated Weyl crossing, the lower crossing band alone can be sufficient; using the entire lower-band subspace provides a more general and robust formulation, especially when additional band degeneracies are present. The enclosing surface should also be chosen so that no other relevant band crossings are enclosed if the goal is to identify the charge of a single Weyl point.
Note about Berry curvature near avoided band crossings
At an avoided band crossing, two electronic bands approach each other but do not actually cross because a small energy gap opens between them, often due to spin–orbit coupling (SOC) or orbital hybridization. Such regions can exhibit strongly enhanced Berry curvature, sometimes called Berry-curvature hot spots. The underlying reason is that the electronic eigenvectors can change rapidly with momentum when two bands are close in energy. Since Berry curvature measures the geometric variation of eigenvectors in momentum space, this rapid change can produce a large Berry curvature.
Why does a small gap enhance Berry curvature? Recall that the Berry curvature of band $n$ is,
\[\Omega_{n,z}(\mathbf k) =-2\,\mathrm{Im} \left\langle \frac{\partial u_{n\mathbf k}}{\partial k_x} \middle\vert \frac{\partial u_{n\mathbf k}}{\partial k_y} \right\rangle.\]This expression can also be written in terms of the Hamiltonian and its eigenstates,
\[\Omega_{n,z}(\mathbf k) =-2\,\mathrm{Im}\sum_{m\neq n} \frac{ \langle u_n\vert\partial_{k_x}H\vert u_m\rangle \langle u_m\vert\partial_{k_y}H\vert u_n\rangle }{ (E_n-E_m)^2 }.\]Notice the squared energy difference $(E_n-E_m)^2$ in the denominator. When two bands approach each other, this denominator becomes small, potentially producing a large Berry curvature. However, a small energy gap alone does not guarantee enhanced Berry curvature. The numerator must also have a nonzero imaginary component, which may be forbidden by the symmetries of the system.
A two-band example. Consider a simple two-dimensional Hamiltonian,
\[H(\mathbf k)=vk_x\sigma_x+vk_y\sigma_y+\Delta\sigma_z,\]where $\sigma_x,\sigma_y,\sigma_z$ are the Pauli matrices, $v$ controls the band dispersion, and $\Delta$ determines the energy gap. Writing the Hamiltonian explicitly gives,
\[H(\mathbf k)= \begin{pmatrix} \Delta&v(k_x-ik_y)\\ v(k_x+ik_y)&-\Delta \end{pmatrix}.\]Diagonalizing the Hamiltonian gives the two band energies,
\[E_\pm(\mathbf k) =\pm\sqrt{v^2(k_x^2+k_y^2)+\Delta^2}.\]At $\mathbf k=0$, the energy separation is $E_g=2\vert\Delta\vert$. Therefore, the two bands cross when $\Delta=0$, while a finite $\Delta$ opens a gap and produces an avoided crossing.
To calculate the Berry curvature, the Hamiltonian can be expressed as $H(\mathbf k)=\mathbf d(\mathbf k)\cdot\boldsymbol\sigma$, where $\mathbf d=(vk_x,vk_y,\Delta)$. For the lower band, the Berry curvature can be written as,
\[\Omega_{-,z}(\mathbf k) =\frac12 \frac{ \mathbf d\cdot \left( \frac{\partial\mathbf d}{\partial k_x} \times \frac{\partial\mathbf d}{\partial k_y} \right) }{ \vert\mathbf d\vert^3 }.\]The derivatives of $\mathbf d$ are,
\[\frac{\partial\mathbf d}{\partial k_x}=(v,0,0), \qquad \frac{\partial\mathbf d}{\partial k_y}=(0,v,0).\]Their cross product gives $(0,0,v^2)$, and the dot product with $\mathbf d$ is $\Delta v^2$. Since $\vert\mathbf d\vert^3=[v^2(k_x^2+k_y^2)+\Delta^2]^{3/2}$, the Berry curvature becomes,
\[\Omega_{-,z}(\mathbf k) = \frac{\Delta v^2} {2[v^2(k_x^2+k_y^2)+\Delta^2]^{3/2}}.\]At the center of the avoided crossing, $\mathbf k=0$, this reduces to,
\[\begin{aligned} \Omega_{-,z}(0) &=\frac{\Delta v^2}{2(\Delta^2)^{3/2}}\\ &=\frac{\operatorname{sgn}(\Delta)v^2}{2\Delta^2}. \end{aligned}\]Therefore, the magnitude of the Berry curvature at the gap center is,
\[\vert\Omega_{-,z}(0)\vert =\frac{v^2}{2\Delta^2} \propto\frac{1}{\Delta^2}.\]This means that, for fixed $v$, reducing the gap by half increases the Berry curvature at the avoided crossing by a factor of four. For example, taking $v=1$, decreasing $\Delta$ from $0.5$ to $0.25$ increases $\vert\Omega_{-,z}(0)\vert$ from $2$ to $8$.
Physical interpretation. The small energy separation between the two bands allows their eigenvectors to change significantly over a narrow momentum range. This produces a large Berry curvature concentrated near the avoided crossing. As the gap decreases, the Berry-curvature peak becomes higher but also narrower. Therefore, an enhanced local Berry curvature does not necessarily imply a proportionally larger integrated Berry curvature or anomalous Hall conductivity. In particular, different contributions from momentum space may cancel because of symmetry.
For altermagnets, SOC can open small gaps at electronic band crossings that exist in the nonrelativistic limit, potentially producing Berry-curvature hot spots. These regions can contribute strongly to the intrinsic anomalous Hall response if the magnetic symmetries permit a nonzero macroscopic Hall conductivity. The essential point is that avoided crossings can generate large Berry curvature because a small energy gap allows rapid variation of electronic eigenvectors with momentum, although the resulting transport response depends on the integrated Berry curvature rather than its local peak magnitude alone.
Note about identifying Weyl nodes from electronic band crossings
In a periodic crystal, electronic band structures can reveal locations where two or more bands cross. However, a band crossing does not necessarily indicate a Weyl node. A Weyl node is a particular type of band crossing that carries a nonzero quantized topological charge. Therefore, identifying a crossing in a conventional band-structure plot is useful for locating candidate Weyl nodes, but additional analysis is generally required to establish their topological character.
What distinguishes a Weyl node from an ordinary band crossing? A simple Weyl point is an isolated twofold-degenerate crossing in three-dimensional momentum space, with linear dispersion in all three independent momentum directions. Its topological charge is defined by integrating Berry curvature over a small closed surface surrounding the crossing,
\[\chi= \frac{1}{2\pi} \oint_S \boldsymbol{\Omega}_{\mathrm{lower}}(\mathbf k) \cdot d\mathbf S.\]For a simple Weyl point, the result is $\chi=\pm1$. The bands are allowed to cross inside the enclosing surface, but the lower-band subspace must remain separated from the higher bands everywhere on the surface.
Why is a conventional band-structure plot insufficient? A conventional band-structure plot shows the electronic energies only along selected one-dimensional paths through the Brillouin zone, such as $\Gamma\rightarrow X\rightarrow M$. A crossing along one of these paths does not reveal whether the degeneracy is isolated in all three momentum directions. For example, consider two Hamiltonians,
\[H_A(\mathbf q) = q_x\sigma_x+q_y\sigma_y+q_z\sigma_z,\] \[H_B(\mathbf q) = q_x\sigma_x+q_y\sigma_y.\]Their eigenenergies are,
\[E_\pm^A(\mathbf q) = \pm\sqrt{q_x^2+q_y^2+q_z^2},\] \[E_\pm^B(\mathbf q) = \pm\sqrt{q_x^2+q_y^2}.\]In model A, the bands cross only at $q_x=q_y=q_z=0$, producing an isolated Weyl point. In model B, the bands cross whenever $q_x=q_y=0$, regardless of $q_z$, producing a nodal line. However, if the band structures are plotted only along the $q_x$ direction with $q_y=q_z=0$, both models give exactly the same dispersion,
\[E_\pm(q_x,0,0)=\pm\vert q_x\vert.\]Both therefore appear as identical X-shaped band crossings along this path, despite having fundamentally different three-dimensional structures. This demonstrates why a conventional band-structure plot alone cannot establish the existence of a Weyl node.
Identifying a Weyl point without Berry-curvature integration. If a crossing is confirmed to be isolated, twofold-degenerate, and linear in all three momentum directions, its topology can be determined from a low-energy effective Hamiltonian. Near the crossing at $\mathbf k_W$, define $\mathbf q=\mathbf k-\mathbf k_W$ and expand the Hamiltonian as,
\[H_{\mathrm{eff}}(\mathbf q) = d_0(\mathbf q)I+ \sum_{i,j=x,y,z}V_{ij}q_j\sigma_i.\]Here, $d_0(\mathbf q)$ describes a possible tilt or overall energy shift, while the $3\times3$ matrix $V$ describes the linear coupling between momentum and the Pauli matrices. For a simple anisotropic Weyl Hamiltonian,
\[H_{\mathrm{eff}}(\mathbf q) = v_xq_x\sigma_x+ v_yq_y\sigma_y+ v_zq_z\sigma_z,\]the coefficient matrix is,
\[V= \begin{pmatrix} v_x&0&0\\ 0&v_y&0\\ 0&0&v_z \end{pmatrix}.\]If $\det V\neq0$, the crossing is an isolated linear Weyl point. Its topological charge can be determined directly from,
\[\chi=\operatorname{sgn}(\det V),\]using the lower-band Berry-curvature and surface-orientation conventions adopted here. For example, if $v_x=2$, $v_y=1$, and $v_z=3$, then $\det V=6>0$, giving $\chi=+1$. Thus, an isolated linear two-band crossing can be identified as a Weyl point from its effective Hamiltonian without explicitly performing Berry-curvature integration.
Why calculate Berry curvature in real materials? In realistic multiband materials, crossings may involve several nearby electronic bands, spin–orbit coupling, or additional magnetic and crystalline symmetries. A crossing may represent a Weyl point, a Dirac point, a nodal line, or a topologically trivial touching. Higher-charge Weyl points can also exhibit nonlinear dispersion, so the simple linear determinant criterion is not universally applicable.
A general approach is to identify a candidate crossing, construct a small closed surface around it, and calculate the Berry-curvature flux of the relevant lower-band subspace. A result of $\chi=\pm1$ confirms a simple Weyl charge, while higher integer values may indicate higher-charge nodes or multiple enclosed crossings. A zero result means that the enclosed net Weyl charge vanishes, although the surface could contain multiple nodes with compensating charges. Care must therefore be taken to isolate individual crossings when determining their charges.
Practical workflow for topological altermagnets. For a candidate periodic altermagnet, DFT or Wannier-interpolated band structures can first be used to locate possible electronic crossings. The surrounding three-dimensional momentum region should then be examined to distinguish isolated crossings from nodal lines or more complicated degeneracies. The role of spin–orbit coupling and magnetic symmetries must also be considered, since crossings present without SOC may become gapped when SOC is included, while others may remain symmetry-protected. For a confirmed isolated linear crossing, the effective two-band Hamiltonian can determine its Weyl charge. More generally, integrating Berry curvature over an enclosing surface provides a direct topological verification.
The essential point is that a band crossing indicates an electronic degeneracy, whereas a Weyl node is a crossing carrying a nonzero topological charge. An isolated, twofold, linear crossing in all three momentum directions is sufficient to establish a simple Weyl point through its effective Hamiltonian, but a crossing observed only along a conventional band-structure path is not. Berry-flux integration remains a general and reliable method for confirming Weyl charges in realistic multiband materials.
Anomalous Hall conductivity. Berry curvature is directly related to the intrinsic anomalous Hall conductivity (AHE). For a periodic system,
\[\sigma_{xy} = -\frac{e^2}{\hbar} \sum_n \int_{\mathrm{BZ}} \frac{d^d k}{(2\pi)^d} f(E_{n\mathbf k}) \Omega_{n,z}(\mathbf k)\]where $f(E_{n\mathbf k})$ is the occupation probability and $d$ is the dimensionality of the system. This shows that the intrinsic Hall conductivity depends on the integrated Berry curvature of the occupied electronic states. For a gapped two-dimensional Chern insulator at zero temperature, the Hall conductance is quantized in units of $e^2/h$, with the sign depending on the convention for Berry curvature. For a three-dimensional metal, the anomalous Hall conductivity is generally not quantized. Importantly, the existence of large local Berry curvature or Weyl points with nonzero topological charges does not automatically guarantee a nonzero macroscopic AHE. Contributions from different regions of the Brillouin zone may cancel because of crystal or magnetic symmetries. This is particularly relevant for altermagnets, where the magnetic symmetry may permit momentum-dependent spin splitting but still forbid certain components of the anomalous Hall conductivity (see the discussed here).
Wilson loops and other topological invariants. Another commonly used approach is the Wilson-loop method, which tracks the evolution of the occupied electronic subspace around closed paths in momentum space. Numerically, this involves multiplying overlap matrices between occupied eigenstates at successive $\mathbf{k}$ points. The eigenphases of the Wilson-loop matrix can be interpreted in terms of hybrid Wannier charge centers. By studying how these phases evolve, topological invariants such as the $Z_2$ indices of time-reversal-symmetric insulators can be obtained. For magnetic materials, however, the applicable invariant depends on the remaining symmetries. A conventional time-reversal-protected $Z_2$ invariant cannot simply be assumed to apply to an altermagnet that breaks time-reversal symmetry. Depending on its magnetic and crystalline symmetries, the relevant characterization may instead involve Chern numbers, mirror Chern numbers, magnetic symmetry indicators, or invariants protected by particular combined symmetries. The TB Hamiltonian can also be used to study surface states. For example, a finite slab Hamiltonian or a surface Green’s-function calculation can reveal surface electronic bands and Fermi arcs associated with Weyl semimetals. The results depend on the surface orientation and termination, as well as the bulk electronic structure.
Note about Wilson-loop calculations and hybrid Wannier centers
The Wilson-loop method is widely used to characterize the topology of electronic bands. It is closely related to the calculation of Berry phases discussed earlier, but instead of calculating the Berry phase around a small plaquette in momentum space, a Wilson loop follows a closed path that may extend across the entire Brillouin zone. For multiple occupied bands, the method retains the full overlap matrix between electronic states, providing information beyond the total Berry phase.
Constructing a Wilson loop. Consider a two-dimensional crystal and choose a closed path along $k_x$ at a fixed $k_y$. The path goes across one reciprocal-lattice period, with its two endpoints identified by Bloch periodicity. At each momentum point $\mathbf{k}_i$ along the path, the tight-binding Hamiltonian is diagonalized to obtain the occupied eigenvectors,
\[H(\mathbf{k}_i)\vert u_{n\mathbf{k}_i}\rangle =E_n(\mathbf{k}_i)\vert u_{n\mathbf{k}_i}\rangle.\]Suppose there are two occupied bands. For each pair of neighboring momentum points, construct a $2\times2$ overlap matrix,
\[M_i= \begin{pmatrix} \langle u_{1,i+1}\vert u_{1,i}\rangle& \langle u_{1,i+1}\vert u_{2,i}\rangle\\ \langle u_{2,i+1}\vert u_{1,i}\rangle& \langle u_{2,i+1}\vert u_{2,i}\rangle \end{pmatrix},\]where $u_{n,i}$ is shorthand for $u_{n\mathbf{k}_i}$. The diagonal elements describe overlaps between corresponding states, while the off-diagonal elements account for mixing between different occupied states as momentum changes. The Wilson-loop matrix is constructed by multiplying these overlap matrices in the order of the path,
\[W(k_y)=M_{N-1}M_{N-2}\cdots M_1M_0.\]The final overlap closes the path across the periodic boundary of the Brillouin zone. In practical calculations, the overlap matrices are often replaced by their unitary parts to improve numerical accuracy. In the continuum limit, the Wilson-loop matrix is unitary and its eigenvalues can be written as,
\[\lambda_n(k_y)=e^{i\theta_n(k_y)}.\]The angles $\theta_n(k_y)$ are called the Wilson-loop eigenphases. They are defined modulo $2\pi$ and are gauge-invariant as a set, even though the individual occupied eigenvectors can be mixed by arbitrary unitary transformations.
Connection to Wannier functions. A hybrid Wannier function is obtained by Fourier-transforming the Bloch states along one momentum direction, for example $k_x$, while keeping $k_y$ fixed. The resulting function is localized along $x$ but remains Bloch-like along $y$. The Wilson-loop eigenphases determine the positions of the corresponding hybrid Wannier centers,
\[\frac{\bar{x}_n(k_y)}{a_x} =\frac{\theta_n(k_y)}{2\pi}\pmod 1,\]using a consistent convention for the Bloch states and Wilson-loop orientation. For example, a phase $\theta_n=\pi$ corresponds to a Wannier center at half a lattice constant, modulo $a_x$.
How is topology obtained? Repeating the Wilson-loop calculation for different values of $k_y$ gives a set of curves $\theta_n(k_y)$, called the Wilson-loop spectrum or Wannier charge center evolution. The topology is characterized by how these curves evolve across the Brillouin zone. For example, their total winding determines the Chern number of a gapped occupied subspace, while their connectivity can reveal a time-reversal-protected $Z_2$ invariant. Wilson loops may also be calculated within particular symmetry sectors to investigate crystalline topology, provided those sectors are well-defined.
The essential difference from the earlier Berry-phase calculation is that a Chern-number plaquette calculation uses the determinant of the occupied-band overlap matrices to obtain one total Berry phase, whereas a Wilson-loop calculation retains the full matrix and examines its eigenphases. These eigenphases describe the evolution of hybrid Wannier centers and can reveal topological properties of the electronic bands.
Note about calculating the $Z_2$ invariant from Wilson-loop evolution
For a two-dimensional time-reversal-symmetric insulator with spinful electrons, the conventional $Z_2$ invariant distinguishes a trivial insulator from a quantum spin Hall insulator. Unlike the Chern number, which is an integer, the $Z_2$ invariant has only two possible values: $\nu=0$ (trivial) and $\nu=1$ (nontrivial). The Wilson-loop method determines this invariant by examining how the hybrid Wannier centers evolve across half of the Brillouin zone.
Why examine half of the Brillouin zone? Consider Wilson loops calculated along $k_x$, with their eigenphases plotted against $k_y$. Time-reversal symmetry relates the occupied states at $k_y$ and $-k_y$. Therefore, it is sufficient to examine the interval from $k_y=0$ to $k_y=\pi/a_y$. At these two endpoints, the Wilson-loop eigenphases occur in degenerate Kramers pairs, reflecting the spinful time-reversal symmetry with $\mathcal T^2=-1$.
Between these endpoints, the eigenphases can separate and evolve. Their connectivity reveals whether the system is topologically trivial or nontrivial.
Trivial and nontrivial evolution. Consider the simplest example with two occupied bands forming one Kramers pair. At $k_y=0$, suppose their Wilson-loop phases are both zero. In a trivial evolution, the two phases can separate and then return to their original position at $k_y=\pi/a_y$, without nontrivial winding. In a nontrivial evolution, one phase can increase continuously from $0$ to $\pi$, while the other decreases from $0$ to $-\pi$. Since Wilson-loop phases are periodic modulo $2\pi$, the endpoints $\pi$ and $-\pi$ represent the same Wannier-center position, so the required degeneracy at $k_y=\pi/a_y$ is preserved. However, the trajectories have a different connectivity from the trivial case.
In systems with several Kramers pairs, this nontrivial connectivity is commonly described as Kramers partner switching: states belonging to one pair at one time-reversal-invariant momentum connect to states belonging to different pairs at the other. An odd parity of such partner switching characterizes $\nu=1$.
Counting crossings. A practical way to determine the $Z_2$ invariant is to choose a horizontal reference phase and count how many times the Wannier-center trajectories cross it as $k_y$ varies from $0$ to $\pi/a_y$. The reference phase must avoid the Wannier centers at the two endpoints, and crossings are counted with a consistent periodic-phase convention. The invariant is then determined by the parity of the number of crossings,
\[\nu=N_{\mathrm{crossings}}\bmod 2.\]For example, consider a schematic evolution where both phases start at zero. If the phases separate slightly and return to zero without crossing the reference phase $\theta_{\mathrm{ref}}=\pi/2$, the crossing count is zero, giving $\nu=0$. If one phase increases continuously from $0$ to $\pi$ while the other decreases from $0$ to $-\pi$, the reference phase $\pi/2$ is crossed once, giving $\nu=1$.
The reference phase $\pi/2$ is chosen only for convenience; it has no special physical significance. Other suitable reference phases can give different crossing counts, but the odd or even parity remains unchanged. In practical calculations involving many occupied bands, a more robust approach is often to identify a gap between neighboring Wilson-loop phases at each $k_y$ and track a reference within those gaps.
What is a gap in the Wilson-loop spectrum? At a fixed $k_y$, the Wilson-loop calculation produces discrete phases $\theta_1,\theta_2,\ldots$, which can be viewed as points on a circle because phases differing by $2\pi$ are equivalent. A Wilson-loop gap is simply an empty arc between neighboring phase points. For example, if two phases are $-0.3\pi$ and $+0.3\pi$, the phase circle contains two empty arcs: a shorter arc passing through $0$ and a longer arc passing through the equivalent points $\pi$ and $-\pi$. These are gaps between Wannier-center phases, not energy gaps between electronic bands. The existence of such gaps is not itself evidence of nontrivial topology; the important information is how the phases and their gaps evolve as $k_y$ changes.
Physical meaning and limitations. A nontrivial $Z_2$ invariant indicates that the occupied electronic states have a topologically nontrivial time-reversal structure, reflected in the connectivity of their hybrid Wannier centers. This is consistent with the earlier discussion of the topological obstruction: exponentially localized Wannier functions can exist for the complete occupied subspace of a $Z_2$ insulator, but they cannot be chosen as globally smooth, periodic, fixed time-reversal pairs when $\nu=1$.
The conventional $Z_2$ invariant discussed here requires spinful time-reversal symmetry. Since altermagnets generally break ordinary time-reversal symmetry, this classification cannot automatically be applied to an altermagnetic system. Depending on the remaining magnetic and crystalline symmetries, other invariants, including Chern numbers, mirror Chern numbers, or invariants protected by combined symmetries, may instead be appropriate.
Altermagnetic band structures. For an altermagnet, the effects of magnetic ordering and SOC need to be considered explicitly. In a collinear calculation without SOC, the Hamiltonian can often be separated into two independent spin sectors,
\[H(\mathbf k)= \begin{pmatrix} H_\uparrow(\mathbf k)&0\\ 0&H_\downarrow(\mathbf k) \end{pmatrix}\]The momentum-dependent altermagnetic spin splitting can then be investigated by comparing the electronic bands in the two spin sectors. When SOC is included, the spin sectors generally become coupled, and the eigenstates no longer need to have definite spin-up or spin-down character. Spin expectation values, such as,
\[\langle S_z\rangle_{n\mathbf k} = \langle u_{n\mathbf k}| \hat S_z |u_{n\mathbf k}\rangle\]can then be used to characterize the spin polarization of the bands. A useful strategy is therefore to construct TB models both with and without SOC. This helps distinguish nonrelativistic altermagnetic spin splitting from SOC-induced changes to band crossings, nodal structures, Berry curvature, and topological properties. The interpretation of these results must also account for the relevant magnetic space-group symmetries, which determine which degeneracies and topological features can be protected.
Disordered systems
The topological calculations discussed above primarily assume periodic crystals, where crystal momentum $\mathbf{k}$ is a good quantum number. However, for realistic materials, local atomic arrangements and magnetic correlations may differ from the ideal average structure. Such disorder can modify onsite energies, hopping interactions, band crossings, and topological properties. For a large configuration without primitive translational symmetry, the Hamiltonian is naturally expressed in real space,
\[H= \sum_{i,j}\sum_{\alpha,\beta} t_{i\alpha,j\beta} c^\dagger_{i\alpha}c_{j\beta}\]where $i,j$ label atomic sites, $\alpha,\beta$ label orbital and spin states, and $t_{i\alpha,j\beta}$ describes onsite and hopping matrix elements. Unlike in an ideal periodic crystal, these matrix elements may vary from one region to another because of differences in local structural and magnetic environments. This makes real-space TB Hamiltonians especially interesting for connecting experimentally determined local correlations with electronic and topological properties.
Note about the connection between periodic and disordered tight-binding Hamiltonians
The tight-binding (TB) Hamiltonian for a disordered system has the same physical origin as the Wannier-based TB Hamiltonian introduced earlier. Both describe electronic onsite energies and hopping interactions between localized orbitals. The apparent difference comes from the mathematical notation and the treatment of translational symmetry: the periodic formulation defines Hamiltonian matrix elements between Wannier functions, while the disordered formulation expresses the entire Hamiltonian using electron creation and annihilation operators, without assuming that the matrix elements repeat periodically.
Starting from Wannier functions. For a periodic crystal, the Hamiltonian matrix elements are defined as,
\[H_{mn}(\mathbf R) = \langle w_{m\mathbf 0}\vert \hat H_{\mathrm{KS}} \vert w_{n\mathbf R}\rangle,\]where $m,n$ label Wannier orbitals within a unit cell and $\mathbf R$ specifies the displacement between unit cells. Translational symmetry means that the same matrix element applies to any two cells separated by the same displacement,
\[\langle w_{m\mathbf R_i}\vert \hat H_{\mathrm{KS}} \vert w_{n\mathbf R_j}\rangle = H_{mn}(\mathbf R_j-\mathbf R_i).\]Thus, in a periodic crystal, onsite energies and hopping parameters depend on the orbital indices and relative cell displacement, rather than the absolute positions of the cells.
Writing the complete TB Hamiltonian. Using these matrix elements, the Hamiltonian operator within the selected Wannier subspace can be written as,
\[\hat H_{\mathrm{TB}} = \sum_{i,j}\sum_{m,n} H_{mn}(\mathbf R_j-\mathbf R_i) \vert w_{m\mathbf R_i}\rangle \langle w_{n\mathbf R_j}\vert.\]The outer product of the Wannier states represents an operator that transfers electronic amplitude from orbital $n$ in cell $j$ to orbital $m$ in cell $i$. Instead of writing this operator using Wannier basis states, one can introduce electron creation and annihilation operators. Here, $c^\dagger_{im}$ creates an electron in orbital $m$ of cell $i$, while $c_{jn}$ annihilates an electron in orbital $n$ of cell $j$. The Hamiltonian can then be written in second-quantized notation as,
\[\hat H_{\mathrm{TB}} = \sum_{i,j}\sum_{m,n} H_{mn}(\mathbf R_j-\mathbf R_i) c^\dagger_{im}c_{jn}.\]This describes the same one-electron TB Hamiltonian, expressed in a form that also acts naturally on many-electron states.
Introducing disorder. In a disordered system, local atomic arrangements, orbital environments, and magnetic configurations can differ from one region to another. Consequently, even couplings between nominally equivalent orbitals may differ because of their local environments. We therefore label the localized orbitals directly by their sites and internal orbital/spin indices, defining,
\[t_{i\alpha,j\beta} = \langle w_{i\alpha}\vert \hat H \vert w_{j\beta}\rangle.\]Here, $i,j$ identify sites or localized Wannier centers, while $\alpha,\beta$ identify the associated orbital and spin states. The complete Hamiltonian becomes,
\[\hat H = \sum_{i,j}\sum_{\alpha,\beta} t_{i\alpha,j\beta} c^\dagger_{i\alpha}c_{j\beta}.\]This is the same TB Hamiltonian structure as before. The essential difference is that $t_{i\alpha,j\beta}$ can now depend on the specific local environments of sites $i$ and $j$, rather than only their relative displacement.
A simple example. Consider three sites with one orbital per site and only nearest-neighbor hopping. For identical onsite energies $\epsilon$ and hopping parameters $t$, the Hamiltonian matrix for an open three-site segment is,
\[H_{\mathrm{ideal}}= \begin{pmatrix} \epsilon&t&0\\ t&\epsilon&t\\ 0&t&\epsilon \end{pmatrix}.\]If the local environments differ, the onsite energies and hopping parameters may become site-dependent,
\[H_{\mathrm{disordered}}= \begin{pmatrix} \epsilon_1&t_{12}&0\\ t_{12}^*&\epsilon_2&t_{23}\\ 0&t_{23}^*&\epsilon_3 \end{pmatrix}.\]Both matrices can be represented by the same second-quantized expression,
\[\hat H=\sum_{i,j}t_{ij}c_i^\dagger c_j.\]The mathematical structure has not changed; only the values of the onsite and hopping matrix elements are different.
Computational consequence. For a periodic crystal, translational symmetry allows the Wannier hopping parameters to be Fourier-transformed into a small momentum-space Hamiltonian,
\[H_{mn}(\mathbf k)= \sum_{\mathbf R}H_{mn}(\mathbf R) e^{i\mathbf k\cdot\mathbf R}.\]For a disordered configuration without primitive translational symmetry, the same reduction to a primitive-cell Hamiltonian is generally unavailable. Instead, a large real-space TB matrix is constructed using the environment-dependent onsite and hopping parameters. The matrix can still be sparse because localized Wannier orbitals typically have significant couplings only over limited distances. These environment-dependent matrix elements can be obtained or approximated through first-principles supercell calculations, physical TB parameterizations, or machine-learned Hamiltonians.
The essential point is that periodic and disordered TB Hamiltonians are not two different models. They use the same localized-orbital basis and the same physical matrix elements. The disordered formulation simply removes the assumption that these matrix elements repeat identically throughout the crystal.
Note about matrix elements and matrix blocks in a tight-binding Hamiltonian
In a tight-binding (TB) Hamiltonian, it is important to distinguish between an individual Hamiltonian matrix element, a matrix block describing the couplings between two atomic sites, and the complete Hamiltonian matrix. These are different levels of representation of the same electronic system.
Matrix elements and matrix blocks. Consider a system in which each atomic site has two localized orbitals, $a$ and $b$. The Hamiltonian matrix elements between orbitals on sites $i$ and $j$ are,
\[t_{i\alpha,j\beta} = \langle w_{i\alpha}\vert \hat H \vert w_{j\beta}\rangle,\]where $\alpha,\beta$ identify individual orbitals. Each $t_{i\alpha,j\beta}$ is a single number, describing the coupling between orbital $\beta$ on site $j$ and orbital $\alpha$ on site $i$. By collecting all possible orbital combinations between the two sites, we obtain a matrix block,
\[H_{ij}= \begin{pmatrix} t_{ia,ja}&t_{ia,jb}\\ t_{ib,ja}&t_{ib,jb} \end{pmatrix}.\]Therefore, $H_{ij}$ is a $2\times2$ matrix, while each $t_{i\alpha,j\beta}$ is an individual matrix element. If spin is also included, with two spin states for each orbital, the local basis becomes ${a\uparrow,a\downarrow,b\uparrow,b\downarrow}$, and $H_{ij}$ becomes a $4\times4$ matrix.
Constructing the full Hamiltonian. For a system containing three atomic sites, the complete Hamiltonian can be expressed as a matrix of blocks,
\[H= \begin{pmatrix} H_{11}&H_{12}&H_{13}\\ H_{21}&H_{22}&H_{23}\\ H_{31}&H_{32}&H_{33} \end{pmatrix}.\]If each site contains two orbitals, every $H_{ij}$ is $2\times2$, so the full Hamiltonian is $6\times6$. The diagonal blocks $H_{ii}$ contain onsite energies and couplings between orbitals on the same site, while the off-diagonal blocks $H_{ij}$, with $i\neq j$, describe hopping and orbital coupling between different sites. For a Hermitian Hamiltonian, the blocks satisfy $H_{ji}=H_{ij}^{\dagger}$.
Connection to the earlier Wannier formulation. In the periodic Wannier-based TB model, the matrix elements were defined as,
\[H_{mn}(\mathbf R) = \langle w_{m\mathbf0}\vert \hat H \vert w_{n\mathbf R}\rangle.\]Here, $H_{mn}(\mathbf R)$ is an individual matrix element because $m$ and $n$ already specify particular Wannier orbitals. If these elements are collected over all orbital combinations between two unit cells, they form a hopping matrix $H(\mathbf R)$. Similarly, for the disordered-system notation, the individual matrix elements are collected into site-to-site blocks according to,
\[(H_{ij})_{\alpha\beta} = t_{i\alpha,j\beta} = \langle w_{i\alpha}\vert \hat H \vert w_{j\beta}\rangle.\]The essential distinction is that $t_{i\alpha,j\beta}$ is a single matrix element, $H_{ij}$ is a matrix block containing all orbital and spin couplings between sites $i$ and $j$, and $H$ is the complete Hamiltonian matrix assembled from these blocks. If each site contains only one basis state, each $H_{ij}$ reduces to a $1\times1$ block, effectively a single matrix element.
Note about the matrix expansion of a Hamiltonian operator
A Hamiltonian can be represented either as a matrix in a chosen basis or as an operator expressed using the corresponding basis states. These two representations contain exactly the same information. For an orthonormal basis ${\vert a\rangle}$, the general relationship is,
\[\hat H= \sum_{a,b}H_{ab}\vert a\rangle\langle b\vert,\]where $H_{ab}=\langle a\vert\hat H\vert b\rangle$ is the Hamiltonian matrix element between basis states $a$ and $b$. The expression $\vert a\rangle\langle b\vert$ is called an outer product and represents an operator, rather than a scalar.
A concrete two-orbital example. Consider the Hamiltonian matrix,
\[H= \begin{pmatrix} 2&-1\\ -1&3 \end{pmatrix}.\]In a two-orbital TB model, the diagonal entries $2$ and $3$ are onsite energies, while the off-diagonal entries $-1$ describe hopping between the two orbitals. Choose the orthonormal basis states,
\[\vert1\rangle= \begin{pmatrix}1\\0\end{pmatrix}, \qquad \vert2\rangle= \begin{pmatrix}0\\1\end{pmatrix}.\]Their corresponding bra vectors are,
\[\langle1\vert= \begin{pmatrix}1&0\end{pmatrix}, \qquad \langle2\vert= \begin{pmatrix}0&1\end{pmatrix}.\]Understanding the outer product. Unlike an inner product, which produces a number, the outer product of a column vector and a row vector produces a matrix. For example,
\[\begin{aligned} \vert1\rangle\langle2\vert &= \begin{pmatrix}1\\0\end{pmatrix} \begin{pmatrix}0&1\end{pmatrix}\\ &= \begin{pmatrix}0&1\\0&0\end{pmatrix}. \end{aligned}\]Similarly, the four possible outer products are,
\[\begin{aligned} \vert1\rangle\langle1\vert &=\begin{pmatrix}1&0\\0&0\end{pmatrix}, \qquad \vert1\rangle\langle2\vert =\begin{pmatrix}0&1\\0&0\end{pmatrix},\\[6pt] \vert2\rangle\langle1\vert &=\begin{pmatrix}0&0\\1&0\end{pmatrix}, \qquad \vert2\rangle\langle2\vert =\begin{pmatrix}0&0\\0&1\end{pmatrix}. \end{aligned}\]Each outer product generates a matrix with a single nonzero entry at position $(a,b)$. Therefore, any $2\times2$ matrix can be reconstructed by multiplying these outer products by the corresponding matrix elements and adding them together.
Reconstructing the Hamiltonian. For the example above, the operator expansion becomes,
\[\begin{aligned} \hat H={}& 2\vert1\rangle\langle1\vert -\vert1\rangle\langle2\vert\\ &-\vert2\rangle\langle1\vert +3\vert2\rangle\langle2\vert. \end{aligned}\]Substituting the outer-product matrices gives,
\[\begin{aligned} H={}& 2\begin{pmatrix}1&0\\0&0\end{pmatrix} -\begin{pmatrix}0&1\\0&0\end{pmatrix}\\ &-\begin{pmatrix}0&0\\1&0\end{pmatrix} +3\begin{pmatrix}0&0\\0&1\end{pmatrix}\\ ={}& \begin{pmatrix}2&-1\\-1&3\end{pmatrix}. \end{aligned}\]Thus, the operator expansion reproduces exactly the original Hamiltonian matrix.
Physical meaning of the outer product. Consider an arbitrary electronic state,
\[\vert\psi\rangle=x\vert1\rangle+y\vert2\rangle.\]Applying the operator $\vert1\rangle\langle2\vert$ gives,
\[\begin{aligned} \vert1\rangle\langle2\vert\psi\rangle &=\vert1\rangle \left( x\langle2\vert1\rangle+ y\langle2\vert2\rangle \right)\\ &=y\vert1\rangle. \end{aligned}\]The bra $\langle2\vert$ extracts the amplitude $y$ associated with orbital 2, while the ket $\vert1\rangle$ places that amplitude into orbital 1. Therefore, $\vert1\rangle\langle2\vert$ can be interpreted as an operator transferring electronic amplitude from orbital 2 to orbital 1. This explains why off-diagonal terms represent hopping interactions, while diagonal terms represent onsite contributions.
Applying the complete Hamiltonian gives,
\[\hat H\vert\psi\rangle =(2x-y)\vert1\rangle+ (-x+3y)\vert2\rangle,\]which is identical to ordinary matrix multiplication,
\[\begin{pmatrix} 2&-1\\ -1&3 \end{pmatrix} \begin{pmatrix}x\\y\end{pmatrix} = \begin{pmatrix}2x-y\\-x+3y\end{pmatrix}.\]Why does the general expansion work? For a complete orthonormal basis, the identity operator can be written as,
\[\hat I=\sum_a\vert a\rangle\langle a\vert.\]Inserting this identity on both sides of the Hamiltonian gives,
\[\begin{aligned} \hat H &=\hat I\hat H\hat I\\ &=\left(\sum_a\vert a\rangle\langle a\vert\right) \hat H \left(\sum_b\vert b\rangle\langle b\vert\right)\\ &=\sum_{a,b} \langle a\vert\hat H\vert b\rangle \vert a\rangle\langle b\vert\\ &=\sum_{a,b} H_{ab}\vert a\rangle\langle b\vert. \end{aligned}\]This provides the general mathematical justification for the matrix expansion.
Connection to Wannier-based tight-binding models. In a TB model, the abstract basis states $\vert a\rangle$ and $\vert b\rangle$ are replaced by localized Wannier functions. The corresponding Hamiltonian matrix element is,
\[H_{ab}= \langle w_a\vert\hat H\vert w_b\rangle.\]Its contribution to the Hamiltonian operator is,
\[H_{ab}\vert w_a\rangle\langle w_b\vert.\]Summing over every pair of Wannier orbitals reconstructs the Hamiltonian projected into the selected Wannier subspace. The equivalent second-quantized representation replaces the outer-product operators, in the one-electron sector, with creation-annihilation combinations,
\[\hat H_{\mathrm{TB}} =\sum_{a,b}H_{ab}c_a^\dagger c_b.\]The essential point is that a Hamiltonian matrix is a collection of matrix elements $H_{ab}$, while the outer products $\vert a\rangle\langle b\vert$ specify how those elements act on electronic states. The operator expansion is simply another representation of ordinary matrix multiplication, and it provides the direct mathematical connection between Wannier matrix elements and the complete TB Hamiltonian.
Machine-learned Hamiltonians. In principle, a TB Hamiltonian for a large disordered configuration could be constructed by performing DFT and Wannierization on the entire configuration. However, for systems containing thousands or tens of thousands of atoms, this is often computationally prohibitive. An alternative is to use machine learning to predict the Hamiltonian matrix elements from local environments. The general workflow becomes,
Small-cell DFT → Wannier Hamiltonians → ML training → Large-supercell TB Hamiltonian
First, DFT calculations are performed for representative configurations involving different local atomic arrangements, magnetic configurations, and structural distortions. Wannierization then provides the corresponding Hamiltonian matrix elements $H_{i\alpha,j\beta}$. These can serve as training data for an ML model that learns a mapping of the form,
\[\text{Local atomic and magnetic environment} \longrightarrow H_{i\alpha,j\beta}\]Once trained, the model can be used to predict the onsite and hopping matrix elements throughout a much larger configuration. The full Hamiltonian is then assembled by placing the predicted matrix blocks at the appropriate atomic and orbital indices. This approach requires a consistent Wannier basis across the training configurations. Otherwise, arbitrary differences in the phases or rotations of Wannier functions can make the matrix elements from different calculations incompatible. Hermiticity and relevant spatial and magnetic symmetries must also be preserved. The resulting Hamiltonian is still large, but because the interactions are primarily local, it can be stored and manipulated as a sparse matrix.
Note about Hermiticity and symmetry constraints in disordered tight-binding Hamiltonians
When constructing tight-binding (TB) Hamiltonians for disordered systems, it is important to distinguish between Hermiticity, which must always be satisfied, and spatial or magnetic symmetries, which should be preserved only if they remain symmetries of the actual atomic and magnetic configuration. This distinction is particularly important for studying how local symmetry breaking modifies the electronic and topological properties of altermagnets.
Hermiticity. Consider the real-space TB Hamiltonian,
\[\hat H=\sum_{i,j}\sum_{\alpha,\beta} t_{i\alpha,j\beta} c^\dagger_{i\alpha}c_{j\beta}.\]For the Hamiltonian to be Hermitian, the matrix elements must satisfy,
\[t_{i\alpha,j\beta} =t_{j\beta,i\alpha}^{*}.\]Equivalently, using the matrix-block notation introduced earlier,
\[H_{ji}=H_{ij}^{\dagger}.\]For example, if the coupling between two orbitals is $t_{12}=0.8+0.2i$, the reverse coupling must be $t_{21}=0.8-0.2i$. This requirement holds regardless of the structural or magnetic symmetry. Hermiticity is a fundamental property of the physical Hamiltonian, not a crystallographic symmetry constraint.
What happens when local disorder breaks symmetry? Consider an ideal crystal with fourfold rotational symmetry $C_{4z}$. If two bonds are related by this rotation, their hopping parameters are constrained by symmetry. In a simple single-orbital model, this may imply,
\[t_x=t_y.\]Now suppose local atomic displacements destroy the fourfold symmetry, reducing the configuration to $P1$. The two bonds are no longer symmetry-equivalent, so their hopping parameters may differ,
\[t_x\neq t_y.\]The Hamiltonian should reflect this difference rather than artificially preserve the rotational symmetry of the ideal structure. In multiorbital and spinful systems, the symmetry relations involve transformations of orbital and spin states, but the underlying principle remains the same: a symmetry constraint applies only when the corresponding operation is a symmetry of the actual configuration.
Local versus average symmetry. A material may have a high-symmetry average crystal structure even though individual local environments have lower symmetry. For example, an average structure may retain $C_{4z}$ symmetry while individual distorted configurations have only $P1$ symmetry. The Hamiltonian of each configuration can break $C_{4z}$, whereas an ensemble containing statistically equivalent rotated configurations can recover fourfold symmetry in its averaged properties. Therefore, local symmetry breaking does not automatically guarantee a nonzero macroscopic anomalous Hall conductivity or other symmetry-sensitive response. Contributions from symmetry-related local environments or domains may cancel upon averaging.
Magnetic symmetries. The same principle applies to magnetic order. In an ideal altermagnet, certain spatial operations combined with spin transformations may relate opposite-spin sublattices. If an actual structural or magnetic distortion destroys one of these operations, the corresponding symmetry constraint should no longer be imposed on the Hamiltonian. However, the remaining magnetic symmetries must be determined from the complete atomic and magnetic configuration, not from the nuclear space group alone. For example, a nonmagnetic $P1$ structure can still preserve time-reversal symmetry, whereas a magnetically ordered configuration may break it.
Symmetry-aware machine-learned Hamiltonians. Suppose a machine-learning model predicts TB matrix elements from local atomic and magnetic environments,
\[\{\mathbf R_i,\text{species}_i,\mathbf m_i\} \xrightarrow{\mathrm{ML}} t_{i\alpha,j\beta}.\]The predicted Hamiltonian must satisfy Hermiticity and any symmetry constraints that remain valid for the input configuration. However, a symmetry-aware model should not force a distorted structure to retain symmetries that have been broken. A useful distinction is between symmetry invariance and equivariance. Invariance means that a symmetry operation leaves a particular configuration and its Hamiltonian unchanged. Equivariance means that transforming an input configuration leads to a consistently transformed Hamiltonian, even when the configuration itself does not possess that symmetry.
For example, if a transformation $g$ rotates an entire configuration $\mathcal C$, an equivariant Hamiltonian model should satisfy, in corresponding orbital and spin bases,
\[H(g\mathcal C) = U_g H(\mathcal C)U_g^\dagger,\]where $U_g$ represents the transformation of the localized orbital and spin basis. This relation does not require $g\mathcal C=\mathcal C$; it only requires the predicted Hamiltonian to transform consistently. An equivariant model can therefore describe a fully distorted $P1$ configuration without artificially restoring its broken symmetries.
The essential point is that Hermiticity must always be preserved, whereas spatial and magnetic symmetry constraints must follow the actual configuration rather than the ideal parent crystal. For disordered altermagnets, this is particularly important because local structural and magnetic symmetry breaking may directly modify spin splitting, Berry curvature, anomalous transport, and topological properties. A model that artificially enforces the ideal crystal symmetry could suppress precisely the effects that the disorder study aims to reveal.
Spectral functions. One question for disordered altermagnets is how the underlying electronic band structure changes in the presence of local disorder. Although momentum is no longer an exact quantum number for a genuinely nonperiodic system, momentum-resolved electronic information can still be obtained by projecting the states onto suitable momentum-like reference states or by unfolding a periodically repeated supercell calculation. For example, the spectral function can be expressed schematically as,
\[A(\mathbf k,E) = -\frac{1}{\pi} \mathrm{Im}\, \mathrm{Tr} \left[ P_{\mathbf k} (E+i\eta-H)^{-1} \right]\]where $P_{\mathbf k}$ projects onto the chosen momentum-resolved subspace and $\eta$ is a small broadening parameter. The resulting spectral function can reveal how the original band structure becomes broadened or modified by disorder. For altermagnets, spin-resolved spectral functions are particularly interesting because they can help investigate whether the momentum-dependent spin splitting survives in realistic structures.
Note about spectral functions and momentum projectors in disordered systems
The spectral function $A(\mathbf k,E)$ describes how electronic states are distributed in energy and momentum. For a perfectly periodic crystal, each electronic eigenstate has a well-defined crystal momentum, and the spectral weight is concentrated along the electronic bands $E_n(\mathbf k)$. In a disordered system, however, the eigenstates generally contain contributions from multiple momenta. The spectral function provides a way to recover momentum-resolved electronic information even when crystal momentum is no longer an exact quantum number.
From band structure to spectral function. In a periodic crystal, diagonalizing the Hamiltonian at each momentum gives,
\[H(\mathbf k)\vert u_{n\mathbf k}\rangle =E_n(\mathbf k)\vert u_{n\mathbf k}\rangle.\]The spectral function can then be expressed as,
\[A(\mathbf k,E)= \sum_n\delta\big(E-E_n(\mathbf k)\big),\]where each delta function represents a sharp spectral peak at the corresponding band energy. Thus, a conventional band-structure plot can be interpreted as a map of the locations of the spectral-weight peaks in momentum and energy.
Introducing disorder. For a disordered configuration, the real-space TB Hamiltonian is diagonalized as,
\[H\vert\psi_\lambda\rangle =E_\lambda\vert\psi_\lambda\rangle.\]The eigenstates $\vert\psi_\lambda\rangle$ are no longer generally associated with individual crystal momenta. Instead, an eigenstate may contain contributions from several momentum-like reference states. To quantify these contributions, the spectral function can be defined as,
\[A(\mathbf k,E) = \sum_\lambda \langle\psi_\lambda\vert P_{\mathbf k} \vert\psi_\lambda\rangle \delta(E-E_\lambda).\]Here, $E_\lambda$ specifies the energy of eigenstate $\lambda$, while $\langle\psi_\lambda\vert P_{\mathbf k}\vert\psi_\lambda\rangle$ measures how much that eigenstate resembles the selected momentum-resolved reference subspace. Therefore, each eigenstate contributes spectral weight at its energy, but this weight may be distributed over multiple momenta.
What is the momentum projector $P_{\mathbf k}$? Consider a one-dimensional chain containing $N$ localized Wannier orbitals, one per site, with orthonormal basis states $\vert j\rangle$. A momentum-like reference state can be constructed as,
\[\vert k\rangle = \frac{1}{\sqrt N} \sum_{j=1}^N e^{ikR_j}\vert j\rangle,\]where $R_j$ denotes the reference lattice position of site $j$. The corresponding momentum projector is,
\[P_k=\vert k\rangle\langle k\vert.\]For an eigenstate of the disordered Hamiltonian,
\[\vert\psi_\lambda\rangle =\sum_j a_{\lambda j}\vert j\rangle,\]its momentum weight is,
\[\begin{aligned} w_\lambda(k) &=\langle\psi_\lambda\vert P_k \vert\psi_\lambda\rangle\\ &=\vert\langle k\vert\psi_\lambda\rangle\vert^2\\ &=\frac1N \left\vert \sum_j a_{\lambda j}e^{-ikR_j} \right\vert^2. \end{aligned}\]The final expression is the squared magnitude of a Fourier transform of the real-space electronic wavefunction. Thus, $P_k$ measures how strongly an electronic state resembles a particular Bloch-like momentum pattern, even though that momentum is not necessarily conserved in the disordered system.
For multiple orbitals per reference unit cell, one can construct a corresponding momentum state for each orbital $\alpha$ and define a projector onto the complete momentum-resolved subspace,
\[P_{\mathbf k} = \sum_\alpha \vert\mathbf k,\alpha\rangle \langle\mathbf k,\alpha\vert.\]The reference states must be chosen consistently, typically using the ideal parent crystal or a reference periodic structure. In a disordered system, the momentum-resolved spectral function therefore depends on this choice of reference.
A concrete two-site example. Consider two localized orbitals with identical onsite energy $\epsilon$ and hopping $t$,
\[H_0= \begin{pmatrix} \epsilon&t\\ t&\epsilon \end{pmatrix}.\]Its eigenstates are the symmetric and antisymmetric combinations,
\[\vert\psi_+\rangle =\frac{\vert1\rangle+\vert2\rangle}{\sqrt2}, \qquad \vert\psi_-\rangle =\frac{\vert1\rangle-\vert2\rangle}{\sqrt2},\]with energies $E_\pm=\epsilon\pm t$. These states can be associated with the two reference momentum patterns $k=0$ and $k=\pi/a$, respectively. Each eigenstate therefore has all its spectral weight at one reference momentum.
Now introduce disorder by changing the onsite energies,
\[H= \begin{pmatrix} \epsilon+\Delta&t\\ t&\epsilon-\Delta \end{pmatrix}.\]The new eigenenergies become,
\[E_\pm=\epsilon\pm\sqrt{t^2+\Delta^2}.\]However, the corresponding eigenvectors are no longer purely symmetric or antisymmetric. For $t>0$, the upper-energy eigenstate has momentum weights,
\[w_+(0)= \frac12\left(1+ \frac{t}{\sqrt{t^2+\Delta^2}}\right),\] \[w_+(\pi/a)= \frac12\left(1- \frac{t}{\sqrt{t^2+\Delta^2}}\right).\]For example, taking $t=1$ and $\Delta=0.6$, the two weights are approximately $0.93$ and $0.07$. The upper eigenstate therefore contributes $93\%$ of its spectral weight to the $k=0$ reference state and $7\%$ to $k=\pi/a$. The lower eigenstate has complementary weights. This illustrates how disorder mixes the momentum character of electronic states without eliminating their well-defined energies.
Connection to Green’s functions. The spectral function is often calculated using the retarded Green’s function,
\[G^R(E)=(E+i\eta-H)^{-1},\]where $\eta>0$ is a small broadening parameter. Using the Hamiltonian eigenstates, the Green’s function can be expanded as,
\[G^R(E)= \sum_\lambda \frac{ \vert\psi_\lambda\rangle \langle\psi_\lambda\vert }{ E+i\eta-E_\lambda }.\]The momentum-resolved spectral function is then,
\[A(\mathbf k,E)= -\frac1\pi\operatorname{Im} \operatorname{Tr} \left[ P_{\mathbf k}(E+i\eta-H)^{-1} \right].\]Substituting the eigenstate expansion gives,
\[A(\mathbf k,E)= \sum_\lambda w_\lambda(\mathbf k) \frac{\eta/\pi} {(E-E_\lambda)^2+\eta^2}.\]Each electronic eigenstate contributes a Lorentzian peak centered at $E_\lambda$, weighted by its momentum character. As $\eta\to0^+$, the Lorentzian becomes a delta function, recovering the earlier expression. The parameter $\eta$ introduces numerical broadening, whereas disorder-induced broadening of momentum-resolved bands arises from the redistribution of spectral weight among states and, in large systems or disorder averages, their energy distributions.
Application to altermagnets. For disordered altermagnets, spin-resolved spectral functions can be constructed by including a spin projector along a chosen quantization axis. The resulting $A_\uparrow(\mathbf k,E)$ and $A_\downarrow(\mathbf k,E)$ can reveal whether the spin-split bands predicted for the ideal crystal remain distinguishable after local atomic and magnetic disorder is introduced. This is particularly useful because a realistic disordered TB Hamiltonian can be studied without assuming primitive translational symmetry. Large sparse-matrix methods, including the Kernel Polynomial Method (KPM), can evaluate spectral quantities without full diagonalization.
The essential point is that the spectral function combines two pieces of information: the energy of an electronic eigenstate and its weight in a selected momentum subspace. The momentum projector $P_{\mathbf k}$ does not require momentum to be conserved; it measures the momentum character of states in a real-space Hamiltonian, allowing the modified electronic band structure of a disordered system to be investigated.
Note about translational symmetry and the independence of Bloch momentum states
In a perfectly periodic crystal, electronic states with different crystal momenta are independent because the Hamiltonian has translational symmetry. Translating the entire crystal by a lattice vector does not change its atomic environment or electronic Hamiltonian. As a result, the Hamiltonian preserves crystal momentum and cannot mix Bloch states with different momenta, except for momenta equivalent modulo a reciprocal lattice vector. This is the fundamental reason electronic band structures can be calculated independently at each $\mathbf k$ point.
A one-dimensional TB example. Consider a periodic chain of identical atoms separated by lattice constant $a$, with one localized orbital per site. Let every site have onsite energy $\epsilon$ and every nearest-neighbor pair have hopping parameter $t$. The Hamiltonian is,
\[\hat H= \epsilon\sum_j\vert j\rangle\langle j\vert +t\sum_j \left( \vert j+1\rangle\langle j\vert+ \vert j\rangle\langle j+1\vert \right).\]For simplicity, consider a finite chain with periodic boundary conditions. A normalized Bloch state is,
\[\vert k\rangle= \frac1{\sqrt N} \sum_j e^{ikja}\vert j\rangle.\]This state is a superposition of localized orbitals whose relative phases are determined by the momentum $k$. Applying the Hamiltonian to one localized orbital gives,
\[\hat H\vert j\rangle = \epsilon\vert j\rangle+ t\vert j+1\rangle+ t\vert j-1\rangle.\]Therefore, applying the Hamiltonian to the Bloch state gives,
\[\hat H\vert k\rangle = \frac1{\sqrt N}\sum_j e^{ikja} \left( \epsilon\vert j\rangle+ t\vert j+1\rangle+ t\vert j-1\rangle \right).\]Because the chain is periodic, the summation indices can be shifted without changing the sum. In particular,
\[\sum_j e^{ikja}\vert j+1\rangle = e^{-ika}\sum_j e^{ikja}\vert j\rangle,\]and,
\[\sum_j e^{ikja}\vert j-1\rangle = e^{ika}\sum_j e^{ikja}\vert j\rangle.\]Substituting these results gives,
\[\begin{aligned} \hat H\vert k\rangle &= [\epsilon+te^{ika}+te^{-ika}] \vert k\rangle\\ &= [\epsilon+2t\cos(ka)]\vert k\rangle. \end{aligned}\]Therefore, $\vert k\rangle$ is an eigenstate of the Hamiltonian with energy,
\[E(k)=\epsilon+2t\cos(ka).\]The important observation is that applying the Hamiltonian to a state with momentum $k$ produces the same momentum state multiplied by its energy. It does not generate a state with a different momentum $k’$.
Why do different momenta not couple? For two distinct allowed momenta $k_1$ and $k_2$, the corresponding Bloch states are orthogonal,
\[\langle k_2\vert k_1\rangle=0, \qquad k_1\neq k_2.\]Since $\hat H\vert k_1\rangle=E(k_1)\vert k_1\rangle$, their Hamiltonian matrix element is,
\[\begin{aligned} \langle k_2\vert\hat H\vert k_1\rangle &=E(k_1)\langle k_2\vert k_1\rangle\\ &=0. \end{aligned}\]This shows explicitly that different momentum sectors do not couple in a periodic system. For a crystal with multiple orbitals and spin states per unit cell, the Hamiltonian can still mix those internal states at the same momentum, but cannot mix different momentum sectors. Consequently, the complete Hamiltonian becomes block-diagonal in momentum space,
\[H= \begin{pmatrix} H(k_1)&0&0\\ 0&H(k_2)&0\\ 0&0&H(k_3) \end{pmatrix}.\]Each block $H(k_i)$ describes the orbital and spin couplings at one momentum. This is why Bloch band calculations only require diagonalizing a relatively small Hamiltonian independently at each $\mathbf k$ point.
What happens when disorder breaks translational symmetry? Suppose one site, located at $R_{j_0}$, has an onsite energy that differs from the other sites by $\Delta$. The disorder introduces an additional term,
\[\hat V= \Delta\vert j_0\rangle\langle j_0\vert.\]The matrix element of this disorder term between two Bloch states is,
\[\begin{aligned} \langle k_2\vert\hat V\vert k_1\rangle &= \Delta\langle k_2\vert j_0\rangle \langle j_0\vert k_1\rangle\\ &= \frac{\Delta}{N} e^{i(k_1-k_2)R_{j_0}}. \end{aligned}\]Unlike the periodic Hamiltonian, this expression is generally nonzero even when $k_1\neq k_2$. Thus, the disorder introduces coupling between previously independent Bloch momentum states. The resulting electronic eigenstates are generally superpositions of different reference momenta,
\[\vert\psi_\lambda\rangle = \sum_k a_\lambda(k)\vert k\rangle.\]The coefficient $a_\lambda(k)$ describes the contribution of momentum $k$ to eigenstate $\lambda$. The momentum-resolved spectral function introduced earlier measures these contributions through their squared magnitudes,
\[A(k,E)= \sum_\lambda \vert a_\lambda(k)\vert^2 \delta(E-E_\lambda).\]The general symmetry explanation. The same principle can be understood using the lattice translation operator $\hat T_{\mathbf R}$. For a periodic Hamiltonian,
\[[\hat H,\hat T_{\mathbf R}]=0.\]This means that the Hamiltonian commutes with lattice translations. Bloch states are eigenstates of the translation operator,
\[\hat T_{\mathbf R}\vert\psi_{n\mathbf k}\rangle = e^{-i\mathbf k\cdot\mathbf R} \vert\psi_{n\mathbf k}\rangle,\]using the convention that $\hat T_{\mathbf R}$ translates a wavefunction by $\mathbf R$. Because the Hamiltonian commutes with translations, it preserves each translation eigenvalue and therefore each crystal-momentum sector. When disorder destroys primitive translational symmetry, the commutation relation generally no longer holds, allowing different primitive-cell momenta to mix.
The essential point is that translational symmetry makes crystal momentum a good quantum number and allows electronic states at different momenta to be solved independently. Disorder can destroy this independence by introducing couplings between momentum sectors. The spectral function then provides a way to describe the resulting distribution of electronic states over energy and reference momentum.
Note about the Green’s-function method for calculating electronic spectral functions
The Green’s-function method provides a way to investigate the electronic energy spectrum of a system without necessarily calculating all its eigenvalues and eigenvectors. It is particularly useful for large disordered tight-binding (TB) Hamiltonians, where conventional diagonalization can become computationally expensive. In the context of disordered materials, the method can be combined with momentum projectors to calculate spectral functions, revealing how electronic bands are modified by local structural and magnetic disorder.
The basic idea. Consider a TB Hamiltonian with two orbitals,
\[H= \begin{pmatrix} 2&-1\\ -1&2 \end{pmatrix}.\]Diagonalizing this matrix gives two electronic energy levels, $E_1=1$ and $E_2=3$. Normally, these energies are obtained by solving $H\vert\psi_n\rangle=E_n\vert\psi_n\rangle$. However, suppose the goal is simply to determine whether electronic states exist near a chosen energy $E$, rather than calculate every eigenstate. The Green’s function provides an alternative approach.
The energy-dependent Green’s function is based on the matrix inverse,
\[G(E)=(E-H)^{-1}.\]Here, $E$ is a trial energy and $H$ is the Hamiltonian matrix, with $E$ understood as multiplying the identity matrix. To understand the idea, consider a single orbital with energy $E_0$, for which the Hamiltonian is simply $H=E_0$. Its Green’s function becomes,
\[G(E)=\frac{1}{E-E_0}.\]As the trial energy approaches the actual eigenenergy $E_0$, the denominator approaches zero and the Green’s function becomes very large. For example, if $E_0=1$, then $G(2)=1$, $G(1.1)=10$, and $G(1.01)=100$. This resembles a resonance: the response becomes particularly strong when the trial energy approaches one of the system’s allowed electronic energies. For a matrix Hamiltonian, the same behavior occurs near each of its eigenenergies.
Why introduce a small imaginary term? In practical calculations, the retarded Green’s function is defined as,
\[G^R(E)=(E+i\eta-H)^{-1},\]where $\eta>0$ is a small energy-broadening parameter and $i$ is the imaginary unit. The imaginary term prevents the matrix inverse from becoming singular at an eigenenergy and selects the retarded, or causal, response. For a single electronic level,
\[G^R(E)=\frac{1}{E-E_0+i\eta}.\]Multiplying the numerator and denominator by the complex conjugate of the denominator gives,
\[G^R(E)= \frac{E-E_0-i\eta} {(E-E_0)^2+\eta^2}.\]Therefore, its imaginary part is,
\[\operatorname{Im}G^R(E) = -\frac{\eta}{(E-E_0)^2+\eta^2}.\]The spectral function is obtained from the negative imaginary part,
\[A(E)=-\frac1\pi\operatorname{Im}G^R(E) = \frac1\pi\frac{\eta}{(E-E_0)^2+\eta^2}.\]This is a Lorentzian peak centered at $E_0$. When the trial energy $E$ approaches $E_0$, the spectral function becomes large, indicating the presence of an electronic state. The parameter $\eta$ controls the peak width: decreasing $\eta$ makes the peak higher and narrower. In the limit $\eta\to0^+$, the Lorentzian approaches a Dirac delta function, $\delta(E-E_0)$. Thus, the imaginary part of the retarded Green’s function identifies where electronic states are located in energy.
Extension to a Hamiltonian matrix. For a general TB Hamiltonian with eigenstates $\vert\psi_\lambda\rangle$ and eigenenergies $E_\lambda$, the Green’s function can be expanded as,
\[G^R(E)= \sum_\lambda \frac{ \vert\psi_\lambda\rangle \langle\psi_\lambda\vert }{ E+i\eta-E_\lambda }.\]This expression shows that the Green’s function contains contributions from all eigenstates, with each contribution becoming large when $E$ approaches its eigenenergy. Taking the trace and negative imaginary part gives the electronic density of states (DOS),
\[D(E)= -\frac1\pi\operatorname{Im} \operatorname{Tr}G^R(E) = \sum_\lambda \frac{\eta/\pi} {(E-E_\lambda)^2+\eta^2}.\]Therefore, the DOS is a sum of Lorentzian peaks centered at the electronic eigenenergies. The Green’s function provides this information through the Hamiltonian matrix, without necessarily requiring explicit calculation of its complete eigensystem.
From density of states to momentum-resolved spectral functions. The DOS tells us how many electronic states are present near an energy $E$, but does not reveal their momentum character. To obtain momentum-resolved information, introduce the momentum projector $P_{\mathbf k}$ discussed earlier. The spectral function is then,
\[A(\mathbf k,E) = -\frac1\pi\operatorname{Im} \operatorname{Tr} \left[ P_{\mathbf k}(E+i\eta-H)^{-1} \right].\]Here, the Green’s function identifies the electronic energy spectrum, while $P_{\mathbf k}$ acts as a filter selecting the contributions associated with a chosen reference momentum. Substituting the eigenstate expansion gives,
\[A(\mathbf k,E) = \sum_\lambda \underbrace{ \langle\psi_\lambda\vert P_{\mathbf k} \vert\psi_\lambda\rangle }_{w_\lambda(\mathbf k)} \frac{\eta/\pi} {(E-E_\lambda)^2+\eta^2}.\]The quantity $w_\lambda(\mathbf k)$ is the momentum-projection weight of eigenstate $\lambda$. For a normalized rank-one reference state $\vert\mathbf k\rangle$, this becomes,
\[w_\lambda(\mathbf k) = \vert\langle\mathbf k\vert\psi_\lambda\rangle\vert^2.\]Therefore, each electronic eigenstate contributes a spectral peak centered at its energy $E_\lambda$, weighted by how strongly it resembles the chosen momentum state. In a periodic crystal, eigenstates have definite crystal momenta and the spectral weight is concentrated along sharp electronic bands. In a disordered system, momentum is generally not conserved, so the same eigenstate can contribute spectral weight at several reference momenta.
A concrete two-site example. Consider two localized orbitals with Hamiltonian,
\[H= \begin{pmatrix} 2+\Delta&-1\\ -1&2-\Delta \end{pmatrix}.\]When $\Delta=0$, the two sites are equivalent. The eigenstates are the symmetric and antisymmetric combinations, corresponding to the reference momentum patterns $k=0$ and $k=\pi/a$, with energies $1$ and $3$, respectively. When disorder is introduced through $\Delta=0.75$, the eigenenergies become $E_-=0.75$ and $E_+=3.25$, while the eigenstates acquire mixed momentum character. Their projection weights are,
\[\begin{aligned} w_-(0)&=0.9,& w_-(\pi/a)&=0.1,\\ w_+(0)&=0.1,& w_+(\pi/a)&=0.9. \end{aligned}\]Consequently, the spectral function at $k=0$ is,
\[\begin{aligned} A(0,E) ={}& 0.9\frac{\eta/\pi}{(E-0.75)^2+\eta^2}\\ &+ 0.1\frac{\eta/\pi}{(E-3.25)^2+\eta^2}. \end{aligned}\]Rather than having spectral weight at only one energy, the $k=0$ reference momentum now receives contributions from both electronic eigenstates. This illustrates how disorder can redistribute electronic spectral weight across different momentum and energy values.
Why is this useful computationally? Although the Green’s function involves a matrix inverse, it is often unnecessary to construct the complete inverse explicitly. For example, to obtain the spectral function for a single normalized momentum reference state $\vert k\rangle$, one can solve the linear equation,
\[(E+i\eta-H)\vert x\rangle=\vert k\rangle.\]The solution satisfies $\vert x\rangle=G^R(E)\vert k\rangle$, and the spectral function follows from,
\[A(k,E)= -\frac1\pi\operatorname{Im} \langle k\vert x\rangle.\]This illustrates how a spectral quantity can be obtained without explicitly diagonalizing the entire Hamiltonian. For large sparse real-space TB Hamiltonians, iterative linear solvers, Lanczos-based approaches, and the Kernel Polynomial Method (KPM) can be used to calculate or approximate related spectral quantities efficiently.
Application to disordered altermagnets. Once a large real-space TB Hamiltonian has been constructed from a realistic atomic and magnetic configuration, the Green’s-function method can be combined with momentum and spin projectors to obtain spin-resolved spectral functions, $A_\uparrow(\mathbf k,E)$ and $A_\downarrow(\mathbf k,E)$. These functions reveal whether the momentum-dependent spin splitting predicted for an ideal altermagnet remains distinguishable when local disorder is introduced. Sharp spectral features indicate well-defined momentum character, whereas broadened or diffuse features can reflect momentum mixing and disorder-induced changes in the electronic spectrum. The artificial broadening controlled by $\eta$ should be distinguished from physical disorder broadening.
The essential point is that the Green’s function provides an energy-dependent description of the electronic system through the Hamiltonian matrix, while the momentum projector selects the desired momentum character. Their combination produces the momentum-resolved spectral function, allowing electronic band-like information to be recovered from large disordered systems without requiring primitive translational symmetry or full Hamiltonian diagonalization.
Kubo–Bastin and KPM. Another important application is calculating transport properties, such as anomalous Hall conductivity, directly from a real-space Hamiltonian. The Kubo–Bastin formalism expresses electrical conductivity using operators such as the Hamiltonian, current or velocity operators, and Green’s functions. Unlike the conventional momentum-space Berry-curvature formulation, it does not require primitive translational symmetry [4]. However, for a large Hamiltonian, directly calculating all eigenvalues and eigenvectors remains expensive. This motivates the use of the Kernel Polynomial Method (KPM), which approximates functions of the Hamiltonian through polynomial expansions, commonly using Chebyshev polynomials. Schematically,
\[f(H)\approx \sum_{n=0}^{M} a_nT_n(\widetilde H)\]where $\widetilde H$ is the Hamiltonian rescaled to an appropriate spectral interval. The Chebyshev polynomials satisfy the recurrence relation,
\[T_{n+1}(\widetilde H) = 2\widetilde H T_n(\widetilde H) - T_{n-1}(\widetilde H)\]This recurrence allows the required quantities to be evaluated through repeated matrix-vector multiplications, avoiding full diagonalization. Since the real-space TB Hamiltonian is sparse, such operations can be carried out efficiently. The combination of Kubo–Bastin and KPM therefore provides a practical approach to calculating anomalous Hall conductivity in large systems containing structural or magnetic disorder.
Note about the Kubo–Bastin method for calculating electrical conductivity
The Kubo–Bastin formalism provides a way to calculate electrical conductivity, including anomalous Hall conductivity, directly from an electronic Hamiltonian. Unlike the conventional momentum-space Berry-curvature formulation, it does not require primitive translational symmetry, making it particularly useful for large disordered tight-binding (TB) systems. The central idea comes from linear-response theory: an external electric field perturbs the electronic system, and the conductivity describes the resulting electrical current.
Connection to the Berry-curvature approach. For an ideal periodic crystal, the intrinsic anomalous Hall conductivity can be calculated by integrating the Berry curvature of occupied electronic bands over the Brillouin zone,
\[\sigma_{xy}^{\mathrm{int}} = -\frac{e^2}{\hbar} \sum_n\int_{\mathrm{BZ}} \frac{d^d\mathbf k}{(2\pi)^d} f_{n\mathbf k}\Omega_{n,z}(\mathbf k),\]where $f_{n\mathbf k}$ is the electronic occupation and $\Omega_{n,z}(\mathbf k)$ is the Berry curvature of band $n$. This approach requires a well-defined periodic Bloch Hamiltonian $H(\mathbf k)$. For a disordered configuration, however, the hopping parameters and magnetic interactions can vary between nominally equivalent local environments, so the original primitive-cell Hamiltonian no longer describes the complete system. Integrating the Berry curvature of the ideal crystal therefore does not directly capture the response of the disordered material.
The idea behind Kubo–Bastin. Rather than calculating Berry curvature at each momentum, Kubo–Bastin evaluates how the electronic current responds to a weak electric field using the complete real-space Hamiltonian. Consider an electric field $E_x$ applied along $x$. The resulting transverse current is described by,
\[j_y=\sigma_{yx}E_x.\]The calculation involves three main ingredients: the real-space Hamiltonian $H$, the velocity operators $v_x$ and $v_y$, and the electronic Green’s functions. The velocity operators describe electronic motion along the corresponding spatial directions and are defined by,
\[v_x=\frac{i}{\hbar}[H,X], \qquad v_y=\frac{i}{\hbar}[H,Y],\]where $X$ and $Y$ are position operators, represented as matrices in the localized-orbital basis, and $[H,X]=HX-XH$ is a commutator. In a simple orthonormal TB basis with orbital positions $x_i$, the velocity matrix elements are,
\[(v_x)_{ij} = \frac{i}{\hbar}(x_j-x_i)t_{ij}.\]This expression has a straightforward interpretation: an electron hopping between two orbitals contributes to motion along $x$ according to the separation between their positions. Importantly, $v_x$ and $v_y$ are matrices representing velocity operators, not ordinary vectors. Their dimensions are the same as those of the Hamiltonian.
The Green’s functions introduced in the spectral-function discussion are,
\[G^{R,A}(E) = (E-H\pm i\eta)^{-1},\]where $R$ and $A$ denote retarded and advanced Green’s functions. They describe the energy-dependent electronic response. The Kubo–Bastin formula combines these Green’s functions, velocity operators, and the energy-resolved operator $\delta(E-H)$ in a trace and an energy integral, weighted by the Fermi–Dirac occupation. Conceptually, the calculation measures how electronic motion along one direction is correlated with the response along another direction. All these operators can be constructed from the real-space Hamiltonian, without assigning a definite crystal momentum to each electronic eigenstate.
What is gained by avoiding translational symmetry? Consider an ideal altermagnet described by a periodic Hamiltonian $H_0(\mathbf k)$. Its Berry-curvature integral gives the intrinsic Hall conductivity of the ideal crystal, provided the magnetic symmetries permit a nonzero response. Now consider a distorted configuration described by,
\[\hat H_{\mathrm{dis}} = \sum_{i,j}\sum_{\alpha,\beta} t_{i\alpha,j\beta} c^\dagger_{i\alpha}c_{j\beta}.\]The onsite energies, hopping parameters, and spin-dependent interactions can differ between local environments. A Kubo–Bastin calculation using this Hamiltonian can directly evaluate how these variations affect the electrical response. For example, it can help determine whether local distortions enhance or suppress the Hall conductivity, how magnetic correlations influence transport, and whether disorder-induced scattering or symmetry breaking changes the response predicted for the ideal material.
Kubo–Bastin does not eliminate the restrictions imposed by symmetry. If the actual configuration retains a symmetry that forbids a particular Hall response, the calculated conductivity must also respect that restriction. Likewise, local symmetry breaking does not necessarily produce a macroscopic Hall response, since contributions from different structural or magnetic domains may cancel upon averaging.
Are the two approaches describing different physics? No. The Berry-curvature formulation and Kubo linear-response theory are closely related. For a clean periodic crystal, the intrinsic Hall contribution obtained from Kubo theory can be rewritten as the familiar Berry-curvature integral. The general real-space formulation remains applicable when disorder destroys the primitive-cell Bloch description. It is also possible to use a large periodically repeated disordered supercell and calculate its Berry curvature, but the real-space method does not require exploiting that artificial supercell periodicity.
Computational considerations. A large real-space TB Hamiltonian may contain tens of thousands or more localized orbitals, making full diagonalization or direct matrix inversion prohibitively expensive. The Kubo–Bastin formula can instead be evaluated using numerical approaches such as the Kernel Polynomial Method (KPM), which approximates the necessary energy-dependent matrix functions using sparse matrix operations. The physical effects included in the calculated conductivity are determined by the Hamiltonian and the response approximation; effects such as electron–phonon scattering require additional treatment unless they are explicitly modeled.
The essential advantage of Kubo–Bastin is not that it calculates a more accurate Berry curvature, but that it calculates the electrical response of the actual modeled Hamiltonian, including structural and magnetic disorder. For disordered altermagnets, this provides a direct connection between experimentally determined local correlations, realistic electronic Hamiltonians, and anomalous transport properties.
Note about the Kernel Polynomial Method (KPM) and sparse Hamiltonian calculations
The Kernel Polynomial Method (KPM) is a numerical technique for calculating electronic spectral and transport properties of large Hamiltonians without explicitly obtaining all their eigenvalues and eigenvectors. It is particularly useful for large real-space TB models, where the Hamiltonian is often sparse because localized orbitals primarily interact with nearby orbitals. KPM is not a separate physical theory of conductivity; rather, it is an efficient computational method for evaluating quantities appearing in formulations such as Kubo–Bastin.
Why use polynomial expansions? Recall that the electronic density of states (DOS) can be expressed as,
\[D(E)=\operatorname{Tr}[\delta(E-H)],\]while the retarded Green’s function is,
\[G^R(E)=(E+i\eta-H)^{-1}.\]Both expressions involve mathematical functions of a matrix: the delta function and the matrix inverse. Directly calculating these functions can be computationally expensive for very large Hamiltonians. KPM instead approximates the required matrix functions using a sum of polynomials, analogous to approximating an ordinary function $f(x)$ using $1,x,x^2,\ldots$.
Rather than ordinary powers, KPM uses Chebyshev polynomials. The Hamiltonian is first rescaled according to,
\[\widetilde H=\frac{H-bI}{a},\]where $a$ and $b$ are chosen so that all eigenvalues of $\widetilde H$ lie within $(-1,1)$. A function of the Hamiltonian can then be approximated as,
\[F(\widetilde H)\approx \sum_{m=0}^{M-1}c_mT_m(\widetilde H),\]where $T_m$ is the Chebyshev polynomial of order $m$, $c_m$ are expansion coefficients, and $M$ is the number of terms retained. The coefficients depend on the particular function being approximated and, for energy-resolved quantities, generally on the chosen energy.
How does the recursion work? The first Chebyshev polynomials are,
\[\begin{aligned} T_0(x)&=1,\\ T_1(x)&=x,\\ T_2(x)&=2x^2-1,\\ T_3(x)&=4x^3-3x. \end{aligned}\]Their important property is that every new polynomial can be calculated from the previous two,
\[T_{m+1}(x)=2xT_m(x)-T_{m-1}(x).\]For example, $T_2(x)=2xT_1(x)-T_0(x)=2x^2-1$. The same relationship holds when $x$ is replaced by the matrix $\widetilde H$,
\[T_{m+1}(\widetilde H) = 2\widetilde H T_m(\widetilde H) - T_{m-1}(\widetilde H).\]However, KPM does not normally construct these polynomial matrices explicitly. Instead, choose a starting vector $\vert r\rangle$ and define,
\[\vert q_m\rangle = T_m(\widetilde H)\vert r\rangle.\]The recursion then becomes,
\[\vert q_{m+1}\rangle = 2\widetilde H\vert q_m\rangle - \vert q_{m-1}\rangle.\]Starting from,
\[\vert q_0\rangle=\vert r\rangle, \qquad \vert q_1\rangle=\widetilde H\vert r\rangle,\]the subsequent vectors are calculated as,
\[\begin{aligned} \vert q_2\rangle &=2\widetilde H\vert q_1\rangle-\vert q_0\rangle,\\ \vert q_3\rangle &=2\widetilde H\vert q_2\rangle-\vert q_1\rangle,\\ \vert q_4\rangle &=2\widetilde H\vert q_3\rangle-\vert q_2\rangle. \end{aligned}\]The crucial computational advantage is that each new vector requires only one multiplication of the Hamiltonian by a vector, followed by simple vector operations. There is no need to calculate $H^2,H^3,\ldots$ or construct the high-order polynomial matrices.
A concrete four-site TB example. Consider a chain with four sites, one orbital per site, zero onsite energies, and nearest-neighbor hopping $0.4$. Its rescaled Hamiltonian is,
\[\widetilde H= \begin{pmatrix} 0&0.4&0&0\\ 0.4&0&0.4&0\\ 0&0.4&0&0.4\\ 0&0&0.4&0 \end{pmatrix}.\]For this example, the eigenvalues already lie within $(-1,1)$. Choose a starting vector concentrated on site 2,
\[\vert q_0\rangle=\vert r\rangle = \begin{pmatrix}0\\1\\0\\0\end{pmatrix}.\]The first multiplication gives,
\[\vert q_1\rangle = \widetilde H\vert q_0\rangle = \begin{pmatrix} 0.4\\0\\0.4\\0 \end{pmatrix}.\]To calculate the next vector, first multiply $\widetilde H$ by $\vert q_1\rangle$,
\[\widetilde H\vert q_1\rangle = \begin{pmatrix} 0\\0.32\\0\\0.16 \end{pmatrix}.\]Applying the recurrence gives,
\[\begin{aligned} \vert q_2\rangle &=2\widetilde H\vert q_1\rangle-\vert q_0\rangle\\ &=2\begin{pmatrix}0\\0.32\\0\\0.16\end{pmatrix} -\begin{pmatrix}0\\1\\0\\0\end{pmatrix}\\ &=\begin{pmatrix}0\\-0.36\\0\\0.32\end{pmatrix}. \end{aligned}\]We have now calculated $T_2(\widetilde H)\vert r\rangle$ without explicitly constructing the matrix $T_2(\widetilde H)$. The same procedure can be repeated for hundreds or thousands of polynomial orders. These vectors are intermediate numerical quantities and should not be interpreted as physical electronic wavefunctions evolving in time.
How are physical quantities obtained? KPM uses the recursively calculated vectors to obtain quantities called Chebyshev moments, defined for a chosen starting state as,
\[\mu_m = \langle r\vert T_m(\widetilde H)\vert r\rangle = \langle r\vert q_m\rangle.\]For the example above,
\[\mu_0=1,\qquad \mu_1=0,\qquad \mu_2=-0.36.\]These numbers describe the energy distribution associated with the starting state. Once the moments are known, the expectation value of the desired matrix function can be approximated by,
\[\begin{aligned} \langle r\vert F(\widetilde H)\vert r\rangle &\approx \sum_{m=0}^{M-1} c_m\langle r\vert T_m(\widetilde H)\vert r\rangle\\ &= \sum_{m=0}^{M-1}c_m\mu_m. \end{aligned}\]For example, choosing $F(\widetilde H)$ to represent an energy-resolved delta function allows the local density of states to be approximated. The calculated moments can be reused to reconstruct the spectrum over many energies by changing the energy-dependent expansion coefficients. Because the polynomial expansion is truncated at a finite order, damping factors, such as those from the Jackson kernel, are commonly introduced to reduce numerical oscillations. Increasing the polynomial order generally improves energy resolution.
Why is the sparse matrix representation important? A TB Hamiltonian containing $N$ orbitals is formally an $N\times N$ matrix. However, if each orbital interacts significantly with only $z$ nearby orbitals, the matrix contains approximately $Nz$ nonzero entries rather than $N^2$. For example, a Hamiltonian with $100{,}000$ orbitals and approximately 20 nonzero entries per row contains about two million nonzero entries, compared with ten billion entries in a dense representation. A sparse matrix-vector multiplication requires operations mainly on these nonzero entries, with approximate cost,
\[O(Nz),\]rather than the $O(N^2)$ cost of dense matrix-vector multiplication. Since every Chebyshev recurrence step primarily requires one such multiplication, KPM can scale efficiently to large, short-ranged TB Hamiltonians. Only a few working vectors are needed during the recurrence, rather than storing all the eigenvectors or polynomial matrices.
Connection to Kubo–Bastin conductivity. Calculating electrical conductivity is more involved than calculating the DOS because it requires correlations between electronic motion in different spatial directions. In a KPM treatment of Kubo–Bastin conductivity, representative Chebyshev moments have the form,
\[\mu_{mn}^{xy} = \operatorname{Tr} \left[ v_xT_m(\widetilde H) v_yT_n(\widetilde H) \right],\]up to normalization conventions. Here, $v_x$ and $v_y$ are velocity-operator matrices, not vectors, and the two polynomial indices $m,n$ reflect the more complicated structure of the conductivity calculation.
Rather than multiplying all the large matrices together, their action can be evaluated successively on a starting vector,
\[\vert r\rangle \xrightarrow{T_n(\widetilde H)} \vert q\rangle \xrightarrow{v_y} \vert s\rangle \xrightarrow{T_m(\widetilde H)} \vert p\rangle \xrightarrow{v_x} \vert z\rangle.\]The corresponding contribution to the trace is then obtained from the inner product $\langle r\vert z\rangle$. To avoid summing over every possible starting basis state, the trace can often be estimated by averaging over suitable random vectors,
\[\operatorname{Tr}(A) \approx \frac1R\sum_{r=1}^{R} \langle\xi_r\vert A\vert\xi_r\rangle,\]where the random vectors are chosen so that their ensemble outer product equals the identity. This is called stochastic trace estimation. The resulting moments are combined with the Kubo–Bastin energy-dependent coefficients and energy integration to calculate the conductivity. Although the conductivity calculation is more demanding than the DOS calculation, the central numerical operations remain sparse matrix-vector multiplications and vector inner products.
Application to disordered altermagnets. KPM provides a practical way to evaluate spectral functions and Kubo–Bastin transport coefficients from large, sparse TB Hamiltonians representing realistic structural and magnetic disorder. These Hamiltonians may be generated from first-principles calculations or machine-learned mappings of local atomic and magnetic environments. The method avoids both primitive translational-symmetry assumptions and the need for full Hamiltonian diagonalization, although accuracy must be checked against the polynomial order, stochastic sampling, system size, and other numerical parameters.
The essential point is that KPM replaces complicated functions of a large Hamiltonian with a Chebyshev polynomial expansion. Its recurrence allows these polynomials to be applied to vectors one step at a time, making sparse matrix-vector multiplication the main computational operation. The resulting moments are then combined to reconstruct electronic spectral quantities or transport coefficients.
Spectral localizer. For topological properties, another useful approach is the spectral localizer [5]. Instead of relying on crystal momentum, the spectral localizer combines the real-space Hamiltonian and position operators into an enlarged matrix. For a two-dimensional system, one possible form is,
\[L_\kappa(\mathbf r_0,E_0)= \begin{pmatrix} H-E_0& \kappa[(X-x_0)-i(Y-y_0)]\\ \kappa[(X-x_0)+i(Y-y_0)]& -(H-E_0) \end{pmatrix}\]where $X$ and $Y$ are the position operators, $\mathbf r_0=(x_0,y_0)$ is the spatial position of interest, $E_0$ is the energy of interest, and $\kappa$ controls the relative scaling of the energy and position terms. For appropriate two-dimensional systems and spectral conditions, a local topological index can be obtained from the signature of the localizer,
\[\nu(\mathbf r_0,E_0) = \frac12\operatorname{sig} L_\kappa(\mathbf r_0,E_0)\]where the signature is the number of positive eigenvalues minus the number of negative eigenvalues, with the overall sign depending on the convention. Another useful quantity is the localizer gap,
\[\mu(\mathbf r_0,E_0) = \min_j|\lambda_j(L_\kappa)|\]which measures how close the localizer is to becoming singular. When the localizer gap remains open, the corresponding index is stable against sufficiently small perturbations. Therefore, the gap can provide information about the robustness of the local topological characterization. This is especially interesting for systems with local structural distortions and magnetic domains. By evaluating the localizer at different spatial positions, it becomes possible to study how local topology changes throughout the configuration and whether topological features remain robust near domain boundaries. The appropriate construction depends on dimensionality and symmetry class. For example, the simple two-dimensional Chern-localizer formula cannot be applied automatically to an arbitrary gapless three-dimensional Weyl system. More specialized constructions or dimensional reductions may be needed.
Note about the spectral localizer for real-space topological characterization
The spectral localizer is a method for characterizing the topology of electronic systems directly from a real-space tight-binding (TB) Hamiltonian, without requiring primitive translational symmetry or a conventional Brillouin zone. Unlike momentum-space approaches that calculate topological invariants using Berry curvature, the spectral localizer combines the electronic Hamiltonian with position operators to investigate topology at a selected spatial location and energy. This makes it particularly useful for studying disordered systems, where local atomic and magnetic configurations may vary across the material.
Why is a real-space approach useful? For a periodic two-dimensional crystal, the Chern number can be calculated by integrating the Berry curvature of the occupied electronic states over the Brillouin zone,
\[C=\frac{1}{2\pi}\int_{\mathrm{BZ}} \Omega_z(\mathbf k)\,d^2\mathbf k.\]However, when local atomic arrangements and magnetic configurations vary throughout a material, the primitive translational symmetry is generally lost. The corresponding real-space Hamiltonian remains well-defined, but the ideal primitive-cell Bloch Hamiltonian $H(\mathbf k)$ no longer describes the entire disordered configuration. The spectral localizer provides an alternative way to investigate certain topological properties directly from the real-space Hamiltonian.
Combining energy and position information. Consider a two-dimensional TB system described by an $N\times N$ Hamiltonian matrix $H$. Suppose the goal is to investigate topology near a selected position $\mathbf r_0=(x_0,y_0)$ and reference energy $E_0$. The method combines three operators,
\[H-E_0I,\qquad X-x_0I,\qquad Y-y_0I,\]where $I$ is the identity matrix and $X,Y$ are the position operators. In a localized-orbital TB approximation, the position operators can be represented by diagonal matrices containing the coordinates of the orbital centers. For example, for three orbitals located at $(0,0)$, $(a,0)$, and $(0,a)$,
\[X= \begin{pmatrix} 0&0&0\\ 0&a&0\\ 0&0&0 \end{pmatrix}, \qquad Y= \begin{pmatrix} 0&0&0\\ 0&0&0\\ 0&0&a \end{pmatrix}.\]The operator $H-E_0I$ measures electronic energy relative to $E_0$, while $X-x_0I$ and $Y-y_0I$ describe spatial displacement relative to the selected location. Since the Hamiltonian generally does not commute with the position operators, these quantities cannot simply be treated as simultaneously defined energy and position coordinates. The spectral localizer combines them in a particular mathematical form that retains the information needed to characterize topology.
Constructing the spectral localizer. For the standard two-dimensional Chern-type problem, the spectral localizer is defined as,
\[L_\kappa(x_0,y_0,E_0)= \begin{pmatrix} H-E_0I& \kappa[(X-x_0I)-i(Y-y_0I)]\\ \kappa[(X-x_0I)+i(Y-y_0I)]& -(H-E_0I) \end{pmatrix}.\]Here, $\kappa$ is a parameter with units of energy per length that balances the energy and spatial contributions. Since each block is $N\times N$, the complete localizer is a $2N\times2N$ Hermitian matrix. The doubling is a mathematical construction and does not introduce additional physical orbitals.
The same expression can be written using Pauli matrices,
\[\begin{aligned} L_\kappa={}& (H-E_0I)\otimes\sigma_z\\ &+\kappa(X-x_0I)\otimes\sigma_x\\ &+\kappa(Y-y_0I)\otimes\sigma_y. \end{aligned}\]This form is related to a Dirac-type operator. To understand its basic meaning, consider the squared localizer. It contains terms of the form,
\[\begin{aligned} Q={}&(H-E_0I)^2\\ &+\kappa^2(X-x_0I)^2\\ &+\kappa^2(Y-y_0I)^2, \end{aligned}\]together with additional terms involving commutators such as $[H,X]$ and $[H,Y]$. The first three terms resemble a combined measure of energy and spatial distance from the selected reference point, while the commutator terms encode the noncommuting relationships between electronic motion and position. Thus, the spectral localizer is not simply an energy or spatial filter; its particular matrix construction allows topological information to be extracted from these operators.
Calculating the topological index. Once the localizer matrix is constructed, its eigenvalues are calculated,
\[L_\kappa\vert\phi_j\rangle =\lambda_j\vert\phi_j\rangle.\]These $\lambda_j$ are eigenvalues of the spectral localizer, not physical electronic band energies. For the standard two-dimensional Chern-type formulation, the localizer index is defined as,
\[\nu_L(x_0,y_0,E_0) = \frac12\operatorname{sig}(L_\kappa),\]where $\operatorname{sig}(L_\kappa)$ is the signature of the Hermitian matrix,
\[\operatorname{sig}(L_\kappa)=N_+-N_-.\]Here, $N_+$ and $N_-$ are the numbers of positive and negative localizer eigenvalues. For example, suppose the original Hamiltonian is $50\times50$, giving a $100\times100$ spectral localizer. If its eigenvalues consist of 50 positive and 50 negative values, the index is $\nu_L=0$. If there are 51 positive and 49 negative eigenvalues, the index becomes,
\[\nu_L=\frac12(51-49)=1.\]Under the appropriate locality, gap, and finite-size conditions, this index corresponds to the Chern topology of the system, up to sign conventions. The underlying mathematical theory establishes why the signature of this particular matrix carries topological information.
Why is the index stable? Suppose the atomic positions or hopping parameters change continuously. The localizer matrix and its eigenvalues also change continuously. However, the signature can change only if an eigenvalue moves from positive to negative or vice versa, which requires it to pass through zero. Therefore, the index remains unchanged as long as the localizer has no zero eigenvalue. This is the basic mathematical origin of its topological stability.
The localizer gap and robustness. In addition to the topological index, the spectral localizer provides a quantity called the localizer gap, defined as,
\[\mu_L(x_0,y_0,E_0) = \min_j\vert\lambda_j(L_\kappa)\vert.\]This is the absolute value of the localizer eigenvalue closest to zero. For example, if the eigenvalues closest to zero are $-0.3$ and $0.4$, then $\mu_L=0.3$. A nonzero localizer gap means that the index cannot change under sufficiently small perturbations. More precisely, if a perturbation changes the localizer by $\delta L_\kappa$ and,
\[\Vert\delta L_\kappa\Vert<\mu_L,\]then no localizer eigenvalue can cross zero, so the index remains unchanged.
Therefore, the two main outputs have different meanings:
- The localizer index $\nu_L$ characterizes the topological phase in the applicable symmetry class.
- The localizer gap $\mu_L$ measures the stability of that index against perturbations.
Importantly, the localizer gap is not the ordinary electronic band gap. It measures the distance of the combined position-energy localizer from having a zero eigenvalue, rather than the separation between electronic bands.
A concrete example: topological and trivial regions. Imagine a finite two-dimensional material containing a Chern-insulating region surrounded by a topologically trivial insulator. Construct the spectral localizer at different spatial locations while keeping $E_0$ fixed inside the relevant bulk energy gaps. Well inside the topological region, the index may be $\nu_L=1$, while well inside the trivial region it may be $\nu_L=0$. Moving the reference position continuously between these regions causes the localizer matrix to change. Since its index must change from 1 to 0, at least one localizer eigenvalue must cross zero somewhere along the transition, causing the localizer gap to close. This provides a real-space way to identify topological regions and their interfaces, illustrating the connection between local topology and bulk–boundary correspondence.
Application to disordered systems. For a realistic disordered configuration, the procedure starts from a large, sparse real-space TB Hamiltonian $H$ and the corresponding orbital-position matrices $X,Y$. After choosing $(x_0,y_0,E_0)$ and an appropriate $\kappa$, the localizer matrix is constructed and its index and gap are calculated. Repeating the calculation at different positions or energies can produce spatially resolved maps,
\[\nu_L(\mathbf r,E), \qquad \mu_L(\mathbf r,E).\]These maps can be used to investigate how local structural and magnetic variations affect topological characteristics. For large sparse matrices, the signature can be evaluated using sparse matrix factorizations that determine the numbers of positive and negative eigenvalues, while eigenvalues near zero can be estimated using iterative methods. Numerical convergence with respect to system size, boundaries, and $\kappa$ must be checked.
Important limitations for three-dimensional altermagnets and Weyl systems. The explicit half-signature formula introduced above is the standard two-dimensional Chern-type construction. It cannot be applied unchanged to an arbitrary three-dimensional Weyl semimetal and interpreted directly as a local Weyl charge. A Weyl point is conventionally characterized by a Chern number on a closed momentum-space surface surrounding the node, while a disordered three-dimensional system may lack a well-defined primitive Brillouin zone. More specialized real-space constructions or complementary calculations are therefore required for three-dimensional gapless topology. Similarly, invariants protected by mirror or other crystalline and magnetic symmetries require the corresponding symmetry conditions or appropriate symmetry-aware formulations. Local disorder that destroys these symmetries can remove the protection of those invariants, whereas Chern topology does not require crystalline symmetry.
Connection to other real-space methods. The spectral localizer complements the spectral-function and Kubo–Bastin methods discussed earlier. The spectral function $A(\mathbf k,E)$ describes the momentum and energy distribution of electronic states, Kubo–Bastin evaluates transport responses such as anomalous Hall conductivity, and the spectral localizer characterizes suitable real-space topological indices and their robustness. These quantities address different aspects of the same disordered Hamiltonian and can provide complementary information about the impact of local atomic and magnetic correlations.
The essential point is that the spectral localizer combines the real-space Hamiltonian and position operators into an enlarged Hermitian matrix. For the two-dimensional Chern-type case, the imbalance between its positive and negative eigenvalues gives a topological index, while its smallest absolute eigenvalue defines a gap that measures the stability of that index. This makes it possible to investigate topological properties locally in disordered systems, provided the appropriate dimensionality, symmetry, and spectral conditions are satisfied.
Note about spectral localizers for three-dimensional Weyl semimetals
The spectral localizer introduced earlier provides a real-space approach to topological characterization, but its application to three-dimensional (3D) Weyl semimetals requires additional considerations. The standard two-dimensional (2D) spectral localizer characterizes Chern topology through the signature of an enlarged Hamiltonian matrix. A 3D Weyl semimetal, however, is generally gapless and has a different topological characterization: individual Weyl nodes carry quantized Berry-flux charges. Consequently, the 2D spectral-localizer formula cannot simply be extended to three dimensions and interpreted as a local Weyl charge.
Weyl charges versus two-dimensional Chern numbers. Consider a Weyl point formed by the crossing of two bands at momentum $\mathbf k_W$. Near the crossing, a simple Weyl Hamiltonian is,
\[H_W(\mathbf q) =v_xq_x\sigma_x+ v_yq_y\sigma_y+ v_zq_z\sigma_z,\]where $\mathbf q=\mathbf k-\mathbf k_W$. The two bands touch at $\mathbf q=0$, making the system locally gapless. However, on a small closed surface $S$ enclosing the node, the lower and higher bands remain separated. The Weyl charge is defined by integrating the Berry curvature of the lower-band subspace over this surface,
\[\chi= \frac{1}{2\pi} \oint_S \boldsymbol{\Omega}_{\mathrm{lower}}(\mathbf k) \cdot d\mathbf S.\]For a simple Weyl point, $\chi=\pm1$, depending on its chirality and the sign convention. This is different from a 2D Chern insulator, where the Chern number is calculated over the entire two-dimensional Brillouin zone. A Weyl charge characterizes a particular band crossing through the Berry flux on a surface surrounding it, rather than the topology of the complete 3D Brillouin zone.
Understanding Weyl nodes through 2D momentum-space slices. A useful alternative interpretation is to regard a periodic 3D Weyl semimetal as a collection of 2D systems indexed by $k_z$. For each fixed $k_z$, the corresponding Hamiltonian is,
\[H_{k_z}(k_x,k_y)=H(k_x,k_y,k_z).\]If the lower-band subspace remains separated from the higher bands throughout a particular slice, its Chern number can be calculated as,
\[C(k_z)= \frac{1}{2\pi} \int_{\mathrm{BZ}_{2D}} \Omega_{\mathrm{lower},z}(k_x,k_y,k_z) \,dk_x\,dk_y.\]For example, consider two Weyl nodes with opposite charges located at $k_z=-k_W$ and $k_z=+k_W$. In a simple model, the slice Chern number may be,
\[C(k_z)= \begin{cases} 0,&k_z<-k_W,\\ 1,&-k_W<k_z<k_W,\\ 0,&k_z>k_W. \end{cases}\]The Chern number changes when the slice passes through a Weyl node, where the two-dimensional band gap closes. The signed change in $C(k_z)$ gives the net Weyl charge crossed between adjacent slices. Thus, a Weyl node can be understood as a point where the topology of successive 2D momentum-space slices changes.
Applying a 2D spectral localizer to a 3D system. If a 3D material retains translational symmetry along $z$, even when it is disordered along $x$ and $y$, the Hamiltonian can be partially Fourier-transformed into independent sectors $H(k_z)$. A 2D spectral localizer can then be constructed for each fixed $k_z$,
\[L_\kappa(k_z)= \begin{pmatrix} H(k_z)-E_0I& \kappa[(X-x_0I)-i(Y-y_0I)]\\ \kappa[(X-x_0I)+i(Y-y_0I)]& -(H(k_z)-E_0I) \end{pmatrix}.\]Under appropriate conditions, its index,
\[\nu_L(k_z)=\frac12\operatorname{sig}[L_\kappa(k_z)],\]characterizes the Chern topology of the corresponding 2D subsystem. By examining how this index changes with $k_z$, Weyl-related topological transitions can be identified. This approach is useful when disorder preserves translation along at least one direction, so that $k_z$ remains a good quantum number.
What if disorder breaks translational symmetry in all three directions? In a fully disordered 3D configuration, $k_z$ is generally no longer a conserved quantum number, so the Hamiltonian cannot be separated into independent $H(k_z)$ sectors. The conventional momentum-space definition of individual Weyl nodes also becomes problematic because exact Bloch momenta are unavailable. The material may still retain Weyl-like spectral and transport characteristics, but these must be described using quantities that remain meaningful without primitive translational symmetry.
A more general 3D spectral localizer combines the Hamiltonian with all three position operators,
\[\begin{aligned} L_\kappa(\mathbf r_0,E_0) ={}& (H-E_0I)\otimes\Gamma_4\\ &+\kappa(X-x_0I)\otimes\Gamma_1\\ &+\kappa(Y-y_0I)\otimes\Gamma_2\\ &+\kappa(Z-z_0I)\otimes\Gamma_3, \end{aligned}\]where $\Gamma_1,\ldots,\Gamma_4$ are matrices satisfying suitable Clifford-algebra relations. This is analogous to the earlier 2D construction, but the topological information cannot generally be obtained by simply applying the 2D half-signature formula to the 3D localizer. In particular, the standard 3D class-A construction does not provide a strong Chern invariant through an imbalance between positive and negative localizer eigenvalues.
Specialized spectral localizers for gapless semimetals. More specialized formulations have been developed for disordered Weyl and Dirac semimetals [1]. Instead of extracting topology from the signature, these methods can use the near-zero eigenvalue spectrum of an appropriately constructed localizer. Under suitable assumptions, the number of near-zero modes is related to the number of Weyl or Dirac nodes. The relevant mathematical construction and its interpretation differ from the ordinary 2D Chern localizer.
It is important to distinguish between counting Weyl nodes and determining their individual charges. For example, two Weyl nodes may carry charges $\chi_1=+1$ and $\chi_2=-1$, giving zero net charge despite the presence of two separate nodes. A semimetal localizer that detects node multiplicity does not necessarily determine the signed chirality of each node. Furthermore, near-zero localizer modes are not universally unique signatures of Weyl topology; their interpretation requires the appropriate mathematical assumptions, as demonstrated by studies of trivial metals with localizer zero modes [3].
What does Weyl topology mean in a disordered system? For a perfectly periodic crystal, Weyl nodes are precisely defined points in momentum space where bands cross. When primitive translational symmetry is destroyed, electronic eigenstates generally mix different momenta, so exact Weyl nodes at well-defined primitive crystal momenta may no longer exist. Nevertheless, weak disorder can preserve recognizable Weyl-like dispersions in the momentum-resolved spectral function $A(\mathbf k,E)$, together with characteristic surface and transport responses. Stronger disorder may broaden these features or drive transitions into other electronic phases. Real-space topological methods are useful because they can probe certain aspects of semimetal topology beyond the conventional band-crossing description.
Implications for disordered topological altermagnets. A practical strategy is to combine complementary methods. For the ideal periodic reference structure, Wannier-based Berry-curvature calculations can identify Weyl nodes, determine their individual chiralities, and calculate the Chern numbers of 2D slices. For realistic disordered configurations, spin-resolved spectral functions can examine whether Weyl-like crossings and altermagnetic spin splitting remain recognizable. Kubo–Bastin calculations can investigate the corresponding anomalous Hall response, while suitable real-space spectral-localizer formulations can provide additional information about topology and its robustness without requiring primitive translational symmetry.
The different calculations should not be regarded as interchangeable. A finite Hall conductivity does not by itself establish Weyl nodes, and a near-zero localizer mode does not automatically establish a nonzero Weyl charge. Results should be interpreted alongside the electronic spectrum, symmetry conditions, disorder strength, and reference calculations.
The essential distinction is that the standard 2D spectral localizer characterizes Chern topology through its signature, whereas 3D Weyl topology is associated with charged band crossings or topological changes between 2D slices. When translational symmetry remains along one direction, the 2D localizer can be applied to momentum-resolved slices. For fully disordered 3D systems, specialized semimetal localizers may reveal node-counting or related topological information, but they do not automatically reproduce individual Weyl charges. Therefore, a combination of spectral-localizer, spectral-function, Berry-curvature, and transport calculations is generally more appropriate for investigating realistic disordered Weyl altermagnets.
References
[1] H. Schulz-Baldes and T. Stoiber, “Invariants of Disordered Semimetals via the Spectral Localizer,” EPL 136, 27001 (2021). https://doi.org/10.1209/0295-5075/ac1b65
[2] A. Cerjan and T. A. Loring, “Local Invariants Identify Topology in Metals and Gapless Systems,” Physical Review B 106, 064109 (2022). https://doi.org/10.1103/PhysRevB.106.064109
[3] S. Franca and A. G. Grushin, “Topological Zero-Modes of the Spectral Localizer of Trivial Metals,” Physical Review B 109, 195107 (2024). https://doi.org/10.1103/PhysRevB.109.195107
Available tools. The different parts of the workflow can be implemented using existing computational packages.
| Tool | Main application |
|---|---|
| VASP / Quantum ESPRESSO | DFT electronic structure calculations |
| Wannier90 | Wannier functions and TB Hamiltonian extraction |
| PythTB | TB model construction, band structures, Berry phases, Chern numbers, and Wilson loops |
Wannier90 postw90 |
Berry curvature and related transport properties |
| WannierTools | Weyl points, topological invariants, surface states, and Fermi arcs |
| SciPy sparse / sparse eigensolvers | Large sparse Hamiltonian calculations |
| KITE and other KPM implementations | Large-scale electronic spectral and transport calculations |
| Spectral-localizer implementations | Real-space topological indices and robustness |
For a conventional periodic calculation, one possible workflow is to use DFT followed by Wannier90, then import the resulting TB Hamiltonian into PythTB [6]. For example, using the PythTB Wannier90 interface,
from pythtb import W90
# Read the Wannier90 output
w90 = W90(
path="./wannier_output",
prefix="wannier90"
)
# Construct the tight-binding model
model = w90.model()
The Wannier-interpolated bands should first be compared against the original DFT bands, especially near the Fermi energy, important band crossings, and small SOC-induced gaps. After the model has been validated, it can be used to calculate the targeted properties. For large disordered systems, the main computational task shifts from evaluating a small $H(\mathbf k)$ to manipulating a large sparse real-space Hamiltonian. Specialized sparse numerical methods then become more suitable than ordinary full diagonalization.
Putting everything together, the main workflow is,
- DFT: Obtain the electronic states for a given atomic and magnetic configuration.
- Wannierization: Select relevant bands and construct localized orbitals.
- TB construction: Extract onsite and hopping matrix elements and validate the resulting Hamiltonian against DFT.
- Periodic-system calculations: Use $H(\mathbf k)$ to obtain band structures, Berry curvature, Chern numbers, Weyl points, and related properties.
- Large-system modeling: Use representative Wannier Hamiltonians, potentially combined with machine learning, to construct sparse Hamiltonians for large disordered configurations.
- Real-space calculations: Use spectral functions, Kubo–Bastin/KPM, and spectral-localizer methods to investigate electronic, transport, and topological properties without requiring primitive translational symmetry.
The key to understanding the methodology is distinguishing the Hamiltonian dimension from the number of nonzero matrix elements. For a periodic system, translational symmetry makes the Hamiltonian dimension depend only on the Wannier orbitals within the repeating unit cell. For a large disordered system, the Hamiltonian still represents all atoms and orbitals, but it becomes computationally manageable through basis reduction, sparsity, and numerical methods that avoid full diagonalization. The combination of Wannier-based TB models, machine-learned Hamiltonians, and real-space property calculations therefore offers a route for connecting experimentally determined local atomic and magnetic correlations with electronic and topological properties, even in systems where conventional first-principles calculations of realistic configurations would be prohibitively expensive.
References
[1] Marzari, N., et al., Maximally localized Wannier functions: Theory and applications, Reviews of Modern Physics 84, 1419 (2012).
[3] Fukui, T., Hatsugai, Y., and Suzuki, H., Chern Numbers in Discretized Brillouin Zone: Efficient Method of Computing (Spin) Hall Conductances, Journal of the Physical Society of Japan 74, 1674 (2005).
[4] GarcĂa, J. H., Covaci, L., and Rappoport, T. G., Real-Space Calculation of the Conductivity Tensor for Disordered Topological Matter, Physical Review Letters 114, 116602 (2015).
[5] Cerjan, A., and Loring, T. A., An Operator-Based Approach to Topological Photonics, Nanophotonics 11, 4765–4780 (2022).
[6] PythTB documentation.