-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix the bug when doing schedule with measurements for BackendV2 #10299
base: main
Are you sure you want to change the base?
Conversation
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 the following people are requested to review this:
|
Note the implementation proposed in #10285 . |
Thanks, @chuanqixu . |
@to24toro Thank you for the information! I checked the code and discussions regarding this bug before creating this PR and was aware of the decision to replace As I mentioned in #10298, the bug is due to the current scheduling process when calling However, the scheduling bug is due to that no backend is passed to this argument, and thus it always uses the default value I checked all references in the Qiskit source code, and it seems that there is no place passing backend to I agree with the solution in #10285. |
@chuanqixu @nkanazawa1989 |
Summary
Currently, it does not support
BackendV2
for scheduling.I check
backend.instruction_schedule_map
, and it seems that the difference is thatBackendV1
has the simultaneous measurement operation for all qubits, whileBackendV2
does not have such an operation.Details and comments
More details can be found in #10298 .
I solved this with simple changes.
Only added one argument for
ScheduleConfig
.