Loading quantify_scheduler/instrument_coordinator/components/qblox.py +2 −2 Original line number Diff line number Diff line Loading @@ -1386,11 +1386,11 @@ class _QRCComponent(_RFComponent, _AnalogReadoutComponent): for i in range(2): if (freq := getattr(settings, f"lo{i}_freq")) is not None: self._set_parameter(self.instrument, f"out{i}_in{i}_freq", freq) self._set_parameter(self.instrument, f"out{i}_in{i}_lo_freq", freq) for i in range(2, 6): if (freq := getattr(settings, f"lo{i}_freq")) is not None: self._set_parameter(self.instrument, f"out{i}_freq", freq) self._set_parameter(self.instrument, f"out{i}_lo_freq", freq) def _determine_input_channel_map_parameters( self, settings: AnalogSequencerSettings, channel_map_parameters: dict[str, str] Loading tests/scheduler/instrument_coordinator/components/test_qblox.py +26 −26 Original line number Diff line number Diff line Loading @@ -2233,7 +2233,7 @@ def test_channel_map( freq_01 = 5e9 elif module_type == "QRC": hardware_config["hardware_options"] = { "modulation_frequencies": {"q5:mw-q5.01": {"interm_freq": 3e6}} "modulation_frequencies": {"q5:mw-q5.01": {"interm_freq": 0}} } freq_01 = 5e9 else: Loading Loading @@ -2440,7 +2440,7 @@ def test_channel_map_measure( readout = 8.5e9 elif module_type == "QRC": hardware_config["hardware_options"] = { "modulation_frequencies": {"q5:res-q5.ro": {"interm_freq": 3e6}} "modulation_frequencies": {"q5:res-q5.ro": {"interm_freq": 0}} } freq_01 = 5e9 readout = 1.5e9 Loading Loading @@ -2621,12 +2621,12 @@ def test_run_dummy_scope( 6e8 + 3e5, "complex_output_2", { "out0_in0_freq": 0, "out1_in1_freq": 0, "out2_freq": 6e8, "out3_freq": 0, "out4_freq": 0, "out5_freq": 0, "out0_in0_lo_freq": 0, "out1_in1_lo_freq": 0, "out2_lo_freq": 6e8, "out3_lo_freq": 0, "out4_lo_freq": 0, "out5_lo_freq": 0, }, ), pytest.param( Loading @@ -2634,12 +2634,12 @@ def test_run_dummy_scope( 6e8 + 3e5, "complex_output_3", { "out0_in0_freq": 0, "out1_in1_freq": 0, "out2_freq": 0, "out3_freq": 6e8, "out4_freq": 0, "out5_freq": 0, "out0_in0_lo_freq": 0, "out1_in1_lo_freq": 0, "out2_lo_freq": 0, "out3_lo_freq": 6e8, "out4_lo_freq": 0, "out5_lo_freq": 0, }, ), pytest.param( Loading @@ -2647,12 +2647,12 @@ def test_run_dummy_scope( 6e8 + 3e5, "complex_output_4", { "out0_in0_freq": 0, "out1_in1_freq": 0, "out2_freq": 0, "out3_freq": 0, "out4_freq": 6e8, "out5_freq": 0, "out0_in0_lo_freq": 0, "out1_in1_lo_freq": 0, "out2_lo_freq": 0, "out3_lo_freq": 0, "out4_lo_freq": 6e8, "out5_lo_freq": 0, }, ), pytest.param( Loading @@ -2660,12 +2660,12 @@ def test_run_dummy_scope( 6e8 + 3e5, "complex_output_5", { "out0_in0_freq": 0, "out1_in1_freq": 0, "out2_freq": 0, "out3_freq": 0, "out4_freq": 0, "out5_freq": 6e8, "out0_in0_lo_freq": 0, "out1_in1_lo_freq": 0, "out2_lo_freq": 0, "out3_lo_freq": 0, "out4_lo_freq": 0, "out5_lo_freq": 6e8, }, ), ], Loading Loading
quantify_scheduler/instrument_coordinator/components/qblox.py +2 −2 Original line number Diff line number Diff line Loading @@ -1386,11 +1386,11 @@ class _QRCComponent(_RFComponent, _AnalogReadoutComponent): for i in range(2): if (freq := getattr(settings, f"lo{i}_freq")) is not None: self._set_parameter(self.instrument, f"out{i}_in{i}_freq", freq) self._set_parameter(self.instrument, f"out{i}_in{i}_lo_freq", freq) for i in range(2, 6): if (freq := getattr(settings, f"lo{i}_freq")) is not None: self._set_parameter(self.instrument, f"out{i}_freq", freq) self._set_parameter(self.instrument, f"out{i}_lo_freq", freq) def _determine_input_channel_map_parameters( self, settings: AnalogSequencerSettings, channel_map_parameters: dict[str, str] Loading
tests/scheduler/instrument_coordinator/components/test_qblox.py +26 −26 Original line number Diff line number Diff line Loading @@ -2233,7 +2233,7 @@ def test_channel_map( freq_01 = 5e9 elif module_type == "QRC": hardware_config["hardware_options"] = { "modulation_frequencies": {"q5:mw-q5.01": {"interm_freq": 3e6}} "modulation_frequencies": {"q5:mw-q5.01": {"interm_freq": 0}} } freq_01 = 5e9 else: Loading Loading @@ -2440,7 +2440,7 @@ def test_channel_map_measure( readout = 8.5e9 elif module_type == "QRC": hardware_config["hardware_options"] = { "modulation_frequencies": {"q5:res-q5.ro": {"interm_freq": 3e6}} "modulation_frequencies": {"q5:res-q5.ro": {"interm_freq": 0}} } freq_01 = 5e9 readout = 1.5e9 Loading Loading @@ -2621,12 +2621,12 @@ def test_run_dummy_scope( 6e8 + 3e5, "complex_output_2", { "out0_in0_freq": 0, "out1_in1_freq": 0, "out2_freq": 6e8, "out3_freq": 0, "out4_freq": 0, "out5_freq": 0, "out0_in0_lo_freq": 0, "out1_in1_lo_freq": 0, "out2_lo_freq": 6e8, "out3_lo_freq": 0, "out4_lo_freq": 0, "out5_lo_freq": 0, }, ), pytest.param( Loading @@ -2634,12 +2634,12 @@ def test_run_dummy_scope( 6e8 + 3e5, "complex_output_3", { "out0_in0_freq": 0, "out1_in1_freq": 0, "out2_freq": 0, "out3_freq": 6e8, "out4_freq": 0, "out5_freq": 0, "out0_in0_lo_freq": 0, "out1_in1_lo_freq": 0, "out2_lo_freq": 0, "out3_lo_freq": 6e8, "out4_lo_freq": 0, "out5_lo_freq": 0, }, ), pytest.param( Loading @@ -2647,12 +2647,12 @@ def test_run_dummy_scope( 6e8 + 3e5, "complex_output_4", { "out0_in0_freq": 0, "out1_in1_freq": 0, "out2_freq": 0, "out3_freq": 0, "out4_freq": 6e8, "out5_freq": 0, "out0_in0_lo_freq": 0, "out1_in1_lo_freq": 0, "out2_lo_freq": 0, "out3_lo_freq": 0, "out4_lo_freq": 6e8, "out5_lo_freq": 0, }, ), pytest.param( Loading @@ -2660,12 +2660,12 @@ def test_run_dummy_scope( 6e8 + 3e5, "complex_output_5", { "out0_in0_freq": 0, "out1_in1_freq": 0, "out2_freq": 0, "out3_freq": 0, "out4_freq": 0, "out5_freq": 6e8, "out0_in0_lo_freq": 0, "out1_in1_lo_freq": 0, "out2_lo_freq": 0, "out3_lo_freq": 0, "out4_lo_freq": 0, "out5_lo_freq": 6e8, }, ), ], Loading