qiskit_braket_provider.providers.BraketAwsBackend

class BraketAwsBackend(arn=None, provider=None, name=None, description=None, online_date=None, backend_version=None, *, device=None, **fields)[source]

BraketAwsBackend.

BraketAwsBackend for executing circuits on Amazon Braket devices.

Example

>>> provider = BraketProvider()
>>> backend = provider.get_backend("SV1")
>>> transpiled_circuit = transpile(circuit, backend=backend)
>>> backend.run(transpiled_circuit, shots=10).result().get_counts()
{"100": 10, "001": 10}
Parameters:
  • arn (str | None) – ARN of the Braket device

  • provider – Qiskit provider for this backend

  • name (str) – name of backend

  • description (str) – description of backend

  • online_date (datetime) – online date

  • backend_version (str) – backend version

  • device (AwsDevice | None) – Braket device instance

  • **fields – other arguments

__init__(arn=None, provider=None, name=None, description=None, online_date=None, backend_version=None, *, device=None, **fields)[source]

BraketAwsBackend for executing circuits on Amazon Braket devices.

Example

>>> provider = BraketProvider()
>>> backend = provider.get_backend("SV1")
>>> transpiled_circuit = transpile(circuit, backend=backend)
>>> backend.run(transpiled_circuit, shots=10).result().get_counts()
{"100": 10, "001": 10}
Parameters:
  • arn (str | None) – ARN of the Braket device

  • provider – Qiskit provider for this backend

  • name (str) – name of backend

  • description (str) – description of backend

  • online_date (datetime) – online date

  • backend_version (str) – backend version

  • device (AwsDevice | None) – Braket device instance

  • **fields – other arguments

Methods

__init__([arn, provider, name, description, ...])

BraketAwsBackend for executing circuits on Amazon Braket devices.

acquire_channel(qubit)

control_channel(qubits)

drive_channel(qubit)

get_gateset([native])

Get the gate set of the device.

measure_channel(qubit)

qubit_properties(qubit)

Return QubitProperties for a given qubit.

queue_depth()

Task queue depth refers to the total number of quantum tasks currently waiting to run on a particular device.

retrieve_job(task_id)

Return a single job submitted to AWS backend.

run(run_input[, shots, verbatim, native, ...])

Execute QuantumCircuits on a BraketAwsBackend

set_options(**fields)

Set the options fields for the backend

Attributes

coupling_map

Return the CouplingMap object

dt

Return the system time resolution of input signals

dtm

Return the system time resolution of output signals

instruction_durations

Return the InstructionDurations object.

instructions

A list of Instruction tuples on the backend of the form (instruction, (qubits)

max_circuits

The maximum number of circuits that can be run in a single job.

meas_map

Return the grouping of measurements which are multiplexed

num_qubits

Return the number of qubits the backend has.

operation_names

A list of instruction names that the backend supports.

operations

A list of Instruction instances that the backend supports.

options

Return the options for the backend

provider

Return the backend provider.

qubit_labels

The qubit labels of the underlying device, in ascending order.

target

A qiskit.transpiler.Target object for the backend.

version

name

Name of the backend.

description

Optional human-readable description.

online_date

Date that the backend came online.

backend_version

Version of the backend being provided.