Skip to content

[python] Support C++ callable in builder#4137

Merged
lmondada merged 1 commit intoNVIDIA:mainfrom
lmondada:lm/builder-cpp-kernel
Mar 11, 2026
Merged

[python] Support C++ callable in builder#4137
lmondada merged 1 commit intoNVIDIA:mainfrom
lmondada:lm/builder-cpp-kernel

Conversation

@lmondada
Copy link
Collaborator

@lmondada lmondada commented Mar 10, 2026

This is a follow up of #4072, where it was requested that we modify the kernel builder to support calling kernels defined from within C++.

The only difference between handling kernel decorators and C++ kernels is that for the latter the kernel signature must be recovered from the MLIR module, rather than stored separately.

Signed-off-by: Luca Mondada <luca@mondada.net>
@lmondada lmondada requested a review from khalatepradnya March 10, 2026 23:57
@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Copy link
Collaborator

@schweitzpgi schweitzpgi left a comment

Choose a reason for hiding this comment

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

LGTM

@schweitzpgi schweitzpgi added the python-lang Anything related to the Python CUDA Quantum language implementation label Mar 11, 2026
@lmondada lmondada added this pull request to the merge queue Mar 11, 2026
Merged via the queue into NVIDIA:main with commit c5050d9 Mar 11, 2026
390 of 391 checks passed
@lmondada lmondada deleted the lm/builder-cpp-kernel branch March 11, 2026 19:33
github-actions bot pushed a commit that referenced this pull request Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python-lang Anything related to the Python CUDA Quantum language implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants