Dear All,
I wish to report a suboptimal behaviour in the mps_optim:
setting the initial state with wrong L (L=10 and there are 12 spins defined)
L=10;
init_state="local_quantumnumbers"
initial_local_S="0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5"
initial_local_Sz="0.5,-0.5,0.5,0.5,-0.5,0.5,-0.5,-0.5,0.5,-0.5,0.5,0.5”
produces a nasty segfault with no warning (in almost all other cases of setting something wrong a message explaining a nature of the problem is printed).
This is not a bug, but a nuissance.
Best,
Mateusz Łącki