-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Lowering Ion dialect to llvm dialect #1466
base: main
Are you sure you want to change the base?
Conversation
I will take a look once I get back! @joeycarter can also fill you in on the ion op semantics if they feel unclear |
@@ -0,0 +1,187 @@ | |||
// Copyright 2024 Xanadu Quantum Technologies Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Copyright 2024 Xanadu Quantum Technologies Inc. | |
// Copyright 2025 Xanadu Quantum Technologies Inc. |
@@ -0,0 +1,58 @@ | |||
// Copyright 2024 Xanadu Quantum Technologies Inc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Copyright 2024 Xanadu Quantum Technologies Inc. | |
// Copyright 2025 Xanadu Quantum Technologies Inc. |
Hello. You may have forgotten to update the changelog!
|
Context:
So far, as part of the ion dialect pass infrastructure, we have the ion decomposition pass which genreates a universal gate set of (RX,RY, MS). This gate set would be lowered to ion dialect which consists of IonOp, PulseOp and ParallelProtocolOp operations and IonType. we need to lower the ion dialect operations into llvm stubs which will be used in runtime to generate machine related instructions.
Description of the Change:
--convert-ion-to-llvm
Benefits:
This PR would enable runtime to capture the ion dialect related instructions.
Possible Drawbacks:
Related GitHub Issues:
[sc-79342]