" Input: {
(sample_size) - number of "shots" to use in each quantum program execution
(max_iterations) - a (soft) limit on the number of optimizer's iterations
(start_param_value) - set the starting value for each optimizer's parameter (a float number or the word 'random')
(repetitions) - a number of times to run the whole optimizer convergence experiment (for stats)
(provider) - 'ibm' or 'rigetti' (see default_provider)
(device) - which simulator or quantum device to run the whole experiment on (interactive by default)
(timestamp) - when the experiment was started (normally generated automatically)
(timeout) - timeout for the device
}
Output: {
return - return code = 0, if successful
> 0, if error
(error) - error text if return > 0
}
"