Skip to content

Conversation

@dabacon
Copy link
Collaborator

@dabacon dabacon commented Jun 6, 2022

Just going to throw this out there for comment.

assist_consistent_protocols is used in a huge number of tests (many of which are themselves parameterized tests). We test all of the protocols for a large number of different powed versions of the gate. This ends up being something like 10% or our test time.

I've reduced this number down to what I think is a bit more reasonable, (0, itself, inverse, a non-zero float, a symbol).

@CirqBot CirqBot added the Size: XS <10 lines changed label Jun 6, 2022
@dabacon dabacon marked this pull request as ready for review June 6, 2022 21:12
@dabacon dabacon requested review from a team, cduck and vtomole as code owners June 6, 2022 21:12
@dabacon dabacon requested a review from viathor June 6, 2022 21:12
@dabacon dabacon changed the title The number of exponents is too damn high WIP (testing CI): The number of exponents is too damn high Jun 6, 2022
@dabacon dabacon changed the title WIP (testing CI): The number of exponents is too damn high The number of exponents is too damn high Jun 6, 2022
Copy link
Collaborator

@vtomole vtomole left a comment

Choose a reason for hiding this comment

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

LGTM given these are optional arguments.

@dabacon dabacon added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jun 7, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jun 7, 2022
@CirqBot CirqBot merged commit 66309e0 into quantumlib:master Jun 7, 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 7, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Just going to throw this out there for comment.

`assist_consistent_protocols` is used in a huge number of tests (many of which are themselves parameterized tests).  We test all of the protocols for a large number of different `pow`ed versions of the gate.  This ends up being something like 10% or our test time.  

I've reduced this number down to what I think is a bit more reasonable, (0, itself, inverse, a non-zero float, a symbol).
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
Just going to throw this out there for comment.

`assist_consistent_protocols` is used in a huge number of tests (many of which are themselves parameterized tests).  We test all of the protocols for a large number of different `pow`ed versions of the gate.  This ends up being something like 10% or our test time.  

I've reduced this number down to what I think is a bit more reasonable, (0, itself, inverse, a non-zero float, a symbol).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: XS <10 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants