qbraid.devices.ibm.IBMBackendWrapper
- class IBMBackendWrapper(**kwargs)[source]
Wrapper class for IBM Qiskit
Backend
objects.Create a
DeviceLikeWrapper
object.- Keyword Arguments
qbraid_id (str) – The internal device ID (see
get_devices()
)name (str) – The name of the device
provider (str) – The company to which the device belongs
vendor (str) – The company who’s software is used to access the device
runPackage (str) – The software package used to access the device
objArg (str) – The vendor device id/arn to supply as arg to vendor device-like object
type (str) – The type of the device, “QPU” or “Simulator”
numberQubits (int) – The number of qubits in the device (if applicable)
- __init__(**kwargs)
Create a
DeviceLikeWrapper
object.- Keyword Arguments
qbraid_id (str) – The internal device ID (see
get_devices()
)name (str) – The name of the device
provider (str) – The company to which the device belongs
vendor (str) – The company who’s software is used to access the device
runPackage (str) – The software package used to access the device
objArg (str) – The vendor device id/arn to supply as arg to vendor device-like object
type (str) – The type of the device, “QPU” or “Simulator”
numberQubits (int) – The number of qubits in the device (if applicable)
Methods
__init__
(**kwargs)Create a
DeviceLikeWrapper
object.execute
(run_input, *args, **kwargs)Runs circuit(s) on qiskit backend via
execute()
.pending_jobs
()Return the number of jobs in the queue for the ibm backend
run
(run_input, *args, **kwargs)Runs circuit(s) on qiskit backend via
execute()
run_batch
(run_input, **kwargs)Runs circuit(s) on qiskit backend via
execute()
Attributes
id
Return the device ID.
info
Return the device info.
name
Return the device name.
num_qubits
The number of qubits supported by the device.
provider
Return the device provider.
status
Return the status of this Device.
vendor
Return the software vendor name.