Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Expr support to DAGCircuit.replace_block_with_node #10383

Merged
merged 1 commit into from
Jul 20, 2023

Commits on Jul 19, 2023

  1. 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.
    jakelishman committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    fce324c View commit details
    Browse the repository at this point in the history