qbraid.runtime.ibm.QiskitBackend
- class QiskitBackend(profile, service=None)[source]
Wrapper class for IBM Qiskit
Backendobjects.Create a QiskitBackend.
Methods
__init__(profile[, service])Create a QiskitBackend.
apply_runtime_profile(run_input)Process quantum program before passing to device run method.
avg_queue_time()Return the average time (in seconds) a job spends in the queue for the device.
metadata()Returns a dictionary containing selected metadata about the device.
prepare(run_input)Convert the quantum program to an intermediate representation (IR) compatible with the submission format required for the target device and its provider API.
queue_depth()Return the number of jobs in the queue for the ibm backend
run(run_input, *args, **kwargs)Run a quantum job or a list of quantum jobs on this quantum device.
set_options(**fields)Update the runtime options for the QuantumDevice.
status()Return the status of this Device.
submit(run_input[, shots])Runs circuit(s) on qiskit backend via
run().transform(run_input)Transpile a circuit for the device.
transpile(run_input, run_input_spec)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.
update_scheme(**kwargs)Update the conversion scheme with new values.
validate(run_input_batch[, ...])Verifies run input compatibility with target device.
Attributes
idReturn the device ID.
num_qubitsThe number of qubits supported by the device.
profileReturn the runtime profile.
schemeReturn the conversion scheme.
simulatorThe device type, Simulator, Fake_device or QPU.