Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
ElStabilini committed Nov 21, 2024
1 parent a08cf3c commit 0f9ec82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/qibocal/protocols/rabi/amplitude.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def _acquisition(
)

data = RabiAmplitudeData(durations=durations, pihalf_pulse=params.rx90)
data.pihalf_pulse = params.rx90

# sweep the parameter
results = platform.execute(
Expand Down
5 changes: 3 additions & 2 deletions src/qibocal/protocols/rabi/length_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ def _acquisition(
pulses=[qd_pulses[q] for q in targets] + [delays[q] for q in targets],
)

data = RabiLengthSignalData(amplitudes=amplitudes, pihalf_pulse=params.rx90)
data.pihalf_pulse = params.rx90
data = RabiLengthSignalData(
amplitudes=amplitudes,
)

# execute the sweep
results = platform.execute(
Expand Down

0 comments on commit 0f9ec82

Please sign in to comment.