BasicAerJob.result

BasicAerJob.result(timeout=None)[source]

Get job result. The behavior is the same as the underlying concurrent Future objects,

https://docs.python.org/3/library/concurrent.futures.html#future-objects

Parameters

timeout (float) – number of seconds to wait for results.

Returns

Result object

Return type

qiskit.Result

Raises
  • concurrent.futures.TimeoutError – if timeout occurred.

  • concurrent.futures.CancelledError – if job cancelled before completed.