Coordinates of spatial greens function
Dear Kwant developer,
I'm trying to calculate the greens function as follows:
gf = kwant.greens_function(sys,0).submatrix(1,0)
It returns a 18*18 matrix. Does it mean the green function between 18
points in lead0 to 18 points in lead1?
However, when I plot this system, there is only 9 points at each lead. If
the base used here are not the lattice point?
Can I get the coordinates of the 18 points in both leads? So I can know the
green function between two designated positions.
Thank you.
Best,
Yuhao
Here is my code.
##
import numpy as np
import kwant
m, t=0.4, -0.133
dis=0
a=1
lat = kwant.lattice.general([[a, 0], [a/2, a*np.sqrt(3)/2]],
[[0, 0], [0, a/np.sqrt(3)]])
A,B=lat.sublattices
sys=kwant.Builder()
s0=np.identity(2)
sx=np.array([[0,1],[1,0]])
sz=np.array([[1,0],[0,-1]])
def disk(pos):
x,y=pos
return abs(y)<2 and np.sqrt(3)*x-1
participants (2)
-
Abbout Adel
-
yuhao kang