-
Notifications
You must be signed in to change notification settings - Fork 983
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
Deprecate cirq.neutral_atoms module #5519
Deprecate cirq.neutral_atoms module #5519
Conversation
@@ -31,6 +30,23 @@ def _subgate_if_parallel_gate(gate: 'cirq.Gate') -> 'cirq.Gate': | |||
return gate.sub_gate if isinstance(gate, ops.ParallelGate) else gate | |||
|
|||
|
|||
def neutral_atom_gateset(max_parallel_z=None, max_parallel_xy=None): |
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.
What's the point of keeping this? Should we fold this into cirq-pasqal as well?
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.
This method exists because both the deprecated classes (NeutralAtomDevice
and ConvertToNeutralAtomGates
) instantiate a gateset using this method. Once the deprecated classes are removed after deprecation, this method would also be removed.
Since this method is not exported to the top level cirq modules, I don't think we need to go through a deprecation cycle for this method.
Automerge cancelled: A status check is failing. |
Automerge cancelled: A required status check is not present. Missing statuses: ['Misc check', 'Notebook formatting', 'Pytest MacOS (3.9)', 'Pytest Ubuntu (3.7)', 'Pytest Ubuntu (3.8)', 'Pytest Ubuntu (3.9)', 'Pytest Windows (3.7)', 'Pytest Windows (3.8)', 'Pytest Windows (3.9)', 'Type check', 'Typescript lint check', 'Typescript tests', 'Typescript tests coverage'] |
Co-authored-by: Cirq Bot <craiggidney+github+cirqbot@google.com>
Part of #2793