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.16k stars 2.35k forks source link

enhancing circuit visualization with inlined pulse and circuit #7192

Open ajavadia opened 2 years ago

ajavadia commented 2 years ago

Often circuits are built out of wrapping smaller circuits into one instruction, or out of pulse gates. Right now both of these are shown as a box with a label. Displaying their content by inlining would be a nice option.

The pulse part only makes sense in the matplotlib drawer. The inlined circuit potentially in all drawers (just do a dotted line and label the box, as described in this issue: https://github.com/Qiskit/qiskit-terra/issues/2944).

taalexander commented 2 years ago

Could you maybe make a simple diagram @ajavadia that would help elaborate on what you had in mind?