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

Use Mapping instead of Dict in some grid device helper funcs #5790

Merged
merged 3 commits into from
Jul 16, 2022

Conversation

maffoo
Copy link
Contributor

@maffoo maffoo commented Jul 16, 2022

The device metadata returns durations as Mapping, so it's helpful to accept Mapping in create_device_specification_proto instead of requiring Dict.

@maffoo maffoo requested review from wcourtney, a team, vtomole, cduck and verult as code owners July 16, 2022 13:39
@CirqBot CirqBot added the Size: XS <10 lines changed label Jul 16, 2022
@CirqBot CirqBot added the size: S 10< lines changed <50 label Jul 16, 2022
@dstrain115 dstrain115 added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 16, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 16, 2022
@CirqBot CirqBot merged commit 8f59a0b into master Jul 16, 2022
@CirqBot CirqBot removed the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 16, 2022
@CirqBot CirqBot deleted the u/maffoo/gate-durations-type branch July 16, 2022 21:36
@CirqBot CirqBot removed the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 16, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
…lib#5790)

The device metadata returns durations as `Mapping`, so it's helpful to accept `Mapping` in `create_device_specification_proto` instead of requiring `Dict`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: S 10< lines changed <50 Size: XS <10 lines changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants