qiskit.primitives.BaseSampler.run¶
- BaseSampler.run(circuits, parameter_values=None, **run_options)[source]¶
Run the job of the sampling of bitstrings.
- Parameters
circuits – One of more circuit objects.
parameter_values – Parameters to be bound to the circuit.
run_options – Backend runtime options used for circuit execution.
- Returns
The job object of the result of the sampler. The i-th result corresponds to
circuits[i]
evaluated with parameters bound asparameter_values[i]
.- Raises
ValueError – Invalid arguments are given.