Skip to main contentIBM Quantum Documentation


least_busy(backends)GitHub(opens in a new tab)

Return the least busy backend from a list.

Return the least busy available backend for those that have a pending_jobs in their status. Note that local backends may not have this attribute.


backends (List[Backend(opens in a new tab)]) – The backends to choose from.

Return type

Backend(opens in a new tab)


The backend with the fewest number of pending jobs.


IBMError – If the backends list is empty, or if none of the backends is available, or if a backend in the list does not have the pending_jobs attribute in its status.

Was this page helpful?