qiskit_braket_provider.providers.AmazonBraketTask

class AmazonBraketTask(task_id, backend, tasks, **metadata)[source]

AmazonBraketTask.

This throws a deprecation warning on initialization.

__init__(task_id, backend, tasks, **metadata)[source]

This throws a deprecation warning on initialization.

Methods

__init__(task_id, backend, tasks, **metadata)

This throws a deprecation warning on initialization.

backend()

Return the backend where this job was executed.

cancel()

Attempt to cancel the job.

cancelled()

Return whether the job has been cancelled.

done()

Return whether the job has successfully run.

in_final_state()

Return whether the job is in a final job state such as DONE or ERROR.

job_id()

Return a unique id identifying the job.

queue_position()

The queue position details for the quantum job.

result()

Return the results of the job.

running()

Return whether the job is actively running.

status([use_cached_value])

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

submit()

Submit the job to the backend for execution.

task_id()

Return a unique id identifying the task.

wait_for_final_state([timeout, wait, callback])

Poll the job status until it progresses to a final state such as DONE or ERROR.

Attributes

shots

Return the number of shots.

version