Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.primitives.Sampler.run

Sampler.run(circuits, parameter_values=None, **run_options)

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.

Devuelve

The job object of the result of the sampler. The i-th result corresponds to circuits[i] evaluated with parameters bound as parameter_values[i].

Muestra

ValueError – Invalid arguments are given.

Tipo del valor devuelto

T