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 deprecated Numpy logic in NormalizeRXAngles #11023

Merged
merged 2 commits into from
Oct 23, 2023

Commits on Oct 16, 2023

  1. Fix deprecated Numpy logic in NormalizeRXAngles

    This new pass added in Qiskitgh-10634 uses some deprecated Numpy properties
    and has some slightly fragile exception-based logic when the required
    properties can be directly tested.  This code issues warnings with Numpy
    1.25+, which is currently not used by CI due to Qiskitgh-10305.
    jakelishman committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    0a8e00a View commit details
    Browse the repository at this point in the history
  2. Fix return value

    jakelishman committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    38a26eb View commit details
    Browse the repository at this point in the history