Search found 15 matches

by amankumar
21 Oct 2020, 18:23
Forum: HowTos and FAQ for TeNPy
Topic: Symmetries Of lattice
Replies: 9
Views: 156

Re: Symmetries Of lattice

Yes while copying code here, I missed that term, which I have updated now. But still I did not understood this distinct behaviour of ground state with or without parity.
Also, how to implement total Sz conserve symmetry here?
by amankumar
21 Oct 2020, 17:49
Forum: HowTos and FAQ for TeNPy
Topic: Symmetries Of lattice
Replies: 9
Views: 156

Re: Symmetries Of lattice

Yes I am considering Ferromagnetic Heisenberg model on hexagonal lattice. Here is my code from tenpy.algorithms import dmrg import numpy as np from mps import MPS from tenpy.models.lattice import Lattice, get_order, _parse_sites,Honeycomb from tenpy.networks.site import SpinHalfSite from tenpy.model...
by amankumar
21 Oct 2020, 15:10
Forum: HowTos and FAQ for TeNPy
Topic: Symmetries Of lattice
Replies: 9
Views: 156

Re: Symmetries Of lattice

Thanks That is fine, when parity is conserved, state is in all up state plus down state, which is confirmed by zero expectation vale of Sz on a site. And in other case, when I turn off parity, I get state to be in all up configuration, confirmed by "one" expectation value of Sz on a site. But I do n...
by amankumar
19 Oct 2020, 09:00
Forum: HowTos and FAQ for TeNPy
Topic: Symmetries Of lattice
Replies: 9
Views: 156

Re: Symmetries Of lattice

Hi
If you need more details, or did not understood my question, please let me know.
Thanks
by amankumar
14 Oct 2020, 21:34
Forum: HowTos and FAQ for TeNPy
Topic: Symmetries Of lattice
Replies: 9
Views: 156

Re: Symmetries Of lattice

Thanks it works fine, but only for small bond dimension. I have another conceptual question in dmrg, I was simulating ferromagnetic heisenberg model using tenpy, and evaluated ground state entanglement entropy for some subsystem. I got Log(2) as answer, as this is obvious ground state preserves spin...
by amankumar
12 Oct 2020, 19:30
Forum: HowTos and FAQ for TeNPy
Topic: Symmetries Of lattice
Replies: 9
Views: 156

Symmetries Of lattice

Hi I wanted to evaluate entanglement entropy for a segment of sites with function entanglement_entropy_segment(). But this can not take more than or equal 12 sites as memory issue. Can I exploit lattice symmetries like translation one using tenpy package, and can extend my segment size to more than ...
by amankumar
05 Jun 2020, 20:01
Forum: HowTos and FAQ for TeNPy
Topic: entanglement_entropy_segment doubt
Replies: 13
Views: 5982

Re: entanglement_entropy_segment doubt

Thank you for the update to allow torus-boundary conditions. And as you pointed I implemented it on Toric Code model and bond dimension is squared as compared to infinite cylinder. 1.) But now I am getting back to my old thread question. I am trying to evaluate entanglement for a system size L_x=L_y...
by amankumar
04 Jun 2020, 09:43
Forum: HowTos and FAQ for TeNPy
Topic: Irregular lattice site removing doubt
Replies: 4
Views: 917

Re: Irregular lattice site removing doubt

I am sorry for posting question in "Papers using TeNPy", I don't remember how did I posted it there. I tried to use Irregular Lattice for Toric Code model by removing those sites which do not belong to any Plaquette of the original square lattice. I am getting an unusual error. Can you help me in th...
by amankumar
02 Jun 2020, 18:38
Forum: HowTos and FAQ for TeNPy
Topic: Irregular lattice site removing doubt
Replies: 4
Views: 917

Irregular lattice site removing doubt

In the new released you updated the Irregular lattice site where one can remove some sites. I read the documentation but did not understood how to specify the sites which one wants to remove. I considered Toric code model(L_x=3,L_y=3) and wanted to remove all sites(18,19,20,21,22,23) which are not s...
by amankumar
18 May 2020, 18:00
Forum: HowTos and FAQ for TeNPy
Topic: entanglement_entropy_segment doubt
Replies: 13
Views: 5982

Re: entanglement_entropy_segment doubt

I understand that, I deliberately tried to change the lattice basis vector and order in Honeycomb lattice. 1.) How to change the model such that it supports toroidal boundary condition, as you suggested in earlier post. Can you guide me for this your famous toric code example. 2.) I tried to impleme...