ManagedJob.result¶
- ManagedJob.result(timeout=None, partial=False)[source]¶
Return the result of the job.
- Parameters
timeout (
Optional
[float
]) – Number of seconds to wait for job.partial (
bool
) – IfTrue
, attempt to retrieve partial job results.
- Return type
Optional
[Result
]- Returns
Job result or
None
if result could not be retrieved.- Raises
IBMQJobTimeoutError – If the job does not return results before a specified timeout.