About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
ExecutionOptions
class ExecutionOptions(shots=4000, init_qubits=True)
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)
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.