## How to assign different hopping parameter 't' to different sites

How do I use this algorithm? What does that parameter do?
abhiroop
Posts: 2
Joined: 06 Aug 2019, 19:34

### How to assign different hopping parameter 't' to different sites

How do I assign different values hopping parameter 't' for different sites for fermionic hubbard model.
For a 12 site chain, I tried to multiply
model.lat.unit_cell = model.lat.unit_cell*12
and assign different values of t(i) (i = 1, 12) to each of the element of unit cell. But that is not matching with exact diagonalization results.

Johannes
You don't need to modify the unit_cell, if the kind of sites (Fermions with or without spin, Bosons, spins,...) doesn't change.
Instead, you can give a hopping parameter t which is not just a single number, but an array, specifying at which site you want hopping with which strength.