Hi, itensor team
Thanks for your support so far! Thank you for your patient and detailed response last time. I learned a lot about MPS and MPO techniques. However, I encountered some issues while trying to reproduce the results shown in Figure 1 (a) and (b) of the paper.(Phys. Rev. Lett. 121, 090402 (2018) - Strongly Correlated Bosons on a Dynamical Lattice) No matter how I calculate, I find that the expectation value of sigmaz is always negative when the bosonic density is at ( 2/3 ) or ( 0.88 ). This outcome seems to prevent me from replicating the results presented in the paper. I suspect that this might be due to the DMRG algorithm optimizing for the lowest energy state when spins and bosons are placed in different positions.(Mixed-site (Boson,spin) model)
Below are my results along with a brief snippet of my code for your reference:
using ITensors
let
N = 119
U=10
t=1
phonon_dim=2
alpha=0.5
delta=0.85
beta=0.02
mu=0.53 #ρ=2/3
maxdim = [200, 400]
mindim = [200]
nsweeps=35
cutoff = [1E-12]
noise=[1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,1E-11,0,0,0,0,0,0,0]
sites = siteinds(n->isodd(n) ? "Boson" : "S=1/2",N)
psi0 = randomMPS(sites)
terms = OpSum()
for i=1:2:(N-2)
terms += -alpha, "Adag",i,"Z",i+1,"A",i+2
terms += -alpha, "A",i,"Z",i+1,"Adag",i+2
end
for i=1:2:(N-2)
terms += -t, "Adag",i,"A",i+2
terms += -t, "A",i,"Adag",i+2
end
for i=1:2:N
terms += (U/2), "N",i,"N",i
terms += - (U/2), "N",i
end
for i=1:2:N
terms += -(mu), "N",i
end
for i=1:2:(N-2)
terms += (delta/2), "Z",i+1
end
for i=1:2:(N-2)
terms += beta, "X",i+1
end
H = MPO(terms, sites)
energy,psi = dmrg(H,psi0;nsweeps,maxdim,noise,observer=obs,cutoff)
densities = []
sigmazs=[]
for i in 2:2:N
opz = expect(psi, "Z"; sites=i)
push!(sigmazs, opz)
end
for i in 1:2:N
density = expect(psi, "N"; sites=i)
push!(densities, density)
end
@show sigmazs
end
I would greatly appreciate any insights or suggestions you might have regarding this issue. Thank you once again for your help!
Best regards,