qbraid.providers.aws.BraketDevice
- class BraketDevice(aws_device)[source]
Wrapper class for Amazon Braket
Device
objects.Create a BraketDevice.
Methods
__init__
(aws_device)Create a BraketDevice.
availability_window
()Provides device availability status.
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 device.
run
(run_input, *args[, auto_compile])Run a quantum task specification on this quantum device.
run_batch
(run_input, *args[, auto_compile])Run batch of quantum tasks on this quantum device.
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.