Skip to content

Commit

Permalink
review changes implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSarlle committed Jun 5, 2023
1 parent 989e0aa commit f1c4397
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/qibolab/instruments/qblox.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,9 +863,6 @@ def process_pulse_sequence(self, instrument_pulses: PulseSequence, nshots: int,
body += initial_wait_instruction

for n in range(pulses.count):
# if (self.ports["i1"].hardware_demod_en or self.ports["o1"].hardware_mod_en) and pulses[
# n
# ].relative_phase != 0:
if self.ports["i1"].hardware_demod_en or self.ports["o1"].hardware_mod_en:
# Set phase
phase = (pulses[n].relative_phase * 360 / (2 * np.pi)) % 360
Expand Down
2 changes: 1 addition & 1 deletion src/qibolab/platforms/multiqubit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import yaml
from qibo.config import log, raise_error

from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab import AcquisitionType, AveragingMode
from qibolab.channels import ChannelMap
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence, PulseType
Expand Down

0 comments on commit f1c4397

Please sign in to comment.