-
Notifications
You must be signed in to change notification settings - Fork 184
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
Support custom unitary operations #1794
Support custom unitary operations #1794
Conversation
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.
Need a roundtrip test added for new op, of course.
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
a250cc8
to
232a843
Compare
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
0f884eb
to
e315589
Compare
Addressed in e315589 |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
7239dfb
to
8e35fda
Compare
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
1 similar comment
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
f53afcb
to
fa7bf6a
Compare
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
93e069b
to
0fa342a
Compare
This reverts commit e319e8c.
-- No braces for single statements in if/else/for as per LLVM standards. -- Additional test for remote execution of Python code -- Check to emit error if custom operation is encountered in QIR
Yes, it is implicit. Tried to check that with this test - https://github.com/khalatepradnya/cuda-quantum/blob/cpp_mlir_custom_2/python/tests/synthesis/test_custom_operations.py#L112, running same application on different simulators. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
--------- Co-authored-by: Ben Howe <bhowe@nvidia.com>
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.
This is looking good, Pradnya. Thanks for doing all the heavy lifting.
I'm good with the C++ side. I understand there are some outstanding issues. I know some/all of them are logged as issues.
I did not look too closely at the python language frontend. So if someone else takes a look at that, go ahead and approve this.
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Thanks, Eric! |
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.
👍
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.
Approval on C++ changes
Towards issue #1475.
This PR covers the support custom operations in simulation for Python & C++
It builds on the work previously merged #1708
Not covered in this PR: