Skip to content

Deprecate cirq.neutral_atoms module#5519

Merged
tanujkhattar merged 6 commits into
quantumlib:masterfrom
tanujkhattar:deprecate_neutral_atoms
Jun 21, 2022
Merged

Deprecate cirq.neutral_atoms module#5519
tanujkhattar merged 6 commits into
quantumlib:masterfrom
tanujkhattar:deprecate_neutral_atoms

Conversation

@tanujkhattar

Copy link
Copy Markdown
Collaborator

Part of #2793

@tanujkhattar tanujkhattar requested review from a team, HGSilveri, cduck and vtomole as code owners June 14, 2022 23:25
@tanujkhattar tanujkhattar requested a review from mpharrigan June 14, 2022 23:25
@CirqBot CirqBot added the size: L 250< lines changed <1000 label Jun 14, 2022
@tanujkhattar tanujkhattar requested a review from dstrain115 June 14, 2022 23:27
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
Copy Markdown
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
Copy Markdown
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

CirqBot commented Jun 21, 2022

Copy link
Copy Markdown
Contributor

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

CirqBot commented Jun 21, 2022

Copy link
Copy Markdown
Contributor

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>
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
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.

3 participants