kwant.builder.Lead

class kwant.builder.Lead[source]

Bases: object

Abstract base class for leads that can be attached to a Builder.

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.

Attributes

interface (sequence of sites)

Methods

finalized()[source]

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.

Previous topic

kwant.builder.Symmetry

Next topic

3.3. kwant.lattice – Bravais lattices

This Page