+4 votes
asked by (41.2k 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:

  • If you are using the new Julia version of ITensor or C++ version 2, please mention this: otherwise we will assume you are using C++ version 3 of ITensor.
  • 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 function println or the Print or PrintData functions (or the @show macro in Julia). 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 etc.
  • 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

0 votes
answered by (41.2k 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.

Categories

...