Search found 2 matches

by nick
21 Sep 2022, 23:37
Forum: HowTos and FAQ for TeNPy
Topic: 01_dmrg.ipynb but with periodic boundary conditions
Replies: 2
Views: 67

Re: 01_dmrg.ipynb but with periodic boundary conditions

I figured out my confusion. Although there's in principle the option optionCouplingMPOModel.bc_x which takes open or periodic as options, from the inheritance diagram on https://tenpy.readthedocs.io/en/latest/reference/tenpy.models.tf_ising.TFIChain.html, TFIChain is a "NearestNeighborModel&quo...
by nick
21 Sep 2022, 19:09
Forum: HowTos and FAQ for TeNPy
Topic: 01_dmrg.ipynb but with periodic boundary conditions
Replies: 2
Views: 67

01_dmrg.ipynb but with periodic boundary conditions

I am trying out DMRG for the first time in Google Colab with Tenpy. After adding a cell with !pip install physics-tenpy, I am able to run 01_dmrg.ipynb from https://tenpy.readthedocs.io/en/latest/notebooks/01_dmrg.html. It runs well and it's really nice to see the output! One thing I noticed is that...