-
Notifications
You must be signed in to change notification settings - Fork 22
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
Bug: Measurement on subset of qubits #49
Comments
Thanks, looked into this issue |
We do support this
Partial measurement a supported feature, we are fixing this issue and will release assp, see the pr |
Now you can build from
We will release new version to pypi later, closed |
Nice, thank you for your quick reaction. :^) |
NP, thanks for your contributions |
Bug Description:
Measuring only a subset of the quantum circuit will return errors.
Code to Reproduce the Bug:
The code is from the documentation website.
Code Output:
My Debugging Trials:
And if you change the one line of code
q.measure([2])
toq.measure([0, 1, 2])
will simply solve the problem. But it would be better if your team could come up with proper solutions that could either prevent users from measuring subsets of qubits or support this feature.The text was updated successfully, but these errors were encountered: