0 votes
asked by (290 points)

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??

1 Answer

0 votes
answered by (14.1k points)

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

Welcome to ITensor Support Q&A, where you can ask questions and receive answers from other members of the community.

Formatting Tips:
  • To format code, indent by four spaces
  • To format inline LaTeX, surround it by @@ on both sides
  • To format LaTeX on its own line, surround it by $$ above and below
  • For LaTeX, it may be necessary to backslash-escape underscore characters to obtain proper formatting. So for example writing \sum\_i to represent a sum over i.
If you cannot register due to firewall issues (e.g. you cannot see the capcha box) please email Miles Stoudenmire to ask for an account.

To report ITensor bugs, please use the issue tracker.

Categories

...