qbraid.runtime.braket.BraketDevice
- class BraketDevice(profile, session=None)[source]
Wrapper class for Amazon Braket
Device
objects.Create a BraketDevice.
Methods
__init__
(profile[, session])Create a BraketDevice.
apply_runtime_profile
(run_input)Process quantum program before passing to device run method.
availability_window
()Provides device availability status.
metadata
()Returns a dictionary containing selected metadata about the device.
queue_depth
()Return the number of jobs in the queue for the device.
run
(run_input, *args, **kwargs)Run a quantum job or a list of quantum jobs on this quantum device.
status
()Return the status of this Device.
submit
(run_input, *args, **kwargs)Run a quantum task specification on this quantum device.
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
(program)Verifies device status and circuit compatibility.
Attributes
id
Return the device ID.
name
Return the name of this Device.
num_qubits
The number of qubits supported by the device.
profile
Return the runtime profile.
scheme
Return the conversion scheme.
simulator
The device type, Simulator, Fake_device or QPU.