Learn to Use ITensor

main / upgrade2to3

Version 2 to 3 Upgrade Guide

Here we list some of the largest and most important changes to know about when switching from ITensor version 2 to version 3. We also discuss some upgrades for specific tasks you may have, such as a DMRG calculation.

For much more detailed info about the changes made in version 3, see the changelog.

To move to version 3 if you have already cloned ITensor, you have to switch to the v3 branch. To do so, use the commands
git pull
git checkout v3

Major or Required Changes

Recommended, Optional Changes

These are changes we recommend to follow the standards of version 3, or to avoid using now-deprecated features, but which are not required to make your code compile:

Task-Specific Upgrades

Back to Main