0 votes
asked by (390 points)

Dear Miles,

is there an easy way in ITensor to compute the specific heat of a chain? Namely is the operator H^2 already implemented somewhere or could it be generated easily with AutoMPO?

Thanks a lot!

All the best,
Jacopo

1 Answer

0 votes
answered by (14.1k points)

Hi Jacopo,

To create @@H^2@@, you could always create @@H@@ with AutoMPO and then use the function nmultMPO to multiply the MPO @@H@@ with itself.

Otherwise, to use AutoMPO, you would have to write out by hand all of the terms resulting from @@H^2@@, and input those terms into AutoMPO. This shouldn't be too bad for a Hamiltonian with local interactions.

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

...