From a98040efc02f6e6a843206095bd49e4773f9731b Mon Sep 17 00:00:00 2001 From: Hayk Sargsyan <52532457+hay-k@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:00:27 +0400 Subject: [PATCH 1/2] create a single unsplit_channels section --- src/qibolab/instruments/zhinst/executor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qibolab/instruments/zhinst/executor.py b/src/qibolab/instruments/zhinst/executor.py index 0ca28332c8..de5f250cb8 100644 --- a/src/qibolab/instruments/zhinst/executor.py +++ b/src/qibolab/instruments/zhinst/executor.py @@ -562,8 +562,8 @@ 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]: self.play_sweep(exp, ch, pulse) From fa9d144c9784c4e49e82ee940996a1789857e5ab Mon Sep 17 00:00:00 2001 From: Hayk Sargsyan <52532457+hay-k@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:22:18 +0400 Subject: [PATCH 2/2] delay unsplit flux pulses according to their start --- src/qibolab/instruments/zhinst/executor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qibolab/instruments/zhinst/executor.py b/src/qibolab/instruments/zhinst/executor.py index de5f250cb8..5c005077f7 100644 --- a/src/qibolab/instruments/zhinst/executor.py +++ b/src/qibolab/instruments/zhinst/executor.py @@ -565,6 +565,7 @@ def select_exp(self, exp, qubits, exp_options): 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 = {}