QuTech-Delft / OpenSquirrel

A flexible (Python-based) quantum program compiler
Apache License 2.0
4 stars 1 forks source link

Make opensquirrel compatible with numpy 2.0 #250

Closed eendebakpt closed 3 weeks ago

eendebakpt commented 1 month ago

Replace numpy deprecated (and in numpy 2.0 removed) functionality with modern numpy options

elenbaasc commented 1 month ago

We have a ticket to check what is required (and what the consequences will be) to update to numpy 2.0. We will pick up these changes when we tackle that.

eendebakpt commented 1 month ago

We have a ticket to check what is required (and what the consequences will be) to update to numpy 2.0. We will pick up these changes when we tackle that.

Nice! Note even without numpy 2.0 support these changes can be worthwhile as they replace methods that are also deprecated in nump 1.26.x