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

Remove virtual_predicate deprecations. #5724

Merged
merged 3 commits into from Jul 11, 2022

Conversation

MichaelBroughton
Copy link
Collaborator

No description provided.

@MichaelBroughton MichaelBroughton requested review from a team, vtomole and cduck as code owners July 11, 2022 21:03
@CirqBot CirqBot added the size: S 10< lines changed <50 label Jul 11, 2022
@_compat.deprecated(deadline='v0.16', fix='Use is_virtual instead.')
def virtual_predicate(self, op: 'cirq.Operation') -> bool:
return self.is_virtual(op)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check (new) line 89 below

@dstrain115
Copy link
Collaborator

Lint check, looks like you need to remove _compat

@MichaelBroughton
Copy link
Collaborator Author

weird my local install missed that somehow....

@MichaelBroughton MichaelBroughton added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 11, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 11, 2022
@CirqBot CirqBot merged commit 3c9c0e5 into quantumlib:master Jul 11, 2022
CirqBot pushed a commit that referenced this pull request Jul 12, 2022
Avoid head scratching over a reference to method removed in #5724.
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Avoid head scratching over a reference to method removed in quantumlib#5724.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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. size: S 10< lines changed <50
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants