ExecutionOptions
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
bool
= True
shots
int
= 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?