Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit Runtime client and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

ExecutionOptions

class ExecutionOptions(shots=4000, init_qubits=True)

GitHub

Execution options.

Parameters

  • shots (int) – Number of repetitions of each circuit, for sampling. Default: 4000.
  • init_qubits (bool) – Whether to reset the qubits to the ground state for each shot. Default: True.

Attributes

init_qubits

Type: bool

Default value: True

shots

Type: int

Default value: 4000


Methods

validate_execution_options

static validate_execution_options(execution_options)

GitHub

Validate that execution options are legal. :raises ValueError: if any execution option is not supported

Return type

None

Was this page helpful?
Report a bug or request content on GitHub.