We should define a function originalsiteind[s] that returns the site index that would be used to create the MPS/MPO (and therefore is the "correct" site index to create new operators). Something like:
Notice the dag is important because for an MPO with QNs, the site index with prime level 0 is actually the daggered version of the site index used to create it.
We should define a function
originalsiteind[s]
that returns the site index that would be used to create the MPS/MPO (and therefore is the "correct" site index to create new operators). Something like:Notice the
dag
is important because for an MPO with QNs, the site index with prime level 0 is actually the daggered version of the site index used to create it.Originally posted by @mtfishman in https://github.com/GTorlai/PastaQ.jl/pull/172#r567895496