Hi, I am very new to tenpy. I am sorry if answer to this question is already there but I could not find any particular solution anywhere. I need to incorporate alternate strengths in one term of the Hamiltonian and compute it's ground state using the finite matrix-product state (MPS) representation. If I consider even coupling and even number of sites, then for e.g., the following statement works fine:

self.add_coupling([-t,0],0,'Bd',1,'B',0,plus_hc=True)#For even lengths, say L=40

It is also according to the following link,

"

https://tenpy.readthedocs.io/en/latest/ ... d_coupling"

However, I am getting incommensurate error when I consider odd number of sites and finite MPS, opposite to what you have suggested in the previous comment. Can you please suggest, if there is any solution when one considers odd number of sites and finite MPS (with the motivation that the strengths of coupling is symmetric throughout the whole chain if one considers open boundaries)?