Search found 6 matches

by vmen
28 Jun 2024, 16:11
Forum: HowTos and FAQ for TeNPy
Topic: Problem with npc.detect_legcharge
Replies: 0
Views: 2333

Problem with npc.detect_legcharge

Hi, This question deals with somewhat uncommon usage of the np_conserved module. I would greatly appreciate help, as I suspect there may be a bug with the npc.detect_legcharge function. I am using the np_conserved module to create my own MPO. The purpose is to simulate a layer of two qubit gates. Su...
by vmen
14 May 2024, 00:14
Forum: HowTos and FAQ for TeNPy
Topic: Calculating Purity of PurificationMPS
Replies: 1
Views: 1519

Calculating Purity of PurificationMPS

Hi, If I have a purification MPS representing a finite temperature thermal mixed state \rho , is there an efficient way I can compute the purity Tr[\rho^2] of the thermal state? I am not sure if there is even a way to compute moments of the actual thermal state from the pure MPS in the purified spac...
by vmen
17 Apr 2024, 22:52
Forum: HowTos and FAQ for TeNPy
Topic: Applying different time evolution to different subsystems with TEBD
Replies: 2
Views: 30534

Applying different time evolution to different subsystems with TEBD

Hello, I have an MPS for which I want to simulate time evolution, but the time evolution I seek is by evolving under two different Hamiltonians H_1 and H_2 . I want to evolve under U_1=exp(-iH_1t) on the subsystem composed of sites 0,2,4,...L-1, and U_2=exp(-iH_2t) on the subsystem composed of sites...
by vmen
06 Apr 2024, 19:41
Forum: HowTos and FAQ for TeNPy
Topic: Finding ground states of finite systems with fast vanishing gap
Replies: 1
Views: 13158

Finding ground states of finite systems with fast vanishing gap

Hello, This is a general question about the validity of different algorithms for gapless systems and how to get reasonable results from tensor network methods for such systems. I am trying to find the ground state of a system with a gap that closes at least as fast as O(1/N^2) for system size N. I a...
by vmen
25 Nov 2023, 22:38
Forum: HowTos and FAQ for TeNPy
Topic: How to compute inner product of finite MPS with another finite MPS translated by n sites.
Replies: 2
Views: 29708

Re: How to compute inner product of finite MPS with another finite MPS translated by n sites.

Hi Johannes, Thank you so much for your response, this is really helpful! Also I now realize how the open legs in the diagram might have been confusing - I intended for the dangling legs to indicate periodic contraction, not that they are open. Sorry for the confusion - I do in fact want the periodi...
by vmen
21 Nov 2023, 21:33
Forum: HowTos and FAQ for TeNPy
Topic: How to compute inner product of finite MPS with another finite MPS translated by n sites.
Replies: 2
Views: 29708

How to compute inner product of finite MPS with another finite MPS translated by n sites.

Hi, I am wondering, given finite boundary condition MPSs |M1>, |M2>, how I can compute the inner product <M1|T^n|M2>,, where T is the translation operator (to the right), by one site. For example, for n=1, I want to do the following contraction: M11 - M12- M13- ..... M1(N-1) - M1N \ \ \ \ \ \ M21 - ...