sandialabs / pyGSTi

A python implementation of Gate Set Tomography
http://www.pygsti.info
Apache License 2.0
134 stars 56 forks source link

Replace deprecated numpy.product, numpy.NaN and others #413

Closed eendebakpt closed 6 months ago

eendebakpt commented 6 months ago

Numpy 2.0 is about to be released and several deprecated attributes will be removed. In this PR we replace them with the preferred alternatives.

Also see: https://github.com/numpy/numpy/issues/24300, https://numpy.org/devdocs/numpy_2_0_migration_guide.html