Skip to content
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

Better support for QuakeValue in Python #809

Merged
merged 5 commits into from
Oct 24, 2023

Conversation

1tnguyen
Copy link
Collaborator

@1tnguyen 1tnguyen commented Oct 23, 2023

Description

  • Support division (resolved Additional support for Quake values in Python #754)

  • Fix bug in Quake for_loop: we missed a cast to index type when the start index is a QuakeValue.

  • Also, fix first tutorial, showing the use of expectation() to retrieve the expectation result (dumping the result will show empty counts distribution since we don't do shots-based sampling).

- Support division

- Fix bug in Quake for_loop: we missed a cast to index type when the start index is a QuakeValue.
@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 23, 2023
@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 23, 2023
Copy link
Collaborator

@amccaskey amccaskey left a comment

Choose a reason for hiding this comment

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

LGTM. Do you need to add a test for the C++ in builder_tester.cpp?

@1tnguyen
Copy link
Collaborator Author

Thanks! I've added equivalent checks for C++ kernel_builder.

@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 24, 2023
@1tnguyen 1tnguyen merged commit 9c027b9 into NVIDIA:main Oct 24, 2023
109 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2023
@bettinaheim bettinaheim added the release notes Changes need to be captured in the release notes label Oct 26, 2023
@bettinaheim bettinaheim added this to the release 0.5.0 milestone Oct 26, 2023
@bettinaheim bettinaheim changed the title Add more supports for QuakeValue in Python Better support for QuakeValue in Python Nov 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release notes Changes need to be captured in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional support for Quake values in Python
3 participants