Hi Baris, Baris Pekerten <barisp@sabanciuniv.edu> writes:
(...)
Because of the term linear in p, you can't take it directly to zero. For example: Define the p-wave parameter to be zero in the hopping between sites x=0 and x=1 (with lattice spacing=1). Then define the hopping between sites x=1 and x=2 to to be =1. Then, this will force all of the hoppings to undulate between 0 and 1. The way around this is to define it to be zero in one hopping, then 0.5 in the next hopping, and then 1 in the hopping after that.
My question is: Is this automatically implemented?
I’m not entirely sure what you are up to, but this does not matter: Kwant never manipulates the Hamiltonian you set in any way. You get what you set. So just set the Hamiltonian that you would like to have. Without knowing much about your particular case, I recommend that you set all the nearest neighbor hoppings to a value function that you provide. (For example in the standard way using yourlattice.neigbhors().) The value function can then implement the particular hopping integral you would like to have. Best, Christoph