You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used Sumk for a simple tight binding model on a square in 2d with one orbital, only nearest neighbor hopping, and hopping parameter t=1. The half-bandwidth should be 4t=4. I density as a function of chemical potential, which should be 0 at -4 and 2 at 4. However, I am finding that the density is instead 0 at -8 and 2 and 8, and everything is off by a factor of 2.
The issue seems to be that I am using 2 spins, so the Green's function has 2 blocks. The code multiplies the chemical potential by the number of blocks, which it should not do.
I think this is a bug. The hopping matrices are 1x1 but the target space of the self-energy is 2x2. The call to sumk should fail with an error here. Maybe related to prq #550?
Changing the self-energy target space gives the expected bandwidth.
I used Sumk for a simple tight binding model on a square in 2d with one orbital, only nearest neighbor hopping, and hopping parameter t=1. The half-bandwidth should be 4t=4. I density as a function of chemical potential, which should be 0 at -4 and 2 at 4. However, I am finding that the density is instead 0 at -8 and 2 and 8, and everything is off by a factor of 2.
The issue seems to be that I am using 2 spins, so the Green's function has 2 blocks. The code multiplies the chemical potential by the number of blocks, which it should not do.
The text was updated successfully, but these errors were encountered: