Skip to content

Commit

Permalink
fix amplitude fit
Browse files Browse the repository at this point in the history
  • Loading branch information
Edoardo-Pedicillo committed Oct 23, 2023
1 parent b0a0fe2 commit a9ce9ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibocal/protocols/characterization/rabi/amplitude.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _fit(data: RabiAmplitudeData) -> RabiAmplitudeResults:
sigma=qubit_data.error,
)
perr = np.sqrt(np.diag(perr))
pi_pulse_parameter = np.abs(1 / popt[2] / 2)
pi_pulse_parameter = np.abs(popt[2] / 2)

except:
log.warning("rabi_fit: the fitting was not succesful")
Expand Down

0 comments on commit a9ce9ea

Please sign in to comment.