pub trait HoppingTerm: Send + Sync {
// Required method
fn matrix(&self, from: &Site, to: &Site, t: &CMat) -> Option<CMat>;
}Expand description
Site-dependent hopping term (Kwant’s value functions for hoppings): the matrix
⟨(R, from)| H |(R + offset, to)⟩ of a hopping between two given sites, from the model’s
matrix t; None keeps t. The reverse hop is its conjugate, so the Hamiltonian stays
Hermitian. Bond disorder, strain, spatially varying parameters.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".