Dear ITensor team,
Thanks for your reply. I want to save ground state by DMRG calculation, and I fellow the tutorial exactly https://itensor.org/docs.cgi?vers=cppv3&page=classes/readwrite
writeToFile("GSwavefunctionfile",psi);
But when I load ground state MPS in the other code:
auto psi = readFromFile("GSwavefunctionfile",sites)
I get following error:
"From line 568, file indexes.cc
In findIndex: more than one Index found, consider using findInds instead
In findIndex: more than one Index found, consider using findInds instead
"
and I print my MPS from the file and Hamiltonian(MPO) in the current code
Print(psi(1));
Print(H(1));
I find site information are not one-one correspondence. I want to know the correct way to write MPS and read MPS from the file, in order to do time-evolution operation. Please help me, many thanks!