diff --git a/src/qibolab/instruments/zhinst/pulse.py b/src/qibolab/instruments/zhinst/pulse.py index 52ce6f921..6878d0ea9 100644 --- a/src/qibolab/instruments/zhinst/pulse.py +++ b/src/qibolab/instruments/zhinst/pulse.py @@ -15,7 +15,9 @@ def select_pulse(pulse: Pulse): """Return laboneq pulse object corresponding to the given qibolab pulse.""" if isinstance(pulse.envelope, Rectangular): - can_compress = pulse.type is not PulseType.READOUT + # FIXME: + # can_compress = pulse.type is not PulseType.READOUT + can_compress = False return laboneq.pulse_library.const( length=round(pulse.duration * NANO_TO_SECONDS, 9), amplitude=pulse.amplitude, @@ -33,7 +35,9 @@ def select_pulse(pulse: Pulse): if isinstance(pulse.envelope, GaussianSquare): sigma = pulse.envelope.rel_sigma width = pulse.envelope.width - can_compress = pulse.type is not PulseType.READOUT + # FIXME: + # can_compress = pulse.type is not PulseType.READOUT + can_compress = False return laboneq.pulse_library.gaussian_square( length=round(pulse.duration * NANO_TO_SECONDS, 9), width=round(pulse.duration * NANO_TO_SECONDS, 9) * width, diff --git a/src/qibolab/instruments/zhinst/sweep.py b/src/qibolab/instruments/zhinst/sweep.py index 69c8810df..892368eee 100644 --- a/src/qibolab/instruments/zhinst/sweep.py +++ b/src/qibolab/instruments/zhinst/sweep.py @@ -22,7 +22,9 @@ def classify_sweepers( for sweeper in sweepers: if sweeper.parameter is Parameter.bias or ( sweeper.parameter is Parameter.amplitude - and sweeper.pulses[0].type is PulseType.READOUT + # FIXME: + # and sweeper.pulses[0].type is PulseType.READOUT + and False ): nt_sweepers.append(sweeper) else: