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 deviceprovider – Qiskit provider for this backend
name (
str) – name of backenddescription (
str) – description of backendonline_date (
datetime) – online datebackend_version (
str) – backend versiondevice (
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 deviceprovider – Qiskit provider for this backend
name (
str) – name of backenddescription (
str) – description of backendonline_date (
datetime) – online datebackend_version (
str) – backend versiondevice (
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_mapReturn the
CouplingMapobjectdtReturn the system time resolution of input signals
dtmReturn the system time resolution of output signals
instruction_durationsReturn the
InstructionDurationsobject.instructionsA list of Instruction tuples on the backend of the form
(instruction, (qubits)max_circuitsThe maximum number of circuits that can be run in a single job.
meas_mapReturn the grouping of measurements which are multiplexed
num_qubitsReturn the number of qubits the backend has.
operation_namesA list of instruction names that the backend supports.
operationsA list of
Instructioninstances that the backend supports.optionsReturn the options for the backend
providerReturn the backend provider.
qubit_labelsThe qubit labels of the underlying device, in ascending order.
targetA
qiskit.transpiler.Targetobject for the backend.versionnameName of the backend.
descriptionOptional human-readable description.
online_dateDate that the backend came online.
backend_versionVersion of the backend being provided.