Hi,
Is it possible to operate on an MPO from both directions? It seems that the following is correct:
using ITensors, ITensorMPS
let
s = siteinds("Qubit",2)
oper = op("Rx", s[1], θ=π/5)
mpo = MPO(s, "I")
mpo =apply(oper, mpo)
end
However, changing the apply
command to mpo = apply(mpo, oper)
throws an error. In some cases it would be useful to build an MPO from both directions, not only by applying the operators naively from left to right.