Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecated Numpy logic in
NormalizeRXAngles
(Qiskit#11023)
* 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. * Fix return value
- Loading branch information