qiskit_braket_provider.providers.AWSBraketBackend#
- class AWSBraketBackend(device, provider=None, name=None, description=None, online_date=None, backend_version=None, **fields)[source]#
AWSBraketBackend.
AWSBraketBackend for execution circuits against AWS Braket devices.
Example
>>> provider = AWSBraketProvider() >>> 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:
device (
AwsDevice
) – Braket device classprovider (
Optional
[Provider
]) – Qiskit provider for this backendname (
Optional
[str
]) – name of backenddescription (
Optional
[str
]) – description of backendonline_date (
Optional
[datetime
]) – online datebackend_version (
Optional
[str
]) – backend version**fields – other arguments
- __init__(device, provider=None, name=None, description=None, online_date=None, backend_version=None, **fields)[source]#
AWSBraketBackend for execution circuits against AWS Braket devices.
Example
>>> provider = AWSBraketProvider() >>> 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:
device (
AwsDevice
) – Braket device classprovider (
Optional
[Provider
]) – Qiskit provider for this backendname (
Optional
[str
]) – name of backenddescription (
Optional
[str
]) – description of backendonline_date (
Optional
[datetime
]) – online datebackend_version (
Optional
[str
]) – backend version**fields – other arguments
Methods
__init__
(device[, provider, name, ...])AWSBraketBackend for execution circuits against AWS Braket devices.
acquire_channel
(qubit)Return the acquisition channel for the given qubit.
control_channel
(qubits)Return the secondary drive channel for the given qubit
drive_channel
(qubit)Return the drive channel for the given qubit.
measure_channel
(qubit)Return the measure stimulus channel for the given 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, **options)Run on the backend.
set_options
(**fields)Set the options fields for the backend
Attributes
coupling_map
Return the
CouplingMap
objectdt
Return the system time resolution of input signals
dtm
Return the system time resolution of output signals
instruction_durations
Return the
InstructionDurations
object.instruction_schedule_map
Return the
InstructionScheduleMap
for the instructions defined in this backend's target.instructions
A list of Instruction tuples on the backend of the form
(instruction, (qubits)
max_circuits
The maximum number of circuits (or Pulse schedules) 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.
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.