Search found 2 matches

by Leyin
26 Sep 2024, 11:32
Forum: HowTos and FAQ for TeNPy
Topic: Variance of purified MPS state
Replies: 2
Views: 68259

Re: Variance of purified MPS state

Ah okay so for example for the 0 site i would add contr = npc.tensordot(contr, contr, axes=[ 'q', 'q*' ]) in addition to the previos p leg contraction and same further on for B ? Since the contraciton with the W's only happens on the physical legs p and all that gets added new are the virtual legs q...
by Leyin
16 Sep 2024, 10:32
Forum: HowTos and FAQ for TeNPy
Topic: Variance of purified MPS state
Replies: 2
Views: 68259

Variance of purified MPS state

Hi there, I am currently using TenPy to try to calculate thermodynamic observables for bigger yet finite systems. For the first test I wanted to do some smaller ones to test all tools. There I noticed that the MPO.variance method does not work for "non standard MPS" I checked the code and ...