kwant.builder.ModesLead#
- class kwant.builder.ModesLead(modes_func, interface, parameters)[source]#
Bases:
LeadA general lead defined by its modes wave functions.
- Parameters:
modes_func (function) – Has the same signature as
modes(without theselfparameter) and returns the modes of the lead as a tuple ofPropagatingModesandStabilizedModes.interface – sequence of
Siteinstancesparameters (sequence of strings) – The parameters on which the lead depends.
Methods