unitaryfund / mitiq

Mitiq is an open source toolkit for implementing error mitigation techniques on most current intermediate-scale quantum computers.
https://mitiq.readthedocs.io
GNU General Public License v3.0
363 stars 163 forks source link

Update qiskit-ibm-runtime requirement from ~=0.20.0 to ~=0.23.0 #2314

Open dependabot[bot] opened 7 months ago

dependabot[bot] commented 7 months ago

Updates the requirements on qiskit-ibm-runtime to permit the latest version.

Release notes

Sourced from qiskit-ibm-runtime's releases.

Qiskit IBM Runtime 0.23.0

Changelog

Deprecated

  • Deprecate backend.run (#1579)
  • Update from_id() (#1311)

Added

  • Add twirling options to SamplerV2 (#1583)
  • Raise an error if dynamical decoupling is used with dynamic circuits (#1593)
  • Level 1 measurement support in Sampler options (#1594)
  • Add elapsed_time to session details (#1581)
  • Pretty print options (#1538)
  • feat: Add qctrl validation for Primitives v2 (#1550)

Fixed

  • Missing circuit metadata in PubResult from SamplerV2 (#1596)
  • Decode empty Databin's (#1580)
  • Custom header not being sent (#1592)
  • ZNE options validation fix (#1588)
  • Use status() for related methods (#1568)
  • Allow new job status' in RuntimeJobV2 (#1494)
  • Fix incorrect specification of noise_gain option (#1575)
  • Fix issue with encoding ParameterExpression (#1536)
Commits


You can trigger a rebase of this PR 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 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

cosenal commented 7 months ago

@andre-a-alves Do you think we can bump this to at least 0.21.2? It would be important to fix the security issue opened here

andre-a-alves commented 7 months ago

Anything starting with 0.21+ appeared to have conflicts with pennylane-qiskit. I'd have to take some time to dig deeper to see if it's possible at this time.

cosenal commented 7 months ago

@andre-a-alves I assigned this to you and I added a comment to the pennylane-qiskit related issue.

andre-a-alves commented 6 months ago

Sorry - I meant to push to a branch on my fork; not this one. I reverted my change

andre-a-alves commented 6 months ago

Leaving what I've found for the record - this is not yet resolved.

cosenal commented 6 months ago

Thanks, @andre-a-alves.

pydantic 2.7.1 is also not compatible with qcs-api-client 0.21.6, but I am not sure, yet, which dependency installs that.

Here is its pipdeptree report:

qcs-api-client==0.21.6
└── pyquil==3.5.4 [requires: qcs-api-client>=0.21.0,<0.22.0]
    └── cirq-rigetti==1.3.0 [requires: pyquil>=3.2.0,<4.0.0]
        └── cirq==1.3.0 [requires: cirq-rigetti==1.3.0]
            └── mitiq==0.36.0.dev0 [requires: cirq>=1.0.0,<1.4.0]

The reason why we can't upgrade to amazon-braket-sdk 1.78.0 yet is also about qcs-api-client and pydantic, see https://github.com/unitaryfund/mitiq/pull/2310

A recap on the chain of dependency events we are wishing for :)

Note that in #2303 I started splitting our dependencies, so that in the future we don't end up in this kind of dependency hell. However, even if that PR gets merged, the development environment still has all the dependencies mixed up.

dependabot[bot] commented 5 months ago

A newer version of qiskit-ibm-runtime exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.