Hello,
from what I understand in version 3.1 QN conservation is demanded at the level of the declaration of sites, as:
auto sites = SpinHalf(2*N,{"ConserveQNs=",true});
Is there a way to makes the indices conserve Sz (for example) quantum numbers in the ancilla purification method to construct thermal states?
Assuming obviously the Hamiltonian conserve QN as
auto ampo = AutoMPO(sites);
for(auto j : range1(N-1))
{
auto s1 = 2j-1,
s2 = 2j+1;
ampo += 0.5,"S+",s1,"S-",s2;
ampo += 0.5,"S-",s1,"S+",s2;
ampo += "Sz",s1,"Sz",s2;
}
auto H = toMPO(ampo);
what would be the choice of the initial infinite temperature state with the correct QN to be evolved in imaginary time with H?
All my attempts lead to "Mismatched QN Index arrows" error.
Thanks a lot!
Jacopo.