kwant.builder.
Lead
¶Bases: object
Abstract base class for leads that can be attached to a Builder
.
Attributes
interface | (sequence of sites) |
Methods
finalized
()¶Return a finalized version of the lead.
Returns: | finalized_lead |
---|
Notes
The finalized lead must be an object that can be used as a lead in a
kwant.system.FiniteSystem
. It could be an instance of
kwant.system.InfiniteSystem
for example.
The order of sites for the finalized lead must be the one specified in interface.