From d8d15c3dbd57fb2c1e9f1c90ddd7c3a89534ed2e Mon Sep 17 00:00:00 2001 From: Rodolfo Carobene Date: Thu, 16 May 2024 16:10:27 +0200 Subject: [PATCH] fix --- src/qibocal/protocols/qubit_power_spectroscopy.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/qibocal/protocols/qubit_power_spectroscopy.py b/src/qibocal/protocols/qubit_power_spectroscopy.py index e3fbf37b4..dcbeee80f 100644 --- a/src/qibocal/protocols/qubit_power_spectroscopy.py +++ b/src/qibocal/protocols/qubit_power_spectroscopy.py @@ -63,15 +63,13 @@ def _acquisition( qd_pulses[qubit] = platform.create_qubit_drive_pulse( qubit, start=0, duration=params.duration ) - ro_pulses[qubit] = platform.create_qubit_readout_pulse( qubit, start=qd_pulses[qubit].finish ) - if params.amplitude is not None: - ro_pulses[qubit].amplitude = params.amplitude + qd_pulses[qubit].amplitude = params.amplitude + amplitudes[qubit] = qd_pulses[qubit].amplitude - amplitudes[qubit] = ro_pulses[qubit].amplitude sequence.add(qd_pulses[qubit]) sequence.add(ro_pulses[qubit])