qiskit-ibmq-provider is being deprecated and its repo is going to be
archived soon. Please transition to the new packages. More information in
- least_busy(backends, reservation_lookahead=60)[source]¶
Return the least busy backend from a list.
Return the least busy available backend for those that have a
status. Note that local backends may not have this attribute.
Backend]) -- The backends to choose from.
int]) -- A backend is considered unavailable if it has reservations in the next
nis the value of
None, reservations are not taken into consideration.
- Return type
The backend with the fewest number of pending jobs.
IBMQError -- 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_jobsattribute in its status.