Skip to content

Commit

Permalink
fix: not reset phases because it won't work for VirtualZ
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Dec 7, 2024
1 parent 796d006 commit 54709ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibolab/_core/instruments/qm/program/instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _delay(pulse: Delay, element: str, parameters: Parameters):
duration = max(int(pulse.duration) // 4 + 1, 4)
qua.wait(duration, element)
elif parameters.interpolated:
duration = parameters.duration + 1
duration = parameters.duration
qua.wait(duration, element)
else:
duration = parameters.duration / 4
Expand Down Expand Up @@ -73,7 +73,7 @@ def _play(
_play_single_waveform(op, element, parameters, acquisition)

if parameters.phase is not None:
qua.reset_frame(element)
qua.frame_rotation_2pi(-parameters.phase, element)


def play(args: ExecutionArguments):
Expand Down

0 comments on commit 54709ec

Please sign in to comment.