+1 vote
asked by (130 points)

Hi Miles,

I follow the instruction in following post and implement the autompo for 3spin operator successfully. Thanks a lot.

However, when I try to feed the mpo with 3 spin to auto expH = toExpH(ampo,tau*Cplx_i); It returns error. Is it because the implementation of toExpH for 3spin interaction is not yet complete? Are there simple workaround to get similar effect as toExpH for the 3spin MPO?

Thanks a lot.

1 Answer

0 votes
answered by (70.1k points)

Hi, so yes the answer is that toExpH still uses the older back end right now, which is the one that only supports up to two-site operators only. The newer back end that supports more than two is very complex, so it's not so straightforward to offer the toExpH feature without a lot of development and testing. I may be able to add it sometime over the next few months. Can you file a bug report about this on Github? (Not that it's a bug per se, but you can label it as a feature request.)


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.