KEMBAR78
Fixing JIT compilation error for cudaq.observe from Python by schweitzpgi · Pull Request #2392 · NVIDIA/cuda-quantum · GitHub
Skip to content

Conversation

@schweitzpgi
Copy link
Collaborator

Instead of erroneously trying to copy a part of the moduleOp, clone the entire moduleOp so that any referenced artifacts are properly copied.

Fixes issue #2383.

Description

Instead of erroneously trying to copy a part of the moduleOp, clone
the entire moduleOp so that any referenced artifacts are properly
copied.

Fixes issue NVIDIA#2383.

Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
Copy link
Collaborator

@khalatepradnya khalatepradnya left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks, Eric!

@schweitzpgi schweitzpgi merged commit 582094f into NVIDIA:main Nov 19, 2024
213 checks passed
@schweitzpgi schweitzpgi deleted the ch-i2383 branch November 19, 2024 20:11
@bettinaheim bettinaheim added the bug fix To be listed under Bug Fixes in the release notes label Dec 10, 2024
@bettinaheim bettinaheim changed the title Fix for issue #2383. Fixing JIT compilation error for cudaq.observe from Python Dec 10, 2024
@bettinaheim bettinaheim added this to the release 0.9.1 milestone Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix To be listed under Bug Fixes in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants