Skip to content

Add get_mlir helper#2997

Open
albi3ro wants to merge 2 commits into
mainfrom
get-mlir
Open

Add get_mlir helper#2997
albi3ro wants to merge 2 commits into
mainfrom
get-mlir

Conversation

@albi3ro

@albi3ro albi3ro commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Context:

I've been getting irritated about the difficulty of inspecting the mlir at different stages without triggering a full compilation.

Description of the Change:

Adds a get_mlir function for getting the MLIR after the quantum compilation stage for a certain number of user transforms.

Benefits:

Less irritation and rage on my part.

Possible Drawbacks:

I'm not going too deep on the design.

Related GitHub Issues:

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant