This replaces the functions trivialstate/trivialprocess with productstate/productoperator, and additionally removes the mixed = true case in the favor of converting to an MPO with MPO(productstate(s)).
Right now, trivialstate makes a state without link indices, for no particular reason other than that I was interested to see if it worked and because it makes the code a bit simpler. This exposed some bugs in ITensors/NDTensors, so I'm working through those right now.
Left to do:
[x] Fix some test errors in fidelity (probably related to updating the MPO(::MPS) function).
This replaces the functions
trivialstate
/trivialprocess
withproductstate
/productoperator
, and additionally removes themixed = true
case in the favor of converting to an MPO withMPO(productstate(s))
.Right now,
trivialstate
makes a state without link indices, for no particular reason other than that I was interested to see if it worked and because it makes the code a bit simpler. This exposed some bugs in ITensors/NDTensors, so I'm working through those right now.Left to do:
MPO(::MPS)
function).choifidelity
in favor offidelity
.