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

Deprecate cirq.neutral_atoms module #5519

Merged
merged 6 commits into from
Jun 21, 2022

Conversation

tanujkhattar
Copy link
Collaborator

Part of #2793

@@ -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):
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

@tanujkhattar tanujkhattar added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jun 21, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jun 21, 2022
@CirqBot
Copy link
Collaborator

CirqBot commented Jun 21, 2022

Automerge cancelled: A status check is failing.

@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Jun 21, 2022
@tanujkhattar tanujkhattar added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jun 21, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jun 21, 2022
@CirqBot
Copy link
Collaborator

CirqBot commented Jun 21, 2022

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']

@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Jun 21, 2022
@tanujkhattar tanujkhattar merged commit 64b6307 into quantumlib:master Jun 21, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Co-authored-by: Cirq Bot <craiggidney+github+cirqbot@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: L 250< lines changed <1000
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants