Skip to content

Including classical controls in bloq decompositions #1523

Open
@kjm538

Description

I am interested in implementing decompositions that involve measurements and classical controls using qualtran. I see that And is treated as a leaf bloq, so it's usage of these is hidden in a sense. However, one can imagine more complicated structures, such as the uncompute of the data loading primitives, where the measurements and classical controls can't necessarily be contained by a leaf bloq. I see there is a shim bloq for handling measurements, but I don't see a way to handle classically controlled operations. Is there a recommended way to go about this? Based on the status of #445 and #1458 it looks like the infrastructure for this is not in place yet, but I would be interested to know if there are thoughts on how to approach this.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions