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

Numpy release causes issues #1204

Open
eggerdj opened this issue Jun 19, 2023 · 1 comment
Open

Numpy release causes issues #1204

eggerdj opened this issue Jun 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@eggerdj
Copy link
Contributor

eggerdj commented Jun 19, 2023

Informations

  • Qiskit Experiments version: main
  • Python version: 3.11
  • Operating system: All

What is the current behavior?

A numpy update is causing tests to fail. See e.g.

Steps to reproduce the problem

Run tests with numpy >= 1.26

What is the expected behavior?

Tests should pass.

Suggested solutions

Short-term solution: pin numpy in tests.
Long-term solution: align to numpy 1.26. Mostly looks like fixing this: DeprecationWarning: productis deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please useprod instead.

@eggerdj eggerdj added the bug Something isn't working label Jun 19, 2023
@jakelishman
Copy link
Contributor

Fwiw: we've already merged fixes to all the new deprecation warnings into mainline and stable Terra (we haven't cut a release from them, though, so downstream CI will still likely fail), but there's some deep weirdness with some core Numpy routines that seems to be the root cause of some correctness issues in our Isometry decompositions. Well, I actually can't see why the particular weirdnesses I'm seeing in Numpy code should break our decompositions, to be fair, but there's definitely something going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants