Skip to content

Commit

Permalink
fix: Use bad patch as probe filter for unrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Aug 15, 2024
1 parent 046cea8 commit b07b2ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qibolab/unrolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def _waveform(sequence: PulseSequence):

def _readout(sequence: PulseSequence):
# TODO: Do we count 1 readout per pulse or 1 readout per multiplexed readout ?
return len(sequence.probe_pulses)
# FIXME: exploitation of non-standard convention for channel names
return sum(1 for ch, p in sequence if "probe" in ch)


def _instructions(sequence: PulseSequence):
Expand Down

0 comments on commit b07b2ec

Please sign in to comment.