Skip to content

Commit

Permalink
fixed acquisition error
Browse files Browse the repository at this point in the history
  • Loading branch information
ElStabilini committed Nov 21, 2024
1 parent f8e9021 commit a08cf3c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/qibocal/protocols/rabi/amplitude.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _acquisition(
pulses=[qd_pulses[qubit] for qubit in targets],
)

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

# sweep the parameter
Expand Down
3 changes: 1 addition & 2 deletions src/qibocal/protocols/rabi/amplitude_frequency.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ def _acquisition(
pulses=[qd_pulses[qubit] for qubit in targets],
)

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

results = platform.execute(
[sequence],
Expand Down
3 changes: 1 addition & 2 deletions src/qibocal/protocols/rabi/amplitude_frequency_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ def _acquisition(
pulses=[qd_pulses[qubit] for qubit in targets],
)

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

results = platform.execute(
[sequence],
Expand Down
3 changes: 1 addition & 2 deletions src/qibocal/protocols/rabi/amplitude_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ def _acquisition(
pulses=[qd_pulses[qubit] for qubit in targets],
)

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

# sweep the parameter
results = platform.execute(
Expand Down
3 changes: 1 addition & 2 deletions src/qibocal/protocols/rabi/ef.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ def _acquisition(
pulses=[qd_pulses[qubit] for qubit in targets],
)

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

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

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

# execute the sweep
results = platform.execute(
Expand Down
3 changes: 1 addition & 2 deletions src/qibocal/protocols/rabi/length_frequency.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ def _acquisition(
channels=[channel],
)

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

results = platform.execute(
[sequence],
Expand Down
3 changes: 1 addition & 2 deletions src/qibocal/protocols/rabi/length_frequency_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ def _acquisition(
channels=[channel],
)

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

results = platform.execute(
[sequence],
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/rabi/length_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _acquisition(
pulses=[qd_pulses[q] for q in targets] + [delays[q] for q in targets],
)

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

# execute the sweep
Expand Down

0 comments on commit a08cf3c

Please sign in to comment.