-
Notifications
You must be signed in to change notification settings - Fork 1.2k
JSON Serialization for CalibrationResult and CalibrationLayer #3540
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
JSON Serialization for CalibrationResult and CalibrationLayer #3540
Conversation
- Serializes CalibrationResult dataclass - Uses underlying Calibration serialization and datetime utc timestamp.
mpharrigan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
balopat
left a comment
There was a problem hiding this 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 @@ | |||
| { | |||
There was a problem hiding this comment.
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
I don't know what I smoked, the modular json PR is not yet merged. Sorry :)
These objects are the client objects for calibration calls in engine.