Warning
The package qiskit-ibmq-provider
is being deprecated and its repo is going to be
archived soon. Please transition to the new packages. More information in
https://ibm.biz/provider_migration_guide
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.