-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Allow to create Clifford
object from list of stablizers
#11478
Comments
This seems like generally useful functionality, thanks for the suggestion. Is this something you'd be interested in contributing? |
I have a basic implementation of a function that accepts a list of stabilizers and returns a circuit that outputs the state stabilized by this list. What should be the interface? Should it be a separate function or class method? |
Thanks @Randl! I have discussed this with @ShellyGarion, and we believe that you really mean the Internally the In terms of the interface, we believe that this should be implemented as a class method in Can I assign you to this issue? Thank you very much! |
One more comment is that we already methods to create a |
@alexanderivrii I think interface-wise it makes sense to have a function that given a set of stabilizers returns a (Clifford) circuit whose output (on zero input) is stabilized by this set. Note that this is more general than just stabilizer state since it, for example, allows to use underconstrained sets of stabilizers, which can be useful. From this function we can get the I'll clean up my code and open a PR so we can have more constructive discussion. |
What should we add?
As for now, the
Clifford
object can be created from a list of destabilizers and stabilizers. However, this is over-complete information for knowing whatClifford
is. Destabilizers can be calculated from stabilizers. When dealing with stabilizer states, destabilizers are not necessarily known, so it can come handy.The text was updated successfully, but these errors were encountered: