Skip to content

Commit

Permalink
fix: compilation error when running mixer calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Dec 27, 2024
1 parent e00cfe1 commit 74b8617
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qibolab/instruments/qm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
SAMPLING_RATE = 1
"""Sampling rate of Quantum Machines OPX in GSps."""

DEFAULT_INPUTS = {1: {}, 2: {}}
DEFAULT_INPUTS = {1: {"offset": 0}, 2: {"offset": 0}}
"""Default controller config section.
Inputs are always registered to avoid issues with automatic mixer
Expand Down Expand Up @@ -57,7 +57,7 @@ def register_port(self, port):
controllers[port.device] = {"type": "opx1000", "fems": {}}
else:
controllers[port.device] = {
"analog_inputs": DEFAULT_INPUTS,
"analog_inputs": DEFAULT_INPUTS.copy(),
"digital_outputs": {},
}

Expand All @@ -66,7 +66,7 @@ def register_port(self, port):
if port.fem_number not in fems:
fems[port.fem_number] = {
"type": port.fem_type,
"analog_inputs": DEFAULT_INPUTS,
"analog_inputs": DEFAULT_INPUTS.copy(),
"digital_outputs": {},
}
device = fems[port.fem_number]
Expand Down

0 comments on commit 74b8617

Please sign in to comment.