-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 UnassignedDurationError of update_from_instruction_schedule_map #10447
Fix UnassignedDurationError of update_from_instruction_schedule_map #10447
Conversation
One or more of the the following people are requested to review this:
|
Thanks @to24toro could you please add a test to https://github.com/Qiskit/qiskit-terra/blob/a804df58c8e59c101fc3c13ef6a1a4cb172b9a5b/test/python/transpiler/test_target.py#L1144 and write a release note with bugfix? |
releasenotes/notes/fix-update-from-instruction-schedule-map-d1cba4e4db4b679e.yaml
Outdated
Show resolved
Hide resolved
…cba4e4db4b679e.yaml
Pull Request Test Coverage Report for Build 5597068363
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @to24toro this looks good to me.
…iskit#10447) * fix UnassignedDurationError of update_from_instruction_schedule_map * add test * add reno * rename test * fix reno * Update releasenotes/notes/fix-update-from-instruction-schedule-map-d1cba4e4db4b679e.yaml --------- Co-authored-by: Naoki Kanazawa <nkanazawa1989@gmail.com>
Summary
Update_from_instruction_schedule_map failed when the duration of schedules is treated as a parameter.
I added try.. except statement and set duration
None
when the duration is the parameter.Details and comments