-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Consider adding StateVectorMixin to ProductState, _NamedOneQubitState #3517
Comments
The mixin uses There's a couple of helpful methods, however, that only require the
|
According to @viathor , this points to a more general problem of Cirq not having a philosophy with which to make technical decisions when it come to state representation. He'll file an issue about this. |
Filed #4582 for discussion. Keeping this issue open for now, but if we decide to consolidate our representations of quantum states then it will become moot and should be closed. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days |
Issue closed due to inactivity. |
StateVectorMixin provides a couple of useful features on the state vector itself.
ProductState
and_NamedOneQubitState
and its subclasses could benefit from it.cc @mpharrigan wdyt?
The text was updated successfully, but these errors were encountered: