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

Support 64-bit random numbers #828

Open
qartik opened this issue Mar 3, 2025 · 0 comments
Open

Support 64-bit random numbers #828

qartik opened this issue Mar 3, 2025 · 0 comments

Comments

@qartik
Copy link
Member

qartik commented Mar 3, 2025

Random module introduced in #822 / #769 only supports generating 32-bit random numbers as it uses the PCG32 RNG.

We can provide a utility function the user can choose to use for combining two such integers in to one 64-bit random value.

Originally posted by @ss2165 in CQCL/tket2#786 (comment)

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

No branches or pull requests

1 participant