+1 vote
asked by (290 points)
edited by


Zero Temperature magnetization can be found by mgn=(inner(psi,Mz,psi))
Where Mz is uniform magnetization operator. Now my question is how can I find the finite temperature magnetization or other T dependent properties.


1 Answer

+1 vote
answered by (70.1k points)
selected by
Best answer

So as you likely know, the reason inner(psi,Mz,psi) gives the zero-temperature result is because psi is the ground state. In order to compute finite-temperature properties, you must compute the finite temperature state, either as a mixed state or as an average over a collection of pure states. There is an algorithm called the "ancilla algorithm" or "purification algorithm" for doing the first thing (mixed state), or an algorithm called minimally entangled typical thermal states (METTS) for the second thing (average over pure states).

Fortunately, I just added sample codes of how to do each to our examples folder! Here is the link:

Here are references for these two algorithms below also:

Purification or ancilla algorithm:

METTS algorithm:

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.