Search found 6 matches

by daniel
01 Nov 2019, 12:48
Forum: HowTos and FAQ for TeNPy
Topic: Entanglement entropy for disconnected subsystems
Replies: 4
Views: 4631

Re: Entanglement entropy for disconnected subsystems

Now it works perfectly. Thanks a lot!
by daniel
30 Oct 2019, 13:29
Forum: HowTos and FAQ for TeNPy
Topic: Entanglement entropy for disconnected subsystems
Replies: 4
Views: 4631

Re: Entanglement entropy for disconnected subsystems

If a try segment = [0, 2] I get the following error KeyError: "Label not found: 'p1', current labels: ['p0', 'p0*', 'p', 'p*']" However, for segment = [0, 1] there is no problem. I am using the following lattice lat = Lattice([L], [spin_site] * 4, bc=bc, bc_MPS=bc_MPS) This means I have a ...
by daniel
28 Oct 2019, 16:43
Forum: HowTos and FAQ for TeNPy
Topic: Entanglement entropy for disconnected subsystems
Replies: 4
Views: 4631

Entanglement entropy for disconnected subsystems

Hi, I would like to calculate the entanglement entropy for a ladder geometry (finite or infinite) by cutting longitudinally, this is, through the rungs of the ladder, such that the subsystems A and B correspond to different chains. However, I implement this geometry using a 1D MPS with an enlarged u...
by daniel
20 Dec 2018, 15:25
Forum: HowTos and FAQ for TeNPy
Topic: Unit cell with different types of sites
Replies: 4
Views: 5514

Re: Unit cell with different types of sites

Thank you very much for the detailed answer. Everything works perfectly if I use the Mixer.
by daniel
13 Dec 2018, 17:04
Forum: HowTos and FAQ for TeNPy
Topic: Unit cell with different types of sites
Replies: 4
Views: 5514

Re: Unit cell with different types of sites

Hi, I have a different but related issue with the implementation of the mentioned model. When I run dmrg I get stuck in the initial state I started with, which I get back as a solution (which is clearly wrong). I realized that this problem does not occur if, instead of starting with a product state ...
by daniel
21 Nov 2018, 17:01
Forum: HowTos and FAQ for TeNPy
Topic: Unit cell with different types of sites
Replies: 4
Views: 5514

Unit cell with different types of sites

Hi all, I am building a Hamiltonian model with two different types of sites: one type is located on the vertices of a one-dimensional lattice and the other one is located on the links, similarly to lattice gauge theory models. To do this, I implement a lattice with a unit cell formed by two sites, c...