For a 12 site chain, I tried to multiply
model.lat.unit_cell = model.lat.unit_cell*12and 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.model.lat.unit_cell = model.lat.unit_cell*12t(i) (i = 1, 12) to each of the element of unit cell. But that is not matching with exact diagonalization results.unit_cell, if the kind of sites (Fermions with or without spin, Bosons, spins,...) doesn't change.t which is not just a single number, but an array, specifying at which site you want hopping with which strength.