+1 vote
asked by (320 points)

Hi Miles

I want do time evolution in PBC with two sites Hamiltonian . For example, a chain made of 12 sites whose first site is related to the 12. I can only find code example in "Make a 2D Hamiltonian for DMRG" that uses
lattice = square_lattice(Nx, Ny; yperiodic = false)
If I imitate the code from "MPS Time Evolution" in document with my own Hamiltonian, how can I add PBC?

1 Answer

0 votes
answered by (70.1k points)
selected by
 
Best answer

Hi, to answer your question, I just added a "Frequently Asked Question" FAQ entry here:
https://itensor.github.io/ITensors.jl/dev/faq/DMRG.html#How-to-do-periodic-boundary-condition-DMRG

since it's something I get asked from time to time.

Please let me know if that FAQ doesn't answer your question & we could discuss it more.

Miles

commented by (320 points)
Thanks a lot. The code works well.Before you told me, I thought the PBC time evolution is different from  PBC DMRG. But I can do it the same way.
commented by (70.1k points)
I see, yes for time evolution it’s very similar. Though if you use Trotter gates then it can get expensive to do the “long bond” that way. We will soon release a TDVP code that will be a better option for complicated Hamiltonians such as periodic ones.
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

...