Error for sweeps without measure gate is not descriptive
If you make a schedule generating function without a Measure
gate in it, and then supply it to the measurement controller it will not work, becuase there is no data to extract. Arguably it should work, and the data should be float("nan")
, but regardless the error is not good though
The error you get is:
UnboundLocalError: local variable 'protocol' referenced before assignment