Skip to content

Commit

Permalink
Update quantum_machines_compiler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jordivallsq authored Nov 12, 2024
1 parent 156771b commit 0fbf527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qililab/qprogram/quantum_machines_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ def _handle_measure(self, element: Measure):
)

warmup_pulse = element.warmup_pulse
if warmup_pulse != None:
play_warmup=Play(bus=element.bus, waveform=warmup_pulse)
if warmup_pulse is not None:
play_warmup = Play(bus=element.bus, waveform=warmup_pulse)
self._handle_play(play_warmup)

variable_I = qua.declare(qua.fixed)
Expand Down

0 comments on commit 0fbf527

Please sign in to comment.