qbraid.runtime.ibm.QiskitRuntimeProvider

class QiskitRuntimeProvider(token=None, channel=None, **kwargs)[source]

This class is responsible for managing the interactions and authentications with the IBM Quantum services.

token

IBM Cloud API key or IBM Quantum API token.

Type:

str

runtime_service

IBM Quantum runtime service.

Type:

qiskit_ibm_runtime.QiskitRuntimeService

Initializes the QbraidProvider object with optional AWS and IBM Quantum credentials.

Parameters:

token (str, optional) – IBM Quantum token. Defaults to None.

__init__(token=None, channel=None, **kwargs)[source]

Initializes the QbraidProvider object with optional AWS and IBM Quantum credentials.

Parameters:

token (str, optional) – IBM Quantum token. Defaults to None.

Methods

__init__([token, channel])

Initializes the QbraidProvider object with optional AWS and IBM Quantum credentials.

get_device(device_id[, instance])

Returns the IBM Quantum provider backends.

get_devices([operational])

Returns the IBM Quantum provider backends.

least_busy([simulator, operational])

Return the least busy IBMQ QPU.

save_config([token, channel, overwrite])

Saves IBM runtime service account to disk for future use.

Attributes

runtime_service

Returns the IBM Quantum runtime service.