-
Notifications
You must be signed in to change notification settings - Fork 134
PurificationMPS.overlap() equal to MPS.overlap(). How to compute physical distances with PurificationMPS? #502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, can you clarify exactly which distance/overlap you are interested in? We probably dont have it out of the box, but I can help you get there |
I'm interested in measuring an analogous "Frobenius distance" for PurificationMPS, only accounting (somehow, I'm not quite sure how this could be done) for the physicial legs in the tensor. The context is that I am trying to measure convergence properties of different time evolutions given two random initial states. In terms of density matrices, I use the usual Frobenius distance, and I would like to find something similar when working with tensor networks. Thank you again for the help! |
So you need overlaps of the form |
Yes, those kinds of overlaps, but tracing out the ancillary part in the PurificationMPS. I'm only interested in the distance of the physical part of the tensor. |
Ok, gotcha. First, what you need to do to compute this:
For the overlap, we have In this case,
where the dots indicate to connect the top wires with the bottom wires So the clean strategy for a proper implementation would be the following:
If you are up for a challenge to do this implementation cleanly, we would welcome a PR on this. |
Thank you very much! It worked. I'll prepare a PR as soon as possible :) |
Hello!
I have found myself recently with the problem of encoding density matrices in PurificationMPS. Once I have encoded the purification of the state to a PurificationMPS, I want to compute the distance between this PurificationMPS and another one to see if it is the same as the distance between the original density matrices. However, when computing the overlap over two PurificationMPS, I get the same as encoding the array as MPS. Is there a way to compute the distance over the physical part of the PurificationMPS?
Thank you!
The text was updated successfully, but these errors were encountered: