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.
Merge branch 'main' into extend-params
- Loading branch information
Showing
10 changed files
with
124 additions
and
37 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
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
13 changes: 13 additions & 0 deletions
13
releasenotes/notes/circuit-draw-warn-justify-03434d30cccda452.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,13 @@ | ||
--- | ||
deprecations_visualization: | ||
- | | ||
The ``justify`` argument of :func:`circuit_drawer` or :meth:`QuantumCircuit.draw`, will | ||
no longer support invalid values (previously changing them to the default), and in a future | ||
release they will error. Valid justify values are ``"left"``, ``"right"`` or ``"none"``. | ||
fixes: | ||
- | | ||
Fixed an issue where :func:`circuit_drawer` or the :meth:`QuantumCircuit.draw` method would | ||
not raise a warning when an invalid value was passed to the ``justify`` argument, before | ||
changing it to the default. Now, it will raise a warning if an invalid value is passed. | ||
Valid justify values are ``"left"``, ``"right"`` or ``"none"``. Refer to | ||
`#12089 <https://github.com/Qiskit/qiskit/issues/12089>` for more details. |
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/raise-on-illegal-replace-block-50cef8da757a580a.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,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
Previously, :meth:`.DAGCircuit.replace_block_with_op` allowed to place an | ||
``n``-qubit operation onto a block of ``m`` qubits, leaving the DAG in an | ||
invalid state. This behavior has been fixed, and the attempt will raise | ||
a :class:`.DAGCircuitError`. |
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