+1 vote
asked by (240 points)

Hi Miles

           I was wondering how can we construct the matrix product density operator in ITensor since there is not any explicit way of doing that. I need to construct MPDO for the pure state as thermal state. Thanks in advance.

1 Answer

0 votes
answered by (49k points)

Hi, good question but the important thing to know is that basically the MPS and MPO classes in ITensor are essentially just arrays of ITensors. The only details beyond them just being arrays are that they "remember" their orthogonality center (if they have one) and they have some associated functions that expect those types (MPS, MPO) to be passed.

But you can always put any collection of ITensors into an array and pass this array around, or store this array in a custom type (MPDO, say) then define analogous functions or operations on it as we have for MPS and MPO.

Finally, an MPDO is structurally equivalent to an MPO, correct? If so you could just repurpose the ITensor MPO type for your work. Or are you referring to the network I know as a "locally purified state" which looks more like two MPO's contracted together?

Best regards,
Miles

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

...