Skip to content

🎨 Clean up QIR support #1619

@denialhaag

Description

@denialhaag

With #1580, we have started to mix the adaptive and base profiles. We should clean up a few things.

The output handling is no longer compliant with the base profile. We should re-add the simpler output recording (see #1580 (comment) and #1580 (comment)). In a related note, we might not always want to use dynamic result allocation (see #1580 (comment)).

Independent of this, the base profile technically does not support reset operations, which should be kept in mind in QIRProgramBuilder.cpp and QCToQIR.cpp (see #1580 (comment)).

In general, we will need to differentiate between the two profiles during QIR creation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MLIRAnything related to MLIRenhancementImprovement of existing feature

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions