Unit cell with different types of sites
Posted: 21 Nov 2018, 17:01
Hi all,
I am building a Hamiltonian model with two different types of sites: one type is located on the vertices of a one-dimensional lattice and the other one is located on the links, similarly to lattice gauge theory models. To do this, I implement a lattice with a unit cell formed by two sites, containing one vertex and one link:
After that I use MultiCouplingModel to build all the interactions. The problem comes when I try calling MPOModel. If I choose not to conserve the total particle number for bosons the code works fine. However, if I try to conserve it I get an error related to the charges of the tensor. This does not occur if both sites are of the same type, so the problem comes from the fact that I have two different sites that conserve different quantities. I know that if you want to use GroupedSite in a similar situation, I can impose charge conservation independently on each site. Is there anything similar I could do here?
Thank you in advance,
Daniel
I am building a Hamiltonian model with two different types of sites: one type is located on the vertices of a one-dimensional lattice and the other one is located on the links, similarly to lattice gauge theory models. To do this, I implement a lattice with a unit cell formed by two sites, containing one vertex and one link:
Code: Select all
boson_site = BosonSite(Nmax=n_max, conserve='N', filling=filling)
spin_site = SpinHalfSite(None)
lat = Lattice([L], [boson_site, spin_site], bc=bc, bc_MPS=bc_MPS)
Thank you in advance,
Daniel