Amazon Braket
Braket Digital backend
Backend
dataclass
Bases: Backend
assign_parameters(circuit, param_values)
Assign numerical values to the circuit parameters
Source code in qadence/backends/braket/backend.py
run(circuit, param_values={}, state=None, endianness=Endianness.BIG)
Execute the circuit and return a wavefunction in form of a statevector.
PARAMETER | DESCRIPTION |
---|---|
circuit |
The circuit that is executed.
TYPE:
|
param_values |
Parameters of the circuit (after calling the embedding function on the user-facing parameters).
TYPE:
|
state |
Initial state.
TYPE:
|
endianness |
The endianness of the wave function.
TYPE:
|
Source code in qadence/backends/braket/backend.py
sample(circuit, param_values={}, n_shots=1, state=None, endianness=Endianness.BIG)
Execute the circuit and return samples of the resulting wavefunction.