diff --git a/src/qibocal/protocols/flipping.py b/src/qibocal/protocols/flipping.py index 4132a9e08..f0811cb3b 100644 --- a/src/qibocal/protocols/flipping.py +++ b/src/qibocal/protocols/flipping.py @@ -146,13 +146,14 @@ def _acquisition( data = FlippingData( resonator_type=platform.resonator_type, delta_amplitude=params.delta_amplitude, - pulse_amplitudes={ - if rx90: - qubit: platform.natives.single_qubit[qubit].RX90[0][1].amplitude - else: - qubit: platform.natives.single_qubit[qubit].RX[0][1].amplitude + pulse_amplitudes = { + qubit: ( + platform.natives.single_qubit[qubit].RX90[0][1].amplitude + if rx90 + else platform.natives.single_qubit[qubit].RX[0][1].amplitude + ) for qubit in targets - }, + } rx90=params.rx90, )