-
Notifications
You must be signed in to change notification settings - Fork 117
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
[ITensors] [BUG] randomMPS
doesn't return MPS with minimal bond dimension on the boundaries
#869
Comments
The reason for this is because essentially this is implemented using a staircase circuit structure, which causes the asymmetry in the bond dimension. You should be able to use the In principle we could have two staircase circuits that start from the left and right edges and meet in the middle. In that way the "center" where it meets could be a keyword argument the user could choose. |
Great, looks like you found a simple fix using the current code in #870. |
randomMPS
doesn't return MPS with minimal bond dimension on the boundaries
Description of bug
Rather likely "unintended behavior" than "bug": The
randomCircuitMPS
function returns MPS, where the bond dimension grows starting from the end of the chain and is maximal at the first site. Usually, one would like to have the bond dimension at both the first and the last site equal to the local Hilbert space dimension and maximal at the center.How to reproduce
Expected behavior
Usually, one would like to have the bond dimension at both the first and the last site equal to the local Hilbert space dimension and maximal at the center. This means the expected behavior would be
Actual behavior
The actual behavior is as described above:
Code demonstrating bug
See above.
Version information
ITensors v0.2.16
The text was updated successfully, but these errors were encountered: