-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[cirqflow] run_start_time and run_end_time #5289
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
Conversation
|
||
@classmethod | ||
def _json_namespace_(cls) -> str: | ||
return 'cirq.google' | ||
|
||
def _json_dict_(self) -> Dict[str, Any]: | ||
d = dataclass_json_dict(self) | ||
# TODO (gh-4699): serialize `device` as well once SerializableDevice is serializable. |
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.
LOL
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.
they changed my original issue title to be a little less ridiculous #4699
Automerge cancelled: A status check is failing. |
Automerge cancelled: A status check is failing. |
Add `run_start_time` and `run_end_time` to `cg.workflow.execute()` `SharedRuntimeInfo`. This gives you an overview of when a given workflow run started and completed. This is complementary to quantumlib#5152 which will record a timestamp for each `cirq.Result`.
Add
run_start_time
andrun_end_time
tocg.workflow.execute()
SharedRuntimeInfo
. This gives you an overview of when a given workflow run started and completed.This is complementary to #5152 which will record a timestamp for each
cirq.Result
.