Hi Edmond,

You are plotting the spectral density of the identity operator, which
is the same as the density of states. If you were plotting the density
of states of an identity operator, you'd see a delta-function peak
indeed. Please review the definitions in the tutorial:
https://kwant-project.org/doc/1/tutorial/kpm#calculating-the-density-of-states

Best,
Anton

On Tue, 9 Jun 2020 at 00:47, <[email protected]> wrote:
>
> BTW the result I got from this code looks exactly the same as the graphene 
> case. For an identity matrix it should be a flat band and the DOS should just 
> show a peak, right?

Reply via email to