-
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
Add option to user config to control idle_wires
in circuit drawer
#12462
Conversation
Co-Authored-By: diemilio <[email protected]>
One or more of the following people are relevant to this code:
|
# We need a second run of BasisTranslator to correct gates outside of | ||
# the target basis. This is a known isssue, see: | ||
# https://docs.quantum.ibm.com/api/qiskit/release-notes/0.33#known-issues |
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.
unrelated to the issue. Just too small to deserve its own PR
Pull Request Test Coverage Report for Build 9479023804Details
💛 - 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.
LGTM, can approve once CI passes.
Co-authored-by: Elena Peña Tapia <[email protected]>
…iskit#12462) * Add option to user config to control idle_wires in circuit drawer Co-Authored-By: diemilio <[email protected]> * docs * 11339 * Update qiskit/visualization/circuit/circuit_visualization.py Co-authored-by: Elena Peña Tapia <[email protected]> --------- Co-authored-by: diemilio <[email protected]> Co-authored-by: Elena Peña Tapia <[email protected]>
Summary
Inspired by #12361 and based on #9211 (co-authorship included).
Closes #11317 and other unrelated formatting issues.
Details and comments
This PR adds the option
circuit_idle_wires
to the user config file to modify the default behavior of theidle_wires
option in thecircuit_drawer
. For example, the following configuration in thesettings.conf
file:the circuit drawer wont display idle wires when called without any parameter.