Wraps a Quil program in a loop that re-runs the same program many times.
Note: this function is a prototype of what will exist in the future when users will
be responsible for writing this loop instead of having it happen automatically.
Parameters
shots (int) – Number of iterations to loop through.