You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RuntimeJob.metrics() method does not document what is in that metrics dictionary.
For the quantum channel the API docs are here. For the cloud channel the API docs are here.
There are 3 different fields in there that talk about usage:
It'd be nice if the client didn't have to know which of these to use to get the usage of a terminal-state job and instead a usage() method or something like that could abstract that information in the SDK.
This is sort of similar to how Session.details() has the usage_time field, but at least that's documented.
Acceptance criteria
Provide a method on RuntimeJob to get the usage time of a job.
The text was updated successfully, but these errors were encountered:
What is the expected feature or enhancement?
The RuntimeJob.metrics() method does not document what is in that metrics dictionary.
For the quantum channel the API docs are here. For the cloud channel the API docs are here.
There are 3 different fields in there that talk about usage:
It'd be nice if the client didn't have to know which of these to use to get the usage of a terminal-state job and instead a
usage()
method or something like that could abstract that information in the SDK.This is sort of similar to how
Session.details()
has theusage_time
field, but at least that's documented.Acceptance criteria
Provide a method on
RuntimeJob
to get the usage time of a job.The text was updated successfully, but these errors were encountered: