Hi again,

......In my previous message, I was referring to the case of 1d.  the unit is (1/a).
In 2 and 3 dimensions  it will be (1/V), where V is the unit volume.

On Mon, Oct 22, 2018 at 9:40 AM Marc Vila <marc.vila@icn2.cat> wrote:

Dear Kwant developers,

I've found in other threads in the mailing list that the units of current is for example (unit of charge)/(hbar/unit of energy) (https://www.mail-archive.com/kwant-discuss@kwant-project.org/msg01100.html). Also, the local density of states has units of energy/volume (https://www.mail-archive.com/kwant-discuss@kwant-project.org/msg00169.html​). 

My question is, what is the units of the output of the density operator? Is it energy/volume as well? I ask this because intuitively I view it as the square of the wavefunction, but it gives me values larger than 1 for each site when there is only 1 mode involved (see attached picture) ​so it is not just the probability of findinge the electron at that site because this should be maximum 1. I have also noticed that the values I get in the colorbar depend on the value of my hopping (e.g. case of graphene), but overall I'm not so sure of the units. 

Thank you again for your help.

Kind regards,


Abbout Adel