forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to user config to control
idle_wires
in circuit drawer (Q…
…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]>
- Loading branch information
Showing
7 changed files
with
139 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
features_visualization: | ||
- | | ||
The user configuration file has a new option ``circuit_idle_wires``, which takes a Boolean | ||
value. This allows users to set their preferred default behavior of the ``idle_wires`` option | ||
of the circuit drawers :meth:`.QuantumCircuit.draw` and :func:`.circuit_drawer`. For example, | ||
adding a section to ``~/.qiskit/settings.conf`` with: | ||
.. code-block:: text | ||
[default] | ||
circuit_idle_wires = false | ||
will change the default to display the bits in reverse order. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters