Skip to content

Commit

Permalink
feat: Some fixes for qutrits protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale committed Jan 29, 2025
1 parent 3ef4f92 commit 68f8808
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/qibocal/protocols/qubit_spectroscopy_ef.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def _acquisition(
qd12_channel, qd12_pulse = natives.RX12()[0]
ro_channel, ro_pulse = natives.MZ()[0]

qd_pulse = replace(qd_pulse, duration=params.drive_duration)
qd12_pulse = replace(qd12_pulse, duration=params.drive_duration)
if params.drive_amplitude is not None:
qd_pulse = replace(qd_pulse, amplitude=params.drive_amplitude)
qd12_pulse = replace(qd12_pulse, amplitude=params.drive_amplitude)

amplitudes[qubit] = qd12_pulse.amplitude
ro_pulses[qubit] = ro_pulse
Expand All @@ -104,7 +104,7 @@ def _acquisition(
Sweeper(
parameter=Parameter.frequency,
values=platform.config(qd12_channel).frequency + delta_frequency_range,
channels=[qd_channel],
channels=[qd12_channel],
)
)

Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/qutrit_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _plot(
target: QubitId,
fit: QutritClassificationResults,
):
figures = plot_results(data, target, 3, fit)
figures = plot_results(data, target, 3, None)
fitting_report = ""
return figures, fitting_report

Expand Down

0 comments on commit 68f8808

Please sign in to comment.