qiskit_braket_provider.providers.BraketLocalBackend¶
- class BraketLocalBackend(name='default', **fields)[source]¶
BraketLocalBackend.
BraketLocalBackend for executing circuits locally.
Example
>>> device = LocalSimulator() #Local State Vector Simulator >>> device = LocalSimulator("default") #Local State Vector Simulator >>> device = LocalSimulator(name="default") #Local State Vector Simulator >>> device = LocalSimulator(name="braket_sv") #Local State Vector Simulator >>> device = LocalSimulator(name="braket_dm") #Local Density Matrix Simulator
- Parameters:
name (
str) – name of backend**fields – extra fields
- __init__(name='default', **fields)[source]¶
BraketLocalBackend for executing circuits locally.
Example
>>> device = LocalSimulator() #Local State Vector Simulator >>> device = LocalSimulator("default") #Local State Vector Simulator >>> device = LocalSimulator(name="default") #Local State Vector Simulator >>> device = LocalSimulator(name="braket_sv") #Local State Vector Simulator >>> device = LocalSimulator(name="braket_dm") #Local Density Matrix Simulator
- Parameters:
name (
str) – name of backend**fields – extra fields
Methods
__init__([name])BraketLocalBackend for executing circuits locally.
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.
run(run_input, *[, shots])Run on the backend.
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.