Dear Tatiana,
If you have constructed your BuilderLead's correctly (it is not obvious
from the code you share, `sys` you use in BuilderLead constructor must
be a Builder with translational symmetry), it is enough just to add them
to list of your bulk system's (bulk_sys) leads:
Dear Christoph, thank you for your help.
Now I have the following question: I manually set leads, how to connect them
to my sys? sys.attach_lead () is not suitable for my case .
That's what I have:
sys = kwant.Builder()
left_sequence = [lat(-90.26501, 13.2107), lat(-91.60269, 12.67463),
дорогая Татьяна,
kwant.builder.Lead is an abstract base class. This means it
cannot be instantiated directly, it’s purpose it to be
subclassed. Instead, you may create instances of its “children”:
kwant.builder.BuilderLead, kwant.builder.SelfEnergyLead, or
kwant.builder.ModesLead. You
Hi!
How to attach the leads manually, if I have the coordinates.
I use class kwant.builder.Lead and I have an error: "TypeError: Can't
instantiate abstract class Lead with abstract methods finalized".
What does it mean?
For example, for two atoms:
left_lead = kwant.builder.Lead()
#add site