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

New DrawRandomBool operation #1645

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Conversation

nirajvenkat
Copy link
Contributor

Adds new DrawRandomBool operation that was inspired by this page on the deprecated QDK. This change has the same documentation and functionality as the linked version.

Fixes #1170.

Adds new `DrawRandomBool` operation to std lib and testing infra
@nirajvenkat nirajvenkat changed the title DrawRandomBool New DrawRandomBool operation Jun 17, 2024
@nirajvenkat nirajvenkat marked this pull request as ready for review June 17, 2024 16:28
Copy link
Collaborator

@swernli swernli left a comment

Choose a reason for hiding this comment

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

Changes look good, thanks!

Parameter should have `RuntimeFeatureFlags(UseOfDynamicDouble)` not UseOfDynamicBool
@swernli swernli enabled auto-merge June 24, 2024 16:56
@swernli swernli added this pull request to the merge queue Jun 24, 2024
Merged via the queue into microsoft:main with commit be3181b Jun 24, 2024
16 checks passed
Manvi-Agrawal pushed a commit to Manvi-Agrawal/qsharp that referenced this pull request Jun 29, 2024
Adds new `DrawRandomBool` operation that was inspired by
[this](https://learn.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.random.drawrandombool)
page on the deprecated QDK. This change has the same documentation and
functionality as the linked version.

Fixes microsoft#1170.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DrawRandomBool missing in the new QDK
4 participants