Skip to content

[Feature]: Compiler to collate computational ops before replacing with logical ops #388

Description

@hsemenenko

Problem Statement

Logical compilation will not typically be a trivial replacement of computational ops with logical ops. For example, k>1 codes will require QAlloc operations to be collated within HUGR regions before being assigned to a logical block.

Proposed Solution

This should provide a HUGR pass that collates computational operations together before replacing with a logical operation. Where the collation is not possible the pass should either defer to a dynamic/runtime operation or error.

Component

No response

Effort Estimate

None

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-encoderArea: Encoder passC-feature-acceptedCategory: A feature request that has been accepted pending implementation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions