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 cirq.IonDevice.can_add_operation_into_moment #4271

Merged
merged 3 commits into from Jun 29, 2021

Conversation

balopat
Copy link
Contributor

@balopat balopat commented Jun 29, 2021

Removes cirq.IonDevice.can_add_operation_into_moment as it doesn't add any value.

I noticed that cirq.IonDevice.can_add_operation_into_moment implementation was doing a complicated version of a simple qubit overlap testing.

@balopat balopat requested review from cduck, vtomole and a team as code owners June 29, 2021 17:49
@balopat balopat requested a review from mpharrigan June 29, 2021 17:49
@google-cla google-cla bot added the cla: yes Makes googlebot stop complaining. label Jun 29, 2021
@balopat balopat added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jun 29, 2021
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jun 29, 2021
@CirqBot CirqBot merged commit 608e678 into quantumlib:master Jun 29, 2021
@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 29, 2021
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Removes `cirq.IonDevice.can_add_operation_into_moment` as it doesn't add any value. 

I noticed that `cirq.IonDevice.can_add_operation_into_moment` implementation was doing a complicated version of a simple qubit overlap testing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Makes googlebot stop complaining.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants