kwant.builder.
ModesLead
(modes_func, interface, parameters)[source]¶Bases: kwant.builder.Lead
A general lead defined by its modes wave functions.
modes_func (function) – Has the same signature as modes
(without the self
parameter)
and returns the modes of the lead as a tuple of
PropagatingModes
and StabilizedModes
.
interface – sequence of Site
instances
parameters (sequence of strings) – The parameters on which the lead depends.
Methods