Dear all,
         Can we really use temperature variable in KWANT? If yes,then with
what function.Also, How to apply magnetic field perpendicular to the sample
like I am having the graphene sheet and I want to apply per mag. field on
it.this is what I am trying!
################################################
def hopx(site1, site2, B=0):
# The magnetic field is controlled by the parameter B
y = site1.pos[1]
return -t * exp(-1j * B * y)
sys[lat.shape(circle, (0, 0))] = 4 * t
# hoppings in x-direction
sys[kwant.builder.HoppingKind((1, 0), lat, lat)] = hopx
# hoppings in y-directions
sys[kwant.builder.HoppingKind((0, 1), lat, lat)] = -t
# It’s a closed system for a change, so no leads
##################################################

Reply via email to