Abstract base class for leads that can be attached to a
To attach a lead to a builder, append it to the builder’s leads
instance variable. See the documentation of
kwant.builder for the
concrete classes of leads derived from this one.
Return a finalized version of the lead.
The finalized lead must be an object that can be used as a lead
kwant.system.FiniteSystem, i.e. an instance of
kwant.system.InfiniteSystem. Typically it will be a finalized
The order of sites for the finalized lead must be the one specified in interface.