PAOFLOW.hamiltonian.bloch_derivatives#
Bloch Hamiltonian and its first and second k-derivatives at arbitrary k from HRs.
The real-space PAO Hamiltonian HRs of PAOFLOW.pao_hamiltonian() defines the lattice-gauge
Bloch Hamiltonian
with the pair-resolved Wigner-Seitz images of the real-space cells (as the electron-phonon
interpolation of PAOFLOW.elphon.elph_bloch). Its k-derivatives are explicit sums,
The velocity and the “curvature” operators of the atomic-gauge Hamiltonian \(H^A_{ij} = e^{i\mathbf k\cdot(\boldsymbol\tau_j-\boldsymbol\tau_i)}H_{ij}\) (the position operator diagonal on the orbital centres \(\boldsymbol\tau_i\)) are, expressed in the lattice gauge,
with \((\Delta\tau_a)_{ij} = (\tau_j-\tau_i)_a\) and \(\circ\) the element-wise product;
their band-basis matrices \(U^\dagger v_a U\) equal those of \(\partial_a H^A\) and
\(\partial_a\partial_b H^A\) in the eigenbasis of \(H^A\). Units: eV, bohr, 1/bohr;
hbar = 1 (v is \(\hbar\mathbf v\) in eV bohr, w in eV bohr^2).
Attributes#
Classes#
Real-space ingredients of the Bloch Hamiltonian and its derivatives. |
Functions#
|
Wigner-Seitz real-space terms of |
|
|
|
Atomic-gauge velocity |
|
Orbital centres (crystal coordinates) of a PAOFLOW run or a tight-binding model. |
Module Contents#
- PAOFLOW.hamiltonian.bloch_derivatives.PAIRS_AB = ((0, 0), (0, 1), (0, 2), (1, 1), (1, 2), (2, 2))[source]#
- class PAOFLOW.hamiltonian.bloch_derivatives.BlochTerms[source]#
Real-space ingredients of the Bloch Hamiltonian and its derivatives.
- Variables:
cells (ndarray
(nws, 3), int) – Integer cellsnof the Wigner-Seitz images (phaseexp(-2 pi i k.n)).cell_vectors_bohr (ndarray
(nws, 3)) – CartesianR_n(bohr).hamiltonian_cells (ndarray
(nws, nawf*nawf), complex) – Wigner-Seitz weightedH(n)(eV), flattened over the orbital pair.separation_bohr (ndarray
(3, nawf, nawf)) –tau_j - tau_i(bohr); zero without orbital positions.nawf (int)
- cells: numpy.typing.NDArray[numpy.int_][source]#
- PAOFLOW.hamiltonian.bloch_derivatives.bloch_terms_from_HRs(HRs, a_vectors, alat, orbital_positions_cryst=None, ispin=0, hopping_cutoff=None)[source]#
Wigner-Seitz real-space terms of
HRsforhamiltonian_derivatives_block().- Parameters:
HRs (ndarray
(nawf, nawf, n1, n2, n3, nspin)) – PAOFLOW’s real-space Hamiltonian (eV),H(k) = sum_n exp(-2 pi i k.n) HRs[..., n].a_vectors (ndarray
(3, 3)) – Direct lattice vectors (rows, alat units).alat (float) – Lattice parameter (bohr).
orbital_positions_cryst (ndarray
(nawf, 3), optional) – Orbital centres in crystal coordinates (pair-resolved Wigner-Seitz cells and the intersite position term);Noneputs every orbital at the origin.ispin (int, optional) – Spin channel.
hopping_cutoff (float, optional) – Drop the cells whose largest weighted
|H(n)|is below this value (eV).
- Return type:
- PAOFLOW.hamiltonian.bloch_derivatives.hamiltonian_derivatives_block(terms, k_cryst)[source]#
H,dH/dk_aandd^2H/dk_a dk_b(orbital basis) at a block of k-points.- Parameters:
terms (BlochTerms)
k_cryst (ndarray
(nb, 3)) – Crystal coordinates.
- Returns:
H (ndarray
(nb, nawf, nawf)) – eV, Hermitised.dH (ndarray
(nb, 3, nawf, nawf)) – eV bohr.d2H (ndarray
(nb, 6, nawf, nawf)) – eV bohr^2, the pairs ofPAIRS_AB.
- PAOFLOW.hamiltonian.bloch_derivatives.velocity_and_curvature_operators(terms, H, dH, d2H)[source]#
Atomic-gauge velocity
v_aand curvaturew_aboperators in the lattice gauge.- Parameters:
terms (BlochTerms)
H – Of
hamiltonian_derivatives_block().dH – Of
hamiltonian_derivatives_block().d2H – Of
hamiltonian_derivatives_block().
- Returns:
v (ndarray
(nb, 3, nawf, nawf)) – \(\partial_a H + i\Delta\tau_a\circ H\) (eV bohr).w (ndarray
(nb, 3, 3, nawf, nawf)) – \(\partial_a\partial_b H + i\Delta\tau_b\circ\partial_a H + i\Delta\tau_a\circ\partial_b H - \Delta\tau_a\Delta\tau_b\circ H\) (eV bohr^2), symmetric in(a, b).
- PAOFLOW.hamiltonian.bloch_derivatives.orbital_positions_from_data(data_controller)[source]#
Orbital centres (crystal coordinates) of a PAOFLOW run or a tight-binding model.
QE runs hold the Cartesian centre of every PAO orbital in
arrays['basis'](PAOFLOW.elphon.elph_bloch.pao_orbital_positions()); tight-binding models hold the atom positionsarrays['tau'](Cartesian, alat units) witharrays['naw']orbitals per atom. ReturnsNonewhen neither is available.