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

Vectorize categorization of output as heavy in quantum volume #34

Open
mpharrigan opened this issue Feb 8, 2019 · 0 comments
Open

Vectorize categorization of output as heavy in quantum volume #34

mpharrigan opened this issue Feb 8, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@mpharrigan
Copy link
Contributor

in sample_rand_circuits_for_heavy_out, we loop over bitstrings with a python for loop, converting each bitstring to a number with a python function, and then count those that belong to heavy_outputs.

There's probably a clever numpy vectorized way of doing this that's much faster

cc https://github.com/rigetti/forest-benchmarking/pull/15/files#r251163544

@mpharrigan mpharrigan changed the title Vectorize categorization of output as heaving in quantum volume Vectorize categorization of output as heavy in quantum volume Feb 8, 2019
@mpharrigan mpharrigan added the good first issue Good for newcomers label Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant