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

Commits on Aug 2, 2023

  1. Switch from cirq to cirq-core in setup.py

    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.
    Corey Ostrove committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    32eec26 View commit details
    Browse the repository at this point in the history
  2. product -> prod

    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.
    Corey Ostrove committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    57b277c View commit details
    Browse the repository at this point in the history