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
I don't think we ever purposefully supported passing an MPS as the second argument of random_mps (if that works for non-QN tensors, that is most likely just an accident), you should use random_mps(sites, ["UpDn", "Emp"]).
Description of bug
I'm trying to make a random MPS with quantum number conservation; random_mps(sites, ψ) results in an error buried pretty far down.
Minimal code demonstrating the bug or unexpected behavior
Minimal runnable code
Expected output or behavior
I expect a random MPS
Actual output or behavior
Output of minimal runnable code
Version information
versioninfo()
:using Pkg; Pkg.status("ITensors")
:The text was updated successfully, but these errors were encountered: