qibocal icon indicating copy to clipboard operation
qibocal copied to clipboard

Rasmey correction not working as expected using `signal` experiment

Open andrea-pasquale opened this issue 8 months ago • 0 comments

The ramsey_signal experiment could give a wrong correction in frequency. I think that the problem originates from the fact on the y axis we are using the amplitude $m = \sqrt{I^2+Q^2}$, and before running single shot classification we don't know whether $m_0 > m_1$. I don't know if there is short term solution for this. We should have encountered the same problem in flipping_signal so perhaps we could take inspiration from that to find a solution:

https://github.com/qiboteam/qibocal/blob/d5d9191c84b298b854520b443bd997cc242bff71/src/qibocal/protocols/flipping_signal.py#L234-L238

To make the code more robust we should try to write tests that tackle all possible scenarios described above.

andrea-pasquale avatar Jun 19 '24 06:06 andrea-pasquale