You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 7, 2024. It is now read-only.
Error in the numpy backend svd_decomposition when max_singular_vals is larger than actual bond dimension #419
The reason is that np.linalg.svd returns the full U, V^\dagger matrices by default (unlike pytorch and TF which return the reduced SVD by default). Hence when only max_singular_values is specified and it is larger than min(rank(U),rank(V^\dagger)), svd_decompostion will try to reshape one of the matrices to the wrong shape (U in this case).
Activity
orialb commentedon Jan 12, 2020
fixed by #420