Skip to content

json serialize SharedRuntimeInfo.device #5746

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

Merged

Conversation

pavoljuhas
Copy link
Collaborator

@pavoljuhas pavoljuhas commented Jul 13, 2022

Include the SharedRuntimeInfo.device field in the JSON dump and
update the affected test data files.

Part of #4699 and #5050.

It is a `cirq_google.GridDevice` type which is serializable.
Include the device field.
@pavoljuhas pavoljuhas requested review from wcourtney, a team, vtomole, cduck and verult as code owners July 13, 2022 01:42
@CirqBot CirqBot added the size: S 10< lines changed <50 label Jul 13, 2022
Copy link
Collaborator

@dabacon dabacon left a comment

Choose a reason for hiding this comment

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

LGTM

Since it is adding to json, don't think this has any backwards compatibility issues.

@pavoljuhas pavoljuhas added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 13, 2022
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 13, 2022
@CirqBot CirqBot merged commit b64aab2 into quantumlib:master Jul 13, 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 Jul 13, 2022
@pavoljuhas pavoljuhas deleted the json-serialize-SharedRuntimeInfo.device branch July 13, 2022 19:17
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Include the SharedRuntimeInfo.device field in the JSON dump and
update the affected test data files.

Part of quantumlib#4699 and quantumlib#5050.
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants