+1 vote
asked by (130 points)

I'm working on a 3-flavor fermion model on DMRG and coming up with the correlation of fermion operator.
I don't know the rule of Jordan Wigner string "F" in this situation. Please give me some info about how AutoMPO deal with self-writing Fermions

2 Answers

+1 vote
answered by (8.5k points)


Thanks for the question. Have you taken a look at this tutorial page on Jordan-Wigner strings and fermions? https://itensor.org/docs.cgi?page=tutorials/fermions

AutoMPO will basically use the rules outlined on that page to generate the Jordan-Wigner strings, that should give you an idea for how it works.


0 votes
answered by (46.8k points)

Matt's answer is the right one, and do please see that article about fermions and how they are handled in ITensor.

To provide some additional information, there is currently only one place in ITensor where fermions are handled automatically for you, and that is in the AutoMPO system. So if you input Hamiltonian terms which contain fermionic operators (such as C and Cdag for spinless fermions, or Cup, Cdagup, Cdn, Cdagdn for electrons) then the AutoMPO system will use special rewriting rules and insert Jordan-Wigner string for you. (In the Julia version of ITensor, you can also extend this system for custom physical site types.) So the resulting MPO will be guaranteed to be correct in terms of treating fermionic operators.

On the other hand, when working with an MPS such as the one obtained after a DMRG calculation, you must insert Jordan-Wigner string operators yourself when measuring fermionic correlation functions, such as between a c-dagger and c operator acting on spatially separated sites. We have an example of how to do this for spinless fermions in the C++ version linked here:

Hope that helps -


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.