how to write HofstadterModel with mixed_xk in infinite dmrg
Posted: 08 May 2023, 08:59
Hi,tenpy forum
I'm trying to use the mixed model in tenpy to write the idmrg code of the hofstadter model, just like arxiv:1512.03318.
According to the form provided MPO in the article, the form of our Hamiltonian is .
Obviously there is a coefficient cos(k+phi*x) related to x here. I'm not particularly familiar with idmrg's algorithm, so l do not know how I should do in the HofstadterModel Class to describe this coefficient. Because the x direction of idmrg is continuously expanding, but I can only write a limited x when coding the model Class.That is, how to specify the coefficients of the model in "infinite" x direction.
I noticed that the hofstadter model is provided in tenpy, but it seems to be a square lattcie with no magnetic field, and also I have not found any relevant answers in the community.
I'm trying to use the mixed model in tenpy to write the idmrg code of the hofstadter model, just like arxiv:1512.03318.
According to the form provided MPO in the article, the form of our Hamiltonian is .
Obviously there is a coefficient cos(k+phi*x) related to x here. I'm not particularly familiar with idmrg's algorithm, so l do not know how I should do in the HofstadterModel Class to describe this coefficient. Because the x direction of idmrg is continuously expanding, but I can only write a limited x when coding the model Class.That is, how to specify the coefficients of the model in "infinite" x direction.
I noticed that the hofstadter model is provided in tenpy, but it seems to be a square lattcie with no magnetic field, and also I have not found any relevant answers in the community.