-
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.
Add regression tests of single-bit conditions in QuantumCircuit.compo…
…se (#7806) (#7878) Recent work in #7653 had introduced a bug where a private method `DAGCircuit._map_condition` would fail on single-bit conditionals. This method is used by `QuantumCircuit.compose`, and our CI should have caught the issue before merge. This commit introduces regression tests to prevent this from happening again. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 528740f) Co-authored-by: Jake Lishman <[email protected]>
- Loading branch information
1 parent
41f9774
commit 080950b
Showing
1 changed file
with
59 additions
and
0 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