Amazon Braket
Braket Digital backend
Backend(name=BackendName.BRAKET, supports_ad=False, support_bp=False, supports_adjoint=False, is_remote=False, with_measurements=True, native_endianness=Endianness.BIG, engine=Engine.TORCH, with_noise=False, config=Configuration(), _device=LocalSimulator())
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, noise=None, mitigation=None, endianness=Endianness.BIG)
Execute the circuit and return samples of the resulting wavefunction.