Skip to content

🧪 MLIR - Add QPE and Iterative Phase Estimation examples #1115

@DRovara

Description

@DRovara

Background

We have manual MLIR sketches using scf/arith for classical control and memref<?xi1> for classical registers. See the first two comments below.

Problem

We need runnable, reviewed examples that exercise classical-quantum interplay and passes.

Proposal:

  • Commit .mlir examples for QPE and IPE in MQTRef; include tests for parse/roundtrip and simple analysis checks; optional simulator hook to validate expected classical results.

Acceptance criteria:

  • Examples and tests present; comments explain design choices.

This is one of the first steps in elaborating how to represent hybrid quantum-classical workflows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MLIRAnything related to MLIR

    Type

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions