PAOFLOW.topology.do_topology#
Functions#
|
Compute Berry curvature, spin Hall conductivity, and Z2 invariant on a k-path. |
|
Evaluate the Bloch Hamiltonian \(H(\mathbf{k})\) from real-space data. |
Module Contents#
- PAOFLOW.topology.do_topology.do_topology(data_controller)[source]#
Compute Berry curvature, spin Hall conductivity, and Z2 invariant on a k-path.
- Parameters:
data_controller (DataController) – Object providing
data_arraysanddata_attributes. Required arrays:HRs,kq,v_k,Dnm,b_vectors,R,Rfft. Required attributes:npool,bnd,nawf,nspin,alat,ipol,jpol,spol,Berry,eff_mass,spin_Hall,opath. For Z2:nelec. For spin Hall:Sj.- Returns:
Writes one or more output files to
opathdepending on the flags set indata_attributes:Z2.dim— 2-D and 3-D Z2 topological invariants (whennspin == 1andspin_HallisTrue).Berry curvature, Chern numbers, or spin Hall conductivity files (controlled by
Berryandspin_Hallflags).Effective mass tensor files (when
eff_massisTrue).
- Return type:
None
Notes
The Z2 invariant is computed at the 8 time-reversal invariant momentum (TRIM) points following Fu, Kane, and Mele, Phys. Rev. B 76, 045302 (2007), using the Pfaffian method of Soluyanov and Vanderbilt, Phys. Rev. B 83, 235401 (2011). The Berry curvature and spin Hall conductivity are evaluated via the Kubo-formula approach. Momentum matrix elements are computed using the Fourier-differentiated Hamiltonian with the Dnm correction for non-primitive bases.
- PAOFLOW.topology.do_topology.band_loop_H(HRaux, R, kq, nawf, nspin)[source]#
Evaluate the Bloch Hamiltonian \(H(\mathbf{k})\) from real-space data.
- Parameters:
HRaux (np.ndarray, shape
(nawf, nawf, nrtot, nspin), complex) – Real-space Hamiltonian elements, arranged with the lattice index on the last axis beforenspin.R (np.ndarray, shape
(nrtot, 3)) – Real-space lattice vectors in units of the lattice constant.kq (np.ndarray, shape
(3, nksize)) – k-points in Cartesian coordinates.nawf (int) – Number of atomic wave-function projectors.
nspin (int) – Number of spin channels.
- Returns:
\(H(\mathbf{k})\) evaluated at each requested k-point.
- Return type:
np.ndarray, shape
(nksize, nawf, nawf, nspin), complex
Notes
Computes the Fourier sum
\[H(\mathbf{k}) = \sum_{\mathbf{R}} H(\mathbf{R})\, e^{2\pi i \mathbf{k}\cdot\mathbf{R}}\]via a tensor contraction between
HRauxand the phase matrix. This is a local variant of the same function indo_bands.py, accepting explicitRandkqarrays rather than aDataControllerinstance.