qbraid.providers.aws.BraketDevice

class BraketDevice(aws_device)[source]

Wrapper class for Amazon Braket Device objects.

Create a BraketDevice.

__init__(aws_device)[source]

Create a BraketDevice.

Methods

__init__(aws_device)

Create a BraketDevice.

availability_window()

Provides device availability status.

compile(run_input)

Compile run input.

create_job(vendor_job_id[, tags, shots, ...])

Create new qBraid job.

metadata()

Returns device metadata

process_run_input(run_input[, auto_compile, ...])

Process quantum program before passing to device run method.

process_vendor_job_data(...)

Process vendor job data and return a QuantumJob object.

queue_depth()

Return the number of jobs in the queue for the device.

run(run_input, *args[, auto_compile, ...])

Run a quantum job specification on this quantum device.

run_batch(run_input, *args[, auto_compile, ...])

Run a quantum job specification on this quantum device.

status()

Return the status of this Device.

transpile(run_input[, conversion_graph])

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[, safe_mode])

Verifies device status and circuit compatibility.

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.

vendor_id

Return the vendor device ID.