Skip to content

Commit

Permalink
Merge pull request #677 from qiboteam/fix_rabi_again
Browse files Browse the repository at this point in the history
Hotfix for rabi period estimate
  • Loading branch information
andrea-pasquale authored Dec 21, 2023
2 parents 0e617fb + 2e48250 commit d145c8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qibocal/protocols/characterization/rabi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,5 @@ def period_correction_factor(phase: float):
"""

return 1 - np.modf(phase / np.pi)[0]
x = phase / np.pi
return np.round(1 + x) - x

0 comments on commit d145c8f

Please sign in to comment.