+20 votes
asked by (62.7k points)
edited by

Help us to help you! Below are some guidelines for writing a question that will help us to help you more quickly, and reduce the amount of extra work you might need to do:

  • Please mention whether you are using Julia or C++, unless it is clear from your question.
  • If you are unsure what a line of code does, or whether a tensor has a certain property, try printing it out! Almost everything in ITensor is printable, using either the @show macro in Julia or the println function in Julia or C++ (or the Print or PrintData functions in C++). The printouts can show you what indices an ITensor has, and you can also print the norm of an ITensor, etc.
  • If you are reporting a bug or something is not working as expected, please provide some minimal code to reproduce your issue. Please refrain from posting very long, complicated codes with many functions unless requested.
  • For physics-related questions involves a Hamiltonian, please state clearly and precisely what this Hamiltonian is, either by writing it out in Latex notation, or by providing a link to a paper (with the equation number)
  • Codes listed on the “ITensor Codes” page (which are in git repo’s outside of the ITensor library itself) are not officially supported. If you do need technical support for those, please contact the creator of that code first if possible. However, we and the ITensor community will still do our best to help you if the code’s creator does not respond to your question.
  • If your question is about convergence of DMRG, please note that it is controlled mainly by two things: the choice of initial state and the accuracy/sweep parameters. Choosing a good initial state is an art, and very system dependent but nonetheless important. Also, turning on the "noise term" to a small value can often help convergence. For more about noise see this page: http://itensor.org/docs.cgi?vers=cppv3&page=tutorials/dmrg_params

1 Answer

+1 vote
answered by (62.7k points)

Just posting this answer so the question appears with a blue badge ;^)

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.