pub fn surface_green(
h00: &CMat,
away: &CMat,
z: c64,
) -> Result<CMat, GreenError>Expand description
Surface Green’s function of a semi-infinite lead at complex energy z. h00 is the cell
Hamiltonian and away the coupling ⟨n| H |n+1⟩ from a cell to the next one further away
from the surface.