Closed mergify[bot] closed 1 week 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:
@Qiskit/terra-core
@nkanazawa1989
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
qiskit/visualization/pulse_v2/device_info.py | 1 | 36 | 2.78% | ||
<!-- | Total: | 1 | 36 | 2.78% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
crates/qasm2/src/expr.rs | 1 | 94.02% | ||
qiskit/visualization/pulse_v2/device_info.py | 1 | 39.71% | ||
qiskit/transpiler/passes/synthesis/unitary_synthesis.py | 2 | 88.2% | ||
crates/qasm2/src/lex.rs | 4 | 92.62% | ||
<!-- | Total: | 8 | --> |
Totals | |
---|---|
Change from base Build 9596771851: | -0.01% |
Covered Lines: | 61834 |
Relevant Lines: | 68749 |
Summary
v2 pulse drawer crashes when the draw function is called with a V2 backend that doesn't have configuration and defaults attributes. Since qiskit-ibm-runtime 0.24 was released and fake V1 backends were deprecated, we should to support visualization with fake V2 backends that doen't have configuration and defaults attributes.
Details and comments
This is an automatic backport of pull request #12608 done by Mergify.