Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 5, 2023
1 parent 4a920cc commit 79fa12f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibolab/instruments/zhinst.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 79fa12f

Please sign in to comment.