Skip to content

Commit

Permalink
fixing bugs related to resonator qubit mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsBultink committed May 2, 2018
1 parent d0d6a7b commit ed697e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def _prep_ro_pulses(self):

ro_lm = qb.instr_LutMan_RO.get_instr()
lutmans_to_configure[ro_lm.name] = ro_lm
res_nr = qb.ro_pulse_res_nr()
res_nr = qb.cfg_qubit_nr()()

# extend the list of combinations to be set for the lutman

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,12 @@ def add_ro_parameters(self):
'ro_acq_weight_chI', initial_value=0, docstring=(
'Determines the I-channel for integration. When the'
' ro_acq_weight_type is optimal only this channel will '
'affect the result.'), vals=vals.Ints(0, 5),
'affect the result.'), vals=vals.Ints(0, 9),
parameter_class=ManualParameter)
self.add_parameter(
'ro_acq_weight_chQ', initial_value=1, docstring=(
'Determines the Q-channel for integration.'),
vals=vals.Ints(0, 5), parameter_class=ManualParameter)
vals=vals.Ints(0, 9), parameter_class=ManualParameter)

self.add_parameter('ro_acq_weight_func_I',
vals=vals.Arrays(),
Expand Down Expand Up @@ -512,13 +512,13 @@ def add_config_parameters(self):
# TODO: add docstring (Oct 2017)
self.add_parameter('cfg_prepare_ro_awg', vals=vals.Bool(),
docstring=('If False disables uploading pusles '
'to AWG8 and UHFQC'),
'to UHFQC'),
initial_value=True,
parameter_class=ManualParameter)

self.add_parameter('cfg_prepare_mw_awg', vals=vals.Bool(),
docstring=('If False disables uploading pusles '
'to AWG8 and UHFQC'),
'to AWG8'),
initial_value=True,
parameter_class=ManualParameter)
self.add_parameter('cfg_with_vsm', vals=vals.Bool(),
Expand Down Expand Up @@ -1224,7 +1224,7 @@ def measure_resonator_power(self, freqs, powers, MC=None,

ro_lm = self.instr_LutMan_RO.get_instr()
m_amp_par = ro_lm.parameters[
'M_amp_R{}'.format(self.ro_pulse_res_nr())]
'M_amp_R{}'.format(self.cfg_qubit_nr())]
s2 = swf.lutman_par_dB_attenuation_UHFQC_dig_trig(
LutMan=ro_lm, LutMan_parameter=m_amp_par)
MC.set_sweep_function_2D(s2)
Expand Down

0 comments on commit ed697e2

Please sign in to comment.