Skip to content

Conversation

@dstrain115
Copy link
Collaborator

@dstrain115 dstrain115 commented Nov 26, 2020

  • Serializes CalibrationResult dataclass
    • Uses underlying Calibration serialization and datetime utc timestamp.
  • Serializes CalibrationLayer dataclass using json helper

These objects are the client objects for calibration calls in engine.

- Serializes CalibrationResult dataclass
- Uses underlying Calibration serialization and datetime utc timestamp.
@dstrain115 dstrain115 requested review from a team, cduck, vtomole and wcourtney as code owners November 26, 2020 00:09
@google-cla google-cla bot added the cla: yes Makes googlebot stop complaining. label Nov 26, 2020
@dstrain115 dstrain115 changed the title JSON Serialization for CalibrationResult JSON Serialization for CalibrationResult and CalibrationLayer Nov 26, 2020
Copy link
Collaborator

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

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

looks good

balopat
balopat previously requested changes Dec 1, 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 but the json test data is in the wrong place

@@ -0,0 +1,79 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

these should live under cirq.google.json_test_data

@balopat balopat dismissed their stale review December 3, 2020 01:04

I don't know what I smoked, the modular json PR is not yet merged. Sorry :)

@dstrain115 dstrain115 merged commit 3a095e9 into quantumlib:master Dec 5, 2020
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.

3 participants