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

Add a dtype argument to all Hilbert.number_to_state and state_to_number methods #1537

Open
PhilipVinc opened this issue Jul 23, 2023 · 0 comments
Labels
contributor welcome We welcome contributions or PRs on this issue enhancement New feature or request

Comments

@PhilipVinc
Copy link
Member

also all_states.

This will mirror the same dtype argument to random state.
Required to work well with single precision in some cases, or to lower memory consumption in others.

(This may suggest we should add a dtype argument to Hilbert spaces, and samplers should look at it unless overridden, but who knows....)

@PhilipVinc PhilipVinc added enhancement New feature or request contributor welcome We welcome contributions or PRs on this issue labels Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor welcome We welcome contributions or PRs on this issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant