-
Notifications
You must be signed in to change notification settings - Fork 376
#793 support Quantum Post-Selection for processing counts #794
Conversation
|
Hi, thanks for the contribution. I have a thought.... As the new post select method code is pretty much identical to the prior
then the if statement would be included and look something like this
So with the You might have more meaningful names than what I chose above for the parameters, but this was the idea. Any thoughts? |
Sounds like a good suggestion. I will make the code changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for the submission and the suggested refactor.
…00/master qiskit-community/qiskit-aqua#793 support Quantum Post-Selection for processing counts
…00/master qiskit-community/qiskit-aqua#793 support Quantum Post-Selection for processing counts
Summary
Add support for Quantum Post-Selection for processing counts as per issue #793
Details and comments
Created a utility method
get_subsystems_post_selected
which returns a list of dictionaries of counts of measured bit strings for all the other registers for when theindication_register
matches theflag_string
bit string.