Skip to content

Commit

Permalink
Merge branch 'main' into rmstart
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale committed Jan 17, 2024
2 parents 7d6f7fd + cb2b7a7 commit a6e1d10
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ repos:
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 23.12.1
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.13.1
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black"]
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 a6e1d10

Please sign in to comment.