In contrast to run, this allows for sweeping over different parameter
values.
Args
program
The circuit to simulate.
params
Parameters to run with the program.
noise
Noise model to use while running the simulation.
repetitions
The number of repetitions to simulate, per set of
parameter values.
dtype
The numpy.dtype used by the simulation. Typically one of
numpy.complex64 or numpy.complex128.
Favors speed over precision by default, i.e. uses numpy.complex64.
seed
The random seed to use for this simulator.
Returns
Result list for this run; one for each possible parameter
resolver.