Search found 13 matches

by Leon
05 Feb 2019, 10:55
Forum: HowTos and FAQ for TeNPy
Topic: How to generate a random MPS in tenpy
Replies: 5
Views: 6774

Re: How to generate a random MPS in tenpy

You could potentially use the classmethod from_full() in tenpy.networks.mps.py.

I am curious why you would need a fully random MPS. Does starting from a random product state with the mixer implemented not give your desired results?
by Leon
19 Oct 2018, 09:26
Forum: Implementations
Topic: Multi-Site Expectation Value
Replies: 6
Views: 16309

Re: Multi-Site Expectation Value

What exactly is the difference between this method and the native MPS.expectation_value()? The latter can already take in a sequence of operators.
by Leon
02 Oct 2018, 08:56
Forum: HowTos and FAQ for TeNPy
Topic: About calculating the momentum for entanglement spectrum
Replies: 4
Views: 16095

Re: About calculating the momentum for entanglement spectrum

By my (limited) understanding: compute_K() calculates the y-momentum resolved entanglement spectrum, where y is the direction along the circumference of your cylinder. This is done by obtaining the dominant eigenvector of the mixed transfer matrix found by 'rotating' part of the cylinder around the ...