-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecations from mpl circuit drawer (#10020)
* Remove deprecated args from mpl drawer * Reno mod
- Loading branch information
1 parent
4df6f3d
commit 21caf38
Showing
3 changed files
with
14 additions
and
73 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
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/remove-deprecated-mpl-drawer-9d6eaa40d5a86777.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,10 @@ | ||
--- | ||
upgrade: | ||
- | | ||
In the internal ``qiskit.visualization.circuit.matplotlib.MatplotlibDrawer`` object, the arguments | ||
``layout``, ``global_phase``, ``qregs`` and ``cregs`` have been removed. They were originally | ||
deprecated in Qiskit Terra 0.20. These objects are simply inferred from the given ``circuit`` | ||
now. | ||
This is an internal worker class of the visualization routines. It is unlikely you will | ||
need to change any of your code. |