Skip to content

Commit

Permalink
Merge pull request #858 from qiboteam/single-unsplit-section
Browse files Browse the repository at this point in the history
Fix the hotfix: Single unsplit section
  • Loading branch information
hay-k authored Mar 29, 2024
2 parents 48d0352 + fa9d144 commit abe3698
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/qibolab/instruments/zhinst/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,10 @@ def get_channel_node_path(self, channel_name: str) -> str:
def select_exp(self, exp, qubits, exp_options):
"""Build Zurich Experiment selecting the relevant sections."""
# channels that were not split are just applied in parallel to the rest of the experiment
for ch in self.unsplit_channels:
with exp.section(uid="unsplit_channels"):
with exp.section(uid="unsplit_channels"):
for ch in self.unsplit_channels:
for pulse in self.sequence[ch]:
exp.delay(signal=ch, time=pulse.pulse.start)
self.play_sweep(exp, ch, pulse)

weights = {}
Expand Down

0 comments on commit abe3698

Please sign in to comment.