kwant.builder.SelfEnergyLead#

class kwant.builder.SelfEnergyLead(selfenergy_func, interface, parameters)[source]#

Bases: Lead

A general lead defined by its self energy.

Parameters:
  • selfenergy_func (function) – Has the same signature as selfenergy (without the self parameter) and returns the self energy matrix for the interface sites.

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

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