kwant.builder.ModesLead#
- class kwant.builder.ModesLead(modes_func, interface, parameters)[source]#
Bases:
Lead
A general lead defined by its modes wave functions.
- Parameters:
modes_func (function) – Has the same signature as
modes
(without theself
parameter) and returns the modes of the lead as a tuple ofPropagatingModes
andStabilizedModes
.interface – sequence of
Site
instancesparameters (sequence of strings) – The parameters on which the lead depends.
Methods