qiskit.primitives.BaseSampler.run¶
- BaseSampler.run(circuits, parameter_values=None, **run_options)[código fonte]¶
Run the job of the sampling of bitstrings.
- Parâmetros
circuits (QuantumCircuit | Sequence[QuantumCircuit]) – One of more circuit objects.
parameter_values (Sequence[float] | Sequence[Sequence[float]] | None) – Parameters to be bound to the circuit.
run_options – Backend runtime options used for circuit execution.
- Retorno
The job object of the result of the sampler. The i-th result corresponds to
circuits[i]
evaluated with parameters bound asparameter_values[i]
.- Levanta
ValueError – Invalid arguments are given.
- Tipo de retorno
T