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

Bugfix numpy125 deprecations #335

Merged
merged 2 commits into from
Aug 10, 2023
Merged

Bugfix numpy125 deprecations #335

merged 2 commits into from
Aug 10, 2023

Conversation

coreyostrove
Copy link
Contributor

Product was deprecated in numpy 1.25 and now gives a warning. A couple of our unit tests were tripping up because of this now, so this function call swap (product->prod) should in principle fix that.

Corey Ostrove added 2 commits August 1, 2023 23:33
This commit switches the cirq dependency to cirq-core from cirq. Recently we've begun having pip installation issues due to unresolvable dependency conflicts. I traced this back to cirq, and while I haven't definitely proven this think that it is specifically a dependency issue with the cirq-rigetti submodule. When installing cirq it will by default include all of the optional submodules, most of which are specific hardware platform interface code which isn't needed for our purposes (which is just the ability to output cirq circuit objects). So we should be fine switching to cirq-core and avoiding installation of all of the extra submodules altogether. If a user wants that they can figure out the dependency issues for whichever hardware backend they want to connect to with cirq on their end.
product was deprecated and now gives a warning. A couple of our unit tests were tripping up because of this now, so this function call swap should in principle fix that.
@sserita sserita merged commit 040acad into develop Aug 10, 2023
13 checks passed
@sserita sserita deleted the bugfix-numpy125-deprecations branch August 10, 2023 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants