-
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] Create a runtime OQD device that generates openapl #1479
base: main
Are you sure you want to change the base?
Conversation
Hello. You may have forgotten to update the changelog!
|
runtime/lib/capi/OQDRuntimeCAPI.cpp
Outdated
@@ -0,0 +1,24 @@ | |||
// Copyright 2025 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.
changelog
The previous commit (04bb28f) contains a minimal muanlly written IR that can be run from the current frontend oqd device interface. We now switch to executing pure runtime cpp unit tests. |
Try running CI |
Context:
After lowering the ion dialect to llvm dialect, and then llvm ir, with calls to the runtime capi stubs (#1466), the final llvm ir needs to be executed. The stubs will need to generate openapl, which is the common entry point for oqd backends.
Description of the Change:
replace_ir
) for testing. Undo this and use the actual lowering passes to generate llvm once they are in place. As of now, simply runpython oqd_run.py
to see the effect of the stubs.quantum-to-ion
, thenion-to-llvm
.Benefits:
Catalyst can now generate programs that can be accepted by OQD backends!
[sc-73710]