-
Notifications
You must be signed in to change notification settings - Fork 189
New visualization tool for compiled circuits scheduling timing information #2361
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
Conversation
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.
I'd add the main visualization function to the parent __init__.py
to make it easier to import.
Is the data that comes back from the job going to be a string or some other object?
qiskit_ibm_runtime/visualization/draw_circuit_schedule_timings.py
Outdated
Show resolved
Hide resolved
qiskit_ibm_runtime/visualization/draw_circuit_schedule_timings.py
Outdated
Show resolved
Hide resolved
qiskit_ibm_runtime/visualization/draw_circuit_schedule_timings.py
Outdated
Show resolved
Hide resolved
qiskit_ibm_runtime/visualization/draw_circuit_schedule_timings.py
Outdated
Show resolved
Hide resolved
Here is a file with scheduling data that can be used for testing. |
I expect it to be a list of strings, where each string represent a single instruction on some channel.
where, here is an example, main,barrier,Qubit 0,7,0,barrier # A barrier on the main branch on qubit 0 at time 7 with 0 duration
main,reset_0,Qubit 0,7,64,play # A reset instruction on the main branch on qubit 0 at time 7 with duration 64 and a play operation
... |
It can be a separate PR, but we talked about giving users the option of saving the figure into a file, to make it easier to zoom in etc and not blocking their notebook. |
Added in 68c693a. |
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.
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.
A minor common on the release note, but otherwise looks good. Thanks @RoyElkabetz!
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 @RoyElkabetz!
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.
LGTM too!
Summary
Related issue: #2328
This Draft is adding a new visualization tool for plotting timing information of compiled quantum circuits.
Details and comments
This is still a WIP, however, I would appreciate any comments / suggestions on how to best integrate that with the repo existing visualization module and structures.
NOTE
The tool is currently usingMovedpandas
, but since it is not a dependency of the repo I will change that to Numpy.TODOs
SamplerPubResult