qiskit.providers.ibmq.job.IBMQJob.queue_position¶
-
IBMQJob.
queue_position
(refresh=False)[source]¶ Return the position of the job in the server queue.
Note
The position returned is within the scope of the provider and may differ from the global queue position.
- Parameters
refresh (
bool
) – IfTrue
, re-query the server to get the latest value. Otherwise return the cached value.- Return type
Optional
[int
]- Returns
Position in the queue or
None
if position is unknown or not applicable.