We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I just noticed that many tests still use s.th. like
mps = random_mpa(...) mps /= mp.norm(mps)
This is a bad idea since the call to norm brings the mps into full left-canoncial form, which might be unintended. So the somewhat right call would be
mps /= mp.norm(mps.copy())
However, the correct thing to do is to use the normalized=True argument provided by most factory functions.
normalized=True
The text was updated successfully, but these errors were encountered:
Fixed in ade14b6.
Sorry, something went wrong.
No branches or pull requests
I just noticed that many tests still use s.th. like
This is a bad idea since the call to norm brings the mps into full left-canoncial form, which might be unintended. So the somewhat right call would be
However, the correct thing to do is to use the
normalized=True
argument provided by most factory functions.The text was updated successfully, but these errors were encountered: