Thanks for the quick reply.

I want to plot the band structure for my system, i.e. a quantum dot. I am still confused as to what code I need to write to plot that, or whether sys.leads[0] is actually correct for what I need.

On Mon, Jun 25, 2018 at 4:46 PM Christoph Groth <christoph.groth@cea.fr> wrote:
Shivang Agarwal wrote:

> 1) What is the difference between plotting a band structure for sys
> and sys.leads[0]?

The difference is that plotting the band structure for sys.leads[0] will
work and for sys it won't.

> 2) How can I plot the band structure of my system (and not its leads) from
> the code below? Where am I going wrong? How do I avoid the error?

Band structures only make sense for spatially periodic systems where it
is possible to define a momentum.  What is it that you would like to
plot for your system?

Christoph


--
Shivang Agarwal
Junior Undergraduate
Discipline of Electrical Engineering
IIT Gandhinagar

Contact: +91-9869321451