-
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.
Browse files
Browse the repository at this point in the history
* Bug fix: collapsing blocks with clbits Co-authored-by: chriseclectic <cjwood@us.ibm.com> * release notes * similar fix to DAGDependency * additional fixes to handle classical bits in conditions * fixing lint issue * Fixing handling of conditions over full registers, following review comments --------- Co-authored-by: chriseclectic <cjwood@us.ibm.com> (cherry picked from commit 788b89d) Co-authored-by: Alexander Ivrii <alexi@il.ibm.com>
- Loading branch information
1 parent
87edd8b
commit 5f39f6b
Showing
5 changed files
with
375 additions
and
20 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
9 changes: 9 additions & 0 deletions
9
releasenotes/notes/fix-collapse-with-clbits-e14766353303d442.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,9 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed a bug in :class:`~BlockCollapser` where classical bits were ignored when collapsing | ||
a block of nodes. | ||
- | | ||
Fixed a bug in :meth:`~qiskit.dagcircuit.DAGCircuit.replace_block_with_op` and | ||
:meth:`~qiskit.dagcircuit.DAGDependency.replace_block_with_op` | ||
that led to ignoring classical bits. |
Oops, something went wrong.