Skip to content

Conversation

@MichaelBroughton
Copy link
Collaborator

Removes final v0.15 device deprecations.

@CirqBot CirqBot added the size: L 250< lines changed <1000 label Jun 21, 2022
Copy link
Contributor

@maffoo maffoo left a 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)
Copy link
Contributor

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.

Copy link
Collaborator Author

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.

@MichaelBroughton MichaelBroughton requested a review from maffoo June 22, 2022 21:51
@MichaelBroughton MichaelBroughton added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jun 22, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jun 22, 2022
@CirqBot CirqBot merged commit 15d611f into quantumlib:master Jun 22, 2022
@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 22, 2022
@MichaelBroughton MichaelBroughton deleted the remove_xmon branch June 23, 2022 05:31
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Removes final v0.15 device deprecations.
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