Scattering channels: relaxation rates for transport and optics#
PAOFLOW.boltzmann.scattering_channels provides one abstraction for relaxation
rates. It serves two consumers:
Boltzmann transport.
PAOFLOW.transport(scattering_channels=[...])combines the channels throughboltzmann.do_Boltz_tensors.get_tau.Intraband optics of metals. These are the Drude and extended-Drude dielectric functions of
PAOFLOW.response.drude, and the thermal emissivity ofPAOFLOW.response.emissivity.
Every channel returns a rate \(1/\tau\) (1/s) from a single method:
channel.rate(temperature_k, energy_ev=None, omega_ev=None)
DC (transport) rate:
energy_evis the carrier energy relative to the chemical potential.Optical rate:
omega_evis the photon energy.Matthiessen’s rule:
matthiessen(channels, T, ...)sums the rates.
Channels#
class |
rate |
use |
|---|---|---|
|
constant |
impurities, defects |
|
\(\varepsilon_0\omega_p^2\rho_0\) |
metals, residual resistivity |
|
\(\hbar/\tau = b[(E-\mu)^2+(\pi k_BT)^2]\) (DC); \(b[(\hbar\omega)^2+(2\pi k_BT)^2]\) (optical) |
electron–electron scattering (Gurzhi) |
|
\(w/\tau_{model}(k_BT, \lvert E\rvert)\) |
the semiconductor models of |
|
Allen (below) |
electron–phonon scattering from the dense-q e-ph run with |
|
tabulated \(1/\tau(E,T)\), interpolated |
ab initio electron–phonon scattering of semiconductors (SERTA/MRTA, below) |
Electron–phonon channel: transport Eliashberg function#
eliashberg_dense_q(..., transport=True, alat=, cell_volume=) accumulates two
extra quantities next to \(\lambda_{\mathbf q\nu}\):
the transport coupling, with the trace form of Allen’s weight (invariant under the irreducible-q folding);
the Fermi-surface plasma frequency.
The transport coupling is
The plasma frequency is
The band velocities are the diagonal of the PAO velocity operator \(\partial_{\mathbf k}H + iH(\boldsymbol\tau_j-\boldsymbol\tau_i)\), averaged over degenerate subspaces, which makes them gauge invariant. They equal the group velocities \(\partial_{\mathbf k}\varepsilon\) (Hellmann–Feynman).
No non-local correction. The non-local pseudopotential is already in the PAO Hamiltonian. The non-local correction belongs to interband (optical) dipoles only.
Earlier runs. Versions that added it to the band velocities gave \(\hbar\omega_p = 8.12\) eV for Pb instead of 8.34 eV, and Si electron mobilities 12% too high at 48³.
The channel derives three quantities from \(\alpha^2F_{tr}\):
DC rate (high T: \(2\pi\lambda_{tr}k_BT/\hbar\)), with \(x=\hbar\omega/2k_BT\): \(1/\tau_{tr}(T) = \frac{4\pi k_BT}{\hbar}\int\frac{d\omega}{\omega}\alpha^2F_{tr}\,[x/\sinh x]^2\).
Optical rate (Allen 1971; Shulga, Dolgov and Maksimov 1991): \(1/\tau(\omega,T) = \frac{\pi}{\hbar\omega}\int d\Omega\,\alpha^2F_{tr}(\Omega) \big[2\omega\coth\frac{\Omega}{2T}-(\omega+\Omega)\coth\frac{\omega+\Omega}{2T}+(\omega-\Omega)\coth\frac{\omega-\Omega}{2T}\big]\). Its ω→0 limit is the DC rate.
Mass enhancement \(\lambda(\omega,T)\), from causality of the memory function \(M = 1/\tau(\omega) - i\omega\lambda(\omega)\): \(\lambda(\omega) = \frac{2}{\pi}\int_0^\infty\frac{r(\omega')-r(\omega)}{\omega'^2-\omega^2}d\omega'\), with \(r=\hbar/\tau\) and \(\lambda(0,T{=}0)=\lambda_{tr}\).
Electron–phonon channel for semiconductors: energy-resolved SERTA/MRTA rates#
In a semiconductor the carriers sit within a few \(k_BT\) of the band edges, so
one Fermi-surface rate is not enough.
PAOFLOW.elphon.carrier_scattering.carrier_scattering_dense_q computes the
state-resolved rates \(1/\tau_{n\mathbf k}(T)\) in SERTA and MRTA on the dense
EPW+PAO grid (see Electron–Phonon Coupling).
There are two ways to use them.
(a) k-resolved transport. rta_transport evaluates the conductivity,
carrier densities, electron and hole mobilities and Seebeck coefficient on
that grid. This is the reference.
(b) Boltzmann bridge. energy_resolved_rates reduces the rates to the
transport-weighted relaxation time
This is the energy-only τ that reproduces the trace of the k-resolved σ. It is
written to scattering_rates.npz and read back by EnergyResolvedRate:
from PAOFLOW.boltzmann.scattering_channels import EnergyResolvedRate
eph = EnergyResolvedRate.from_npz('output/mobility/scattering_rates.npz', 'mrta')
pf.transport(tmin=300, tmax=300, nt=1, emin=-0.3, emax=1.0, ne=261,
scattering_channels=[eph, 'impurity'], tau_dict={...})
Band-edge alignment. The Boltzmann run usually has a different band structure from the Wigner–Seitz interpolation of the e-ph run:
PAOFLOW’s
interpolated_hamiltonianzero-pads the FFT of \(H(\mathbf R)\). From EPW’s 6³ coarse grid this puts the Si CBM at 0.72 eV instead of 0.61 eV.A different QE run moves the band edges too.
A chemical potential is not portable between band structures, but the rate
measured from the band edge is. A table with a gap (band_edges=(vbm, cbm),
set by from_npz) is therefore aligned: electron energies are measured from
the CBM and hole energies from the VBM of the band structure that uses it.
get_tau calls channel.bind(data_controller) for every channel. For
EnergyResolvedRate this reads the band edges from E_k, nelec and dftSO
(MPI-reduced); align_to(vbm, cbm) sets them by hand. from_npz(..., align=False) keeps absolute energies (metals always do). Outside the tabulated
energies the rate is held constant; outside the tabulated temperatures it
raises.
Bridge check (Si, intrinsic, 300 K, MRTA, 36³ k = q).
On the same states, τ_eff(E) reproduces the k-resolved σ to 5%.
Through
pf.transport, run on PAOFLOW’s own band structure (18³ scf save, FFT-interpolated to 36³), the mobilities of route (b) are 17% (electrons) and 15% (holes, after removing the band-structure factor) above route (a).With a constant τ, the two band structures give electron mobilities within 1%.
Interpolating from EPW’s 6³ nscf instead puts the CBM 0.12 eV higher. Without the alignment, route (b) at the route-(a) chemical potential undercounts the electrons about 90-fold, and the Seebeck coefficient changes sign.
Consumers#
Boltzmann transport. get_tau accepts channels mixed with the old string
labels and TauModels. It first calls each channel’s bind(data_controller)
hook (a no-op except for the band-edge alignment of EnergyResolvedRate), then
adds the rates to the same harmonic sum, with the band energies on PAOFLOW’s
E_k scale (zero at the DFT Fermi level). For metals:
from PAOFLOW.boltzmann.scattering_channels import TransportSpectralChannel, ResidualResistivity
eph = TransportSpectralChannel.from_npz('output/eliashberg.npz')
pf.transport(tmin=50, tmax=600, nt=12, emin=-0.2, emax=0.2, ne=41,
scattering_channels=[eph, ResidualResistivity(1e-9, plasma_ev=8.0)])
Drude optics, resistivity and emissivity (response/drude.py,
response/emissivity.py):
drude_dielectricandextended_drude_dielectricgive the intraband dielectric function: \(\varepsilon_D = -\omega_p^2/\{\omega[\omega(1+\lambda(\omega,T)) + i/\tau(\omega,T)]\}\).dc_resistivitygives \(\rho = 1/(\varepsilon_0\omega_p^2\tau)\), broken down by channel.plasma_frequency_tensorgives \(\omega_p^2\) from band velocities on any grid.metal_thermal_emissivitycombines the interband ε with the extended Drude term. The interband ε comes fromdielectric_tensor(..., intraband=False)on the extended basis.emissivity_from_dielectricis the shared slab/hemispherical/Planck tail, also used by the semiconductorthermal_emissivity.
The generated transport.elphon.py (paoflow-gen, EPW source, Eliashberg
property, “transport Eliashberg function”) chains these steps for a metal.
plot_transport.elphon.py plots the results with
GPAO.plot_metal_transport (α²F vs α²F_tr, ρ(T) per channel) and
GPAO.plot_thermal_emissivity, which zooms its axes for opaque surfaces.
Fixes made with this module#
scattering_weights: non-empty weights used to raise, because the length check compared them with an empty list.tau_dictanddoping_conc: values passed totransport()/doping()now replace stored ones. Previously only the first call counted.dielectric_tensor(d_tensor=None): now computes the diagonal components; it used to crash.Documentation: the built-in τ models receive \(k_BT\) in eV, not kelvin.
Validation (Pb, 48³ k / 24³ q, σ = 0.05 eV, group velocities)#
quantity |
PAOFLOW |
reference |
|---|---|---|
\(\lambda\) / \(\lambda_{tr}\) |
1.20 / 0.94 |
|
\(\hbar\omega_p\) |
8.34 eV |
7.4 eV (optical Drude fit, Ordal et al. 1985) |
\(\rho\)(300 K) |
16.2 µΩ cm (Drude) |
about 21 µΩ cm (experiment) |
total emissivity, 100 / 300 / 600 K |
0.012 / 0.037 / 0.071 |
polished Pb: a few % |
\(\rho\)(100/200/300 K), state-resolved MRTA rates ( |
4.1 / 9.6 / 15.3 µΩ cm |
5.2 / 10.8 / 16.2 (α²F_tr channel, same grids); SERTA 5.1 / 12.0 / 19.1 |
Before the non-local term was removed from the band velocities, the values were
ħω_p = 8.12 eV and ρ(300 K) = 17.1 µΩ cm. A Boltzmann run through PAOFLOW’s
pf.transport gave 19.3 µΩ cm at the same μ, but it also used
the former non-local velocity term (removed in October 2026), which altered
the band diagonal.
k-grid. The Fermi-surface quantities of Pb need at least 48³ k at σ = 0.05 eV. Smaller smearings need denser grids.
q-grid. Refining q from 24³ to 48³ changes λ_tr by −7% (0.94 → 0.87) and ρ(300 K) by about 6% (values before the velocity fix: 17.1 → 16.0 µΩ cm).