-
Notifications
You must be signed in to change notification settings - Fork 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
Remove deprecated SingleQubitGate #5686
Remove deprecated SingleQubitGate #5686
Conversation
- Change Foxtail to Sycamore since Foxtail is deprecated. - Add some clarification that instructions are for linux.
(Note: cirq.testing.SingleQubitGate still exists for brevity when writing tests.)
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
One last leftover reference at Cirq/docs/build/custom_gates.ipynb Line 231 in 30b6638
|
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.
LGTM after removing SingleQubitGate reference at
Cirq/docs/build/custom_gates.ipynb
Line 231 in 30b6638
"An alternative to inheriting from `cirq.Gate` is to inherit from `cirq.SingleQubitGate`, in which case defining `_num_qubits_` is unnecessary. An example of a defining a two-qubit gate is shown below." |
Note: cirq.testing.SingleQubitGate still exists for brevity when writing tests.)
Note: cirq.testing.SingleQubitGate still exists for brevity when writing tests.)
Note: cirq.testing.SingleQubitGate still exists for brevity when writing tests.)