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.