-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mpl circuit drawer with fold=-1 hanging with ControlFlow ops (#12016
) (#12037) * Fix typing-extensions * Fix control flow with fold minus one (cherry picked from commit 43381ae) Co-authored-by: Edwin Navarro <enavarro@comcast.net>
- Loading branch information
1 parent
89d97a8
commit c9b4687
Showing
4 changed files
with
30 additions
and
1 deletion.
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
8 changes: 8 additions & 0 deletions
8
releasenotes/notes/fix-control-flow-fold-minus-one-f2af168a5313385f.yaml
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,8 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed an issue with the :func:`circuit_drawer` or :meth:`QuantumCircuit.draw` | ||
when using the ``mpl`` output option where the program would hang if the | ||
circuit being drawn had a ControlFlow operation in it and the ``fold`` option | ||
was set to -1 (meaning no fold). | ||
Fixed `#12012 <https://github.com/Qiskit/qiskit/issues/12012>`__. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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