Search found 5 matches

by nick
25 Feb 2023, 19:29
Forum: HowTos and FAQ for TeNPy
Topic: Translationally Invariant MPS from Single Site DMRG
Replies: 4
Views: 5503

Re: Translationally Invariant MPS from Single Site DMRG

I hope I might ask some questions about the thread above. It seems like, because C^i is a square matrix and unitaries are square, that the above assumes that B_0^i and B_1^i have the same bond dimension. When I run iDMRG for my model of interest (spin-1 antiferromagnetic Heisenberg, which is gapped ...
by nick
05 Jan 2023, 03:10
Forum: HowTos and FAQ for TeNPy
Topic: Making an MPO given its tensors
Replies: 2
Views: 1766

Re: Making an MPO given its tensors

After reading the documentation more thoroughly, I see that the intermediate step that was missing was to use "tenpy.linalg.np_conserved.Array.from_ndarray_trivial" to convert my arrays to the appropriate format. This solves my problem, and my classical lattice computations are running smo...
by nick
21 Dec 2022, 08:06
Forum: HowTos and FAQ for TeNPy
Topic: Making an MPO given its tensors
Replies: 2
Views: 1766

Making an MPO given its tensors

I am hoping to run DMRG on the Hermitian transfer matrices of certain lattice and vertex models, like the 2d Ising model. These models' transfer matrices have the nice property that they can be represented as MPOs with explicit bulk and edge tensors. I believe that to run DMRG in TeNPy to find the e...
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: 1845

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: 1845

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...