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 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

finalized()[source]#

Trivial finalization: the object is returned itself.

modes(energy, args=(), *, params=None)[source]#
selfenergy(energy, args=(), *, params=None)[source]#