qbraid.providers.ibm.QiskitBackend
- class QiskitBackend(ibm_device)[source]
Wrapper class for IBM Qiskit
Backend
objects.Create a QiskitBackend.
Methods
__init__
(ibm_device)Create a QiskitBackend.
compile
(run_input)Compile run input.
metadata
()Returns device metadata
process_run_input
(run_input[, auto_compile])Process quantum program before passing to device run method.
queue_depth
()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()
status
()Return the status of this Device.
transpile
(run_input)Convert circuit to package compatible with target device and pass through any provider transpile methods to match topology of device and/or optimize as applicable.
verify_run
(run_input)Checks device is online and that circuit num qubits <= device num qubits.
Attributes
device_type
The device type, Simulator, Fake_device or QPU.
id
Return the device ID.
name
Return the device name.
num_qubits
The number of qubits supported by the device.
provider
Return the device provider.
vendor
Return the software vendor name.