diff --git a/src/qibolab/instruments/zhinst.py b/src/qibolab/instruments/zhinst.py index 2bcd9e8e19..e5198abe89 100644 --- a/src/qibolab/instruments/zhinst.py +++ b/src/qibolab/instruments/zhinst.py @@ -313,7 +313,7 @@ def __init__(self, name, device_setup, use_emulation=False, time_of_flight=0.0, self.smearing = smearing self.chip = "iqm5q" "Parameters read from the runcard not part of ExecutionParameters" - self.kernels = defaultdict(Path) + self.kernels = defaultdict(Path) self.exp = None self.experiment = None @@ -432,7 +432,7 @@ def register_readout_line(self, qubit, intermediate_frequency, options): self.signal_map[f"acquire{q}"] = self.device_setup.logical_signal_groups[f"q{q}"].logical_signals[ "acquire_line" ] - + if qubit.kernel_path: self.kernels[q] = qubit.kernel_path / f"kernels_q{q}.npz" if self.kernels[q].is_file() and options.acquisition_type == AcquisitionType.DISCRIMINATION: