Skip to content

Commit

Permalink
fix: fixes for hardware execution
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Sep 18, 2024
1 parent f165d4f commit 9d2731f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/qibocal/protocols/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,14 @@ def _acquisition(
ro_pulses = {}
sequence = PulseSequence()
for q in targets:
ro_sequence = native.MZ()
ro_sequence = native[q].MZ()
ro_pulses[q] = ro_sequence[0][1].id
sequence += ro_sequence

if state == 1:
rx_sequence = sum([native[q].RX() for q in targets], PulseSequence)
rx_sequence = PulseSequence()
for q in targets:
rx_sequence += native[q].RX()
sequence = rx_sequence | sequence

sequences.append(sequence)
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Union

import numpy as np
from qibolab import Platform, pulses
from qibolab import Platform

from qibocal.auto.operation import QubitId, QubitPairId

Expand Down

0 comments on commit 9d2731f

Please sign in to comment.