Qiskit / qiskit

Qiskit is an open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.
https://www.ibm.com/quantum/qiskit
Apache License 2.0
5.11k stars 2.34k forks source link

Filter aer warnings in deprecated `FakeBackend` V1 class (backport #13018) #13020

Closed mergify[bot] closed 1 month ago

mergify[bot] commented 1 month ago

Summary

The recent qiskit-aer 0.15 release has introduced deprecation warnings for BackendV1 inputs in NoiseModel.from_backend. We were using this method in the deprecated FakeBackend class (which is, by definition, V1) and this is triggering test failures. I suggest filtering the warnings in FakeBackend until the class is removed in 2.0.

Details and comments


This is an automatic backport of pull request #13018 done by Mergify.

qiskit-bot commented 1 month ago

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 10525115495

Details


Files with Coverage Reduction New Missed Lines %
qiskit/circuit/instruction.py 1 95.64%
qiskit/providers/backend_compat.py 1 89.19%
crates/qasm2/src/expr.rs 1 94.02%
qiskit/transpiler/passes/synthesis/unitary_synthesis.py 2 88.39%
crates/qasm2/src/lex.rs 6 91.73%
<!-- Total: 11 -->
Totals Coverage Status
Change from base Build 10506117955: 0.006%
Covered Lines: 66810
Relevant Lines: 74385

💛 - Coveralls