Skip to content

Add README for Qrisp to MLIR conversion#56

Merged
rainij merged 5 commits into
mainfrom
48-document-qrisp-mlir-clean
May 29, 2026
Merged

Add README for Qrisp to MLIR conversion#56
rainij merged 5 commits into
mainfrom
48-document-qrisp-mlir-clean

Conversation

@RiccardoRomanello
Copy link
Copy Markdown
Collaborator

Relates to #48

This is a new commit on a new branch because the other one was including commits from another issue/branch as well.

@RiccardoRomanello RiccardoRomanello requested a review from rainij May 22, 2026 13:25
Copy link
Copy Markdown
Contributor

@rainij rainij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will invite @julfarn as a reviewer. He has an opinion on how to do that.

Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
@rainij rainij requested a review from julfarn May 27, 2026 07:03
Copy link
Copy Markdown
Collaborator

@julfarn julfarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to not use stableHLO manually or renaming, since what we will get from the soon-to-be-released version of qrisp will be different (they do some cleanup).

In my opinion, this is a good workflow:

  • Fix a recent commit in the branch linalg_lowering used in this PR: eclipse-qrisp/Qrisp#528
  • pip install qrisp from github at that commit tag (hope this can be done)
  • export using make_jaspr(my_kernel_function)().to_mlir(lower_stablehlo=True)

Hopefully when the feature is released in 2 weeks, we can swap out the github installation with a standard installation.

What do you think?

Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
@julfarn
Copy link
Copy Markdown
Collaborator

julfarn commented May 27, 2026

A nitpick and a question, then I'm happy with this 👍

Comment thread mlir/test/tools/qcc/qrisp/README.md
Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
Comment thread mlir/test/tools/qcc/qrisp/README.md
Comment thread mlir/test/tools/qcc/qrisp/README.md
Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
RiccardoRomanello and others added 2 commits May 28, 2026 14:11
Refactoring

Co-authored-by: Julian Farnsteiner <143944161+julfarn@users.noreply.github.com>
Signed-off-by: Riccardo Romanello <riccardo.romanello@gmail.com>
Copy link
Copy Markdown
Contributor

@rainij rainij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks almost good, just one small thing.

Comment thread mlir/test/tools/qcc/qrisp/README.md Outdated
@RiccardoRomanello RiccardoRomanello requested a review from rainij May 29, 2026 13:41
@rainij rainij merged commit 106f05e into main May 29, 2026
15 checks passed
@rainij rainij deleted the 48-document-qrisp-mlir-clean branch May 29, 2026 16:45
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.

3 participants