Hi everyone,

I was wondering If there is any way of constructing an MPO from several two site gates where all gates are acting on different sites??

0 votes

Hello,

Do you mean an MPO that is a sum of gates, or a product of gates?

If the MPO is a sum of gates, you can use AutoMPO to easily create an MPO (as long as you write your gates in terms of products of local operators):

https://itensor.org/docs.cgi?page=classes/autompo

If you mean a product of gates, there is a formula here that shows how to do it for a particular gate structure:

http://www.itensor.org/docs.cgi?vers=cppv3&page=formulas/gates_to_mpo

The code would need to be adapted for other gate structures.

Cheers,

Matt

...