PAOFLOW.topology.do_mirror_chern#

Mirror Chern number C_M of a 2D material from the PAOFLOW Hamiltonian, using Z2Pack for the sector Chern numbers.

For a 2D crystal the only mirror whose invariant plane fills the whole Brillouin zone is the HORIZONTAL mirror sigma_h (M_z : z -> -z); a vertical mirror leaves invariant only a 1D line. When M_z commutes with H(k) it block-diagonalizes it into the two eigen-sectors M_z = +-i (spin-1/2), each an ordinary Chern insulator with Chern numbers C_{+i} = -C_{-i} (time reversal). The mirror Chern number and the Z2 index are

C_M = (C_{+i} - C_{-i}) / 2 = C_{+i}, nu = C_M mod 2.

C_M != 0 with nu = 0 is a pure topological crystalline insulator (e.g. monolayer SnTe, |C_M| = 2); C_M odd is a QSHI that is also mirror-nontrivial (“dual”, e.g. Ir2O2 with C_M = 3).

Method#

After PAOFLOW.j_to_lm_hamiltonian the Hamiltonian is in the QE real spherical-harmonic (lm) basis, [spin-up | spin-down] order, where M_z is the CONSTANT operator

M_z = P_site (x) diag(eta_z) (x) diag(-i_up, +i_down), M_z^2 = -1,

with orbital z-parity eta_z = -1 for the z-odd harmonics {p_z, d_xz, d_yz} and +1 otherwise, and P_site the atom permutation induced by z -> -z (identity for a planar layer; the top<->bottom half-layer swap for a buckled X-M-M-X layer). We auto-detect P_site from the relaxed coordinates, verify [H(k), M_z] = 0, diagonalize M_z into its +-i eigenspaces, rotate each sector’s Hamiltonian and feed it to Z2Pack.

Fallbacks / limits#

  • No sigma_h (e.g. a centrosymmetric D3d layer): the search fails and, if requested, the Z2 index is computed over half the BZ instead (C_M undefined).

  • A glide sigma_h (nonsymmorphic, with an in-plane fractional translation tau) is detected and reported; the sector Chern for a glide needs k-dependent eigenspaces and is not computed here (symmorphic sigma_h only).

  • Only s, p, d shells (the j_to_lm limit).

Requires z2pack and tbmodels (imported lazily, only when the Chern step runs). Intended for serial execution (Z2Pack drives its own k-loop).

Attributes#

Functions#

fractional_coords(tau, a_vectors, alat)

site_permutation(frac, species[, symprec, perp])

Atom permutation induced by sigma_h (z -> 2*z0 - z, + in-plane tau).

mirror_operator(labels, perm)

Constant M_z (nawf x nawf) in the lm [up|down] basis (symmorphic sigma_h).

mirror_eigenbasis(Mz[, tol])

Orthonormal bases (U_plus, U_minus) of the M_z = +i / -i eigenspaces.

check_commutator(R_list, H, Mz)

max |[H(R), M_z]| and its ratio to the bandwidth (feasibility gate).

read_hr(fname)

Parse a Wannier90-style hr.dat -> (num_wann, R_list, degen, H_dict).

rotate_sector_hr(R_list, degen, H, U, fname)

Write H_sec(R) = U^dag H(R) U as a stand-alone hr.dat.

do_mirror_chern(data_controller[, nbnd_occ, z2pack, ...])

Compute the mirror Chern number C_M (see module docstring).

Module Contents#

PAOFLOW.topology.do_mirror_chern.Z_ODD[source]#
PAOFLOW.topology.do_mirror_chern.fractional_coords(tau, a_vectors, alat)[source]#
PAOFLOW.topology.do_mirror_chern.site_permutation(frac, species, symprec=0.01, perp=2)[source]#

Atom permutation induced by sigma_h (z -> 2*z0 - z, + in-plane tau).

Returns (perm, z0, tau) with perm[a] = image atom of a, z0 the mirror plane (fractional), tau the in-plane fractional translation (0 for a symmorphic sigma_h). Raises if no sigma_h maps the atom set onto itself.

PAOFLOW.topology.do_mirror_chern.mirror_operator(labels, perm)[source]#

Constant M_z (nawf x nawf) in the lm [up|down] basis (symmorphic sigma_h).

PAOFLOW.topology.do_mirror_chern.mirror_eigenbasis(Mz, tol=1e-06)[source]#

Orthonormal bases (U_plus, U_minus) of the M_z = +i / -i eigenspaces.

Diagonalizes the Hermitian A = i*M_z (eigenvalue -1 <-> M_z=+i, +1 <-> -i).

PAOFLOW.topology.do_mirror_chern.check_commutator(R_list, H, Mz)[source]#

max |[H(R), M_z]| and its ratio to the bandwidth (feasibility gate).

PAOFLOW.topology.do_mirror_chern.read_hr(fname)[source]#

Parse a Wannier90-style hr.dat -> (num_wann, R_list, degen, H_dict).

PAOFLOW.topology.do_mirror_chern.rotate_sector_hr(R_list, degen, H, U, fname)[source]#

Write H_sec(R) = U^dag H(R) U as a stand-alone hr.dat.

PAOFLOW.topology.do_mirror_chern.do_mirror_chern(data_controller, nbnd_occ='auto', z2pack=True, is_lm=False, symprec=0.01, surface_kwargs=None, gap_check=True, auto_tighten=True, z2_fallback=True, verbose=True)[source]#

Compute the mirror Chern number C_M (see module docstring).

When auto_tighten is set (default), the min direct gap is measured first and, if small (< 0.20 eV), the Z2Pack surface sampling is tightened by tiers (lower min_neighbour_dist / move_tol, denser loops) – only for keys the caller did not pass in surface_kwargs, which always take precedence.

Returns a dict with keys: sigma_h, glide, perm, z0, tau, residual (max|[H,M_z]|/bandwidth), nawf, nocc, gap (indirect), gap_direct, C_plus, C_minus, C_M, nu (and nu_z2 in the no-sigma_h fallback). Values that were not computed are None.