-
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
Expr
support to DAGCircuit.replace_block_with_node
Control-flow operations might not include their classical resources in their `cargs` fields while in the `DAGCircuit` form (since the resources have no particular order, and are inherent to the operation), so we needed to update the logic of the `wire_pos_map` sorter to have a way to specify that some bits need not be present in the output.
- Loading branch information
1 parent
ac942ee
commit 9fea695
Showing
2 changed files
with
58 additions
and
13 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