Skip to content

Commit

Permalink
fix: remove FluxPulse
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 authored and hay-k committed Apr 16, 2024
1 parent ffcbf1a commit 6790872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibolab/instruments/zhinst/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from qibolab.couplers import Coupler
from qibolab.instruments.abstract import Controller
from qibolab.instruments.port import Port
from qibolab.pulses import FluxPulse, PulseSequence, PulseType
from qibolab.pulses import PulseSequence, PulseType
from qibolab.qubits import Qubit
from qibolab.sweeper import Parameter, Sweeper
from qibolab.unrolling import Bounds
Expand Down Expand Up @@ -341,7 +341,7 @@ def create_sub_sequences(
if len(measurement_groups) == 1:
for ch in other_channels:
for pulse in self.sequence[ch]:
if not isinstance(pulse.pulse, FluxPulse):
if not pulse.pulse.type in (PulseType.FLUX, PulseType.COUPLERFLUX):
break
start, end = measurement_start_end[0]
if pulse.pulse.start < end and pulse.pulse.finish > start:
Expand Down

0 comments on commit 6790872

Please sign in to comment.