Skip to content

Conversation

@1tnguyen
Copy link
Collaborator

Description

Use cudaq.complex(), which is equivalent to C++ cudaq::complex to take into account runtime target precision.

This is related to #3507, where we reflect the default runtime simulator logic in the emulation workflow.

Copy link
Collaborator

@sacpis sacpis 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 @1tnguyen.

Signed-off-by: Thien Nguyen <[email protected]>
github-actions bot pushed a commit that referenced this pull request Oct 27, 2025
@github-actions
Copy link

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

github-actions bot pushed a commit that referenced this pull request Oct 27, 2025
@github-actions
Copy link

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

github-actions bot pushed a commit that referenced this pull request Oct 28, 2025
@github-actions
Copy link

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

github-actions bot pushed a commit that referenced this pull request Oct 28, 2025
@github-actions
Copy link

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

@1tnguyen 1tnguyen enabled auto-merge (squash) October 28, 2025 22:31
github-actions bot pushed a commit that referenced this pull request Oct 29, 2025
@github-actions
Copy link

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

@1tnguyen 1tnguyen merged commit b3cd4b6 into NVIDIA:main Oct 29, 2025
193 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 29, 2025
@github-actions
Copy link

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

@bettinaheim bettinaheim changed the title [Python] Use cudaq.complex() rather than fixed complex type Use cudaq.complex() in Python to math simulator precision Nov 25, 2025
@bettinaheim bettinaheim added the bug fix To be listed under Bug Fixes in the release notes label Nov 25, 2025
@bettinaheim bettinaheim added this to the release 0.13.0 milestone Nov 25, 2025
@bettinaheim bettinaheim added testing Relates to testing and removed bug fix To be listed under Bug Fixes in the release notes labels Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Relates to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants