MPO construction from two site custom op

See Miles’ answer from here:

Essentially the OpSum system can’t do that at the moment, however if you can write it as a string (O_i \otimes O_j \dots ) or a sum of strings as in the post then that can be used. And for generic 2 site matrices you would have to decompose it by hand into that format