Incorrect implementation of capture in openpulse.
caputre_v2 signature specifies:
extern capture_v2(frame output, waveform filter) -> bit;
however the filter is not accepted as a waveform but as a float. This comes from live data format and the echo data format returns being different so passes test suites, but fails on live hardware. Returning Results: {'Exception': 'TypeError("unsupported operand type(s) for /: \'NoneType\' and \'float\'")'}
Would expect a measurement bit result to be returned.
Incorrect implementation of capture in openpulse. caputre_v2 signature specifies:
extern capture_v2(frame output, waveform filter) -> bit;
however the filter is not accepted as a waveform but as a float. This comes from live data format and the echo data format returns being different so passes test suites, but fails on live hardware. Returning
Results: {'Exception': 'TypeError("unsupported operand type(s) for /: \'NoneType\' and \'float\'")'}
Would expect a measurement bit result to be returned.
Example code:
Note, this code works for echo engine, but fails on live hardware.