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

Update pyquil requirement from ~=3.5.4 to ~=4.0.2 #2056

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 17, 2023

Updates the requirements on pyquil to permit the latest version.

Release notes

Sourced from pyquil's releases.

4.0.2 (2023-10-16)

Fixes

update qcs-sdk-rust and quil-rs to pull in fixes (#1680)

Changelog

Sourced from pyquil's changelog.

4.0.2 (2023-10-16)

Fixes

update qcs-sdk-rust and quil-rs to pull in fixes (#1680)

4.0.2-rc.0 (2023-10-16)

Fixes

update qcs-sdk-rust and quil-rs to pull in fixes (#1680)

4.0.1 (2023-09-27)

Fixes

Gates should no longer compare as equal and not equal. (#1671)

4.0.1-rc.0 (2023-09-27)

Fixes

Gates should no longer compare as equal and not equal. (#1671)

4.0.0

The 4.0 release of pyQuil migrates its core functionality into Rigetti's latest generation of Rust SDKs. With this comes access to new features, improved performance, stronger type safety, and better error messages. While this is a significant change for the internals of pyQuil, we've attempted to keep breaking changes to a minimum. Unless necessary, we've chosen to only remove redundant or lesser used features that aren't likely to bother most users.

Breaking Changes

  • Replaced the qcs-api-client dependency with qcs-sdk-python. Consequentially, the former's QCSClientConfiguration has been replaced by the latter’s QCSClient. The QCSClient class can be imported from the api module.
  • Removed the compatibility.v2 sub-package.
  • Removed the EngagementManager class as RPCQ is no longer used.
  • Python 3.7 is no longer supported.
  • The environment variable overrides for quilc and QVM URLs have been renamed to QCS_SETTINGS_APPLICATIONS_QUILC_URL and QCS_SETTINGS_APPLICATIONS_QVM_URL, respectively.
  • The QuantumComputer's run method now takes an optional memory_map parameter. This mapping takes memory region names to a list of values to use for a run. This replaces the ability to use write_memory on Programs.
  • Program and instructions have been re-written using the quil package. Much of the API remains the same, with the following exceptions:
    • SwapPhase has been renamed to SwapPhases
    • TemplateWaveform and its subclasses are no longer @dataclasses.
    • DefFrame and Frame are no longer @dataclasses.
    • The pop method has been removed from Program.
    • A Program that uses QubitPlaceholders or LabelPlaceholders can no longer be pickled
    • DefMeasureCalibration now requires a MemoryReference.
    • fill_placeholders has been removed since it is no longer needed to expand calibrations.
    • The get_qubits method on Gate now returns a list so that ordering is guaranteed.
    • Setting the offsets property on Declare will raise a ValueError if no shared_region is set.
      • When converting to Quil, a Program automatically places DECLAREs at the top of the program.
      • The Program#calibrations property no longer returns measure calibrations, instead use the new measure_calibrations property.
  • The parser module has been removed. Parsing now happens by initializing a Program with the program string you want to be parsed.
  • PRAGMA instructions can no longer have a directive that conflicts with a Quil keyword. If you were using directives like DELAY or FENCE, consider using the respective Quil-T instructions instead.

... (truncated)

Commits
  • ca07ff6 chore: prepare release 4.0.2 [skip ci]
  • 38f6d75 chore: prepare release 4.0.2-rc.0 [skip ci]
  • f84445e fix: update qcs-sdk-rust and quil-rs to pull in fixes (#1680)
  • fdedda2 chore: prepare release 4.0.1 [skip ci]
  • 8b90d65 chore: prepare release 4.0.1-rc.0 [skip ci]
  • fc513ea fix: Gates should no longer compare as equal and not equal. (#1671)
  • 3a6b057 re-enable knope changelog management (#1662)
  • 4fe8fb8 chore: prepare release 4.0.0 [skip ci]
  • 55e9778 chore: prepare release 4.0.0-rc.65 [skip ci]
  • ad79f99 ci: re-add publish workflow
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
pyquil [>= 3.0.a, < 3.1]

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [pyquil](https://github.com/rigetti/pyquil) to permit the latest version.
- [Release notes](https://github.com/rigetti/pyquil/releases)
- [Changelog](https://github.com/rigetti/pyquil/blob/master/CHANGELOG.md)
- [Commits](rigetti/pyquil@v3.5.4...v4.0.2)

---
updated-dependencies:
- dependency-name: pyquil
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the infrastructure For issues related to building, packaging, and continuous integration. label Oct 17, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 19, 2023

Superseded by #2063.

@dependabot dependabot bot closed this Oct 19, 2023
@dependabot dependabot bot deleted the dependabot/pip/pyquil-approx-eq-4.0.2 branch October 19, 2023 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure For issues related to building, packaging, and continuous integration.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants