Skip to content
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

Fix scipy sqrtm precision issue #864

Merged
merged 5 commits into from
Jan 16, 2024

Conversation

fdmalone
Copy link
Collaborator

Addresses #815 by replacing la.sqrtm with the square root computed via eigendecomposition. Just bumping the input array's precision to 256 didn't solve the problem.

@fdmalone fdmalone changed the title Scipy precision issue Fix scipy sqrtm precision issue Jan 16, 2024
@fdmalone
Copy link
Collaborator Author

See #865 which tracks the capping of cirq for the CI.

@fdmalone
Copy link
Collaborator Author

Will need to cut a new release to fix #851.

Copy link
Collaborator

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks fionn

@fdmalone
Copy link
Collaborator Author

I need to fix a comment typo don't merge.

@fdmalone fdmalone merged commit 39a0b08 into quantumlib:master Jan 16, 2024
11 checks passed
@fdmalone fdmalone deleted the scipy_precision_issue branch January 16, 2024 23:18
@natestemen
Copy link

Hey happy to see this fixed! Any idea when it will be released? It will help us unblock some dependency upgrades over on unitaryfund/mitiq.

@fdmalone
Copy link
Collaborator Author

@natestemen I'll aim to release a patch by the end of the week.

@Misty-W
Copy link

Misty-W commented Feb 8, 2024

hi @fdmalone, hope you don't mind my asking when the patch mentioned in the previous comment is likely to be released? As my teammate Nate mentioned last week, folks on the Mitiq project are excited to see this upgrade in the pipeline!

@fdmalone
Copy link
Collaborator Author

fdmalone commented Feb 9, 2024

@Misty-W , I just released a patched verison

@Misty-W
Copy link

Misty-W commented Feb 9, 2024

@Misty-W , I just released a patched verison

Fantastic, many thanks @fdmalone!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants