Skip to content

Conversation

kevinsung
Copy link
Collaborator

Fixes #2698 .
Fixes #3018 .

@googlebot googlebot added the cla: yes Makes googlebot stop complaining. label Sep 17, 2020
Copy link
Contributor

@balopat balopat left a comment

Choose a reason for hiding this comment

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

LGTM with one nitpick.

@crystalzhaizhai please have a look as well

Copy link
Contributor

@crystalzhaizhai crystalzhaizhai left a comment

Choose a reason for hiding this comment

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

LGTM.
quick question: why use cirq.TParamkey?

@kevinsung
Copy link
Collaborator Author

Parameter keys can be of type sympy.Basic in addition to string. We use TParamKey to represent the type of a parameter so we can define it in one place and also make the code more readable.

@kevinsung kevinsung added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Sep 18, 2020
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Sep 18, 2020
@CirqBot CirqBot merged commit 0105808 into quantumlib:master Sep 18, 2020
@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 Sep 18, 2020
@kevinsung kevinsung deleted the sweeps-3 branch September 19, 2020 02:10
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.

Deprecate implicit cartesian product behavior in to_sweeps. Expand SWEEP_LIKE to work for {'t': [0, 1, 3]}
5 participants