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

Stop depending on Circuit Metadata | Upgrade Qiskit-Terra Dependency Cap the Qiskit-Terra version #369

Closed
grace-harper opened this issue May 5, 2023 · 2 comments

Comments

@grace-harper
Copy link
Collaborator

grace-harper commented May 5, 2023

What is the expected behavior?

Running tests yields:

Test the error rates using some repetition codes. ... python3.9/site-packages/qiskit_aer/backends/aerbackend.py:463: DeprecationWarning: Setting metadata to None was deprecated in Terra 0.24.0 and this ability will be removed in a future release. Instead, set metadata to an empty dictionary.
  circ.metadata = metadata

In order to upgrade to Terra 0.24.0, we need to be sure that the metadata isn't necessary for our code to run properly. If it is, we need to create a workaround.

@quantumjim
Copy link
Member

Is there any more info on this issue? I don't see this test failure (even when I remove the cap), and I don't know what dependance on metadata is causing it.

@grace-harper
Copy link
Collaborator Author

Same as #365 issue. Handled in PR: #385

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

No branches or pull requests

2 participants