qbraid.devices.aws.AwsQuantumTaskWrapper

class AwsQuantumTaskWrapper(job_id, **kwargs)[source]

Wrapper class for Amazon Braket QuantumTask objects.

Create a AwsQuantumTaskWrapper.

__init__(job_id, **kwargs)[source]

Create a AwsQuantumTaskWrapper.

Methods

__init__(job_id, **kwargs)

Create a AwsQuantumTaskWrapper.

cancel()

Cancel the quantum task.

metadata()

Return the metadata regarding the job.

result()

Return the results of the job.

status()

Return the status of the job / task , among the values of JobStatus.

wait_for_final_state([timeout, wait])

Poll the job status until it progresses to a final state.

Attributes

device

Returns the qbraid DeviceLikeWrapper object associated with this job.

id

Return a unique id identifying the job.

vendor_jlo

Return the job like object that is being wrapped.

vendor_job_id

Returns the ID assigned by the device vendor