View source on GitHub |
Python implementation of the proto found in cirq_google.api.v2.calibration_pb2.CalibrationLayerResult for use in Engine calls.
cirq_google.engine.CalibrationResult(
code: Any,
error_message: Optional[str],
token: Optional[str],
valid_until: Optional[datetime.datetime],
metrics: 'cirq_google.Calibration'
)
Note that, if these fields are not filled out by the calibration API,
they will be set to the default values in the proto, as defined here:
https://developers.google.com/protocol-buffers/docs/proto3#default
These defaults will converted to None
by the API client.
Attributes | |
---|---|
code
|
Dataclass field |
error_message
|
Dataclass field |
token
|
Dataclass field |
valid_until
|
Dataclass field |
metrics
|
Dataclass field |
Methods
__eq__
__eq__(
other
)
Return self==value.