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 an equiv method to the StabilizerState class #9338

Closed
ShellyGarion opened this issue Jan 3, 2023 · 2 comments · Fixed by #9543
Closed

Add an equiv method to the StabilizerState class #9338

ShellyGarion opened this issue Jan 3, 2023 · 2 comments · Fixed by #9543
Assignees
Labels
mod: quantum info Related to the Quantum Info module (States & Operators) type: feature request New feature or request

Comments

@ShellyGarion
Copy link
Member

What should we add?

Add an equiv method to the StabilizerState class, that checks if the generating sets of two stabilizer states generate the same stabilizer group.

This can be done as follows:
The first step would be to check that each stabilizer from the first set commutes with each stabilizer from the second set.
If no, the two sets give rise to different stabilizer states. If yes, compute the expected value of each stabilizer from the first set on the stabilizer state determined by the second set. The two stabilizer states coincide iff the expected value is +1 for each stabilizer.

See also: #5907 (comment)

@ShellyGarion ShellyGarion added type: feature request New feature or request mod: quantum info Related to the Quantum Info module (States & Operators) labels Jan 3, 2023
@ShellyGarion ShellyGarion self-assigned this Jan 3, 2023
@shashankiswara0
Copy link

Could I be assigned to this issue?

@ShellyGarion
Copy link
Member Author

Could I be assigned to this issue?

@shashankiswara0 - thanks for your suggestion, however we already have an internal code for this, and we only need to migrate it to qiskit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod: quantum info Related to the Quantum Info module (States & Operators) type: feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants