-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Remove XmonDevice. #5562
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
Remove XmonDevice. #5562
Conversation
maffoo
left a comment
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.
Minor comments about some if TYPE_CHECKING imports that can be removed, otherwise LGTM.
| seed: Optional seed value for random number generator. | ||
| """ | ||
| self._c = device.qubits | ||
| self._c = cast(Set[cirq.GridQubit], device.metadata.qubit_set) |
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.
Does GridDevice not define its qubit_set as containing GridQubit? I guess this is fine for now, but would be nice to fix in the future.
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.
Yeah, that might be something to look into.
Removes final v0.15 device deprecations.
Removes final v0.15 device deprecations.