QudevETH / PycQED_py3

Python3 version of PycQED using QCodes as backend
MIT License
9 stars 7 forks source link

'Block Demo' error #78

Open fadinolf opened 4 years ago

fadinolf commented 4 years ago

d:\software\controlsoftware\pycqed_py3\data Data directory set to: d:\software\controlsoftware\pycqed_py3\data D:\pydata d:\software\controlsoftware\pycqed_py3\data All images are saved in: d:\software\controlsoftware\pycqed_py3\pycqed_scripts\pycqedscripts\scripts\parking_positions\plots Initialized dummy UHFQC UHF1 in 0.05s Initialized dummy UHFQC UHF2 in 0.03s

WARNING:pycqed.measurement.optimization:Machine learning packages not loaded. Run from pycqed.analysis import machine_learning_toolbox to see errors. Machine learning packages not loaded. Run from pycqed.analysis import machine_learning_toolbox to see errors. WARNING:pycqed.analysis.measurement_analysis:Machine learning packages not loaded. Run from pycqed.analysis import machine_learning_toolbox to see errors. Machine learning packages not loaded. Run from pycqed.analysis import machine_learning_toolbox to see errors. WARNING:pycqed.measurement.multi_qubit_module:"UHFQuantumController" not imported. "UHFQuantumController" not imported. WARNING:pycqed.instrument_drivers.meta_instrument.qubit_objects.QuDev_transmon:"readout_mode_simulations_for_CLEAR_pulse" not imported. "readout_mode_simulations_for_CLEAR_pulse" not imported. WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_LO_RO1 Snapshot: Could not update parameter: frequency on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_LO_RO1 Snapshot: Could not update parameter: phase on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_LO_RO1 Snapshot: Could not update parameter: power on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_LO_RO1 Snapshot: Could not update parameter: status on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_LO_RO1 Snapshot: Could not update parameter: pulsemod_state on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_TWPA_RO1 Snapshot: Could not update parameter: frequency on MWG_TWPA_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_TWPA_RO1 Snapshot: Could not update parameter: phase on MWG_TWPA_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_TWPA_RO1 Snapshot: Could not update parameter: power on MWG_TWPA_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_TWPA_RO1 Snapshot: Could not update parameter: status on MWG_TWPA_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_TWPA_RO1 Snapshot: Could not update parameter: pulsemod_state on MWG_TWPA_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_LO_RO1 Snapshot: Could not update parameter: frequency on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_LO_RO1 Snapshot: Could not update parameter: phase on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_LO_RO1 Snapshot: Could not update parameter: power on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_LO_RO1 Snapshot: Could not update parameter: status on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_LO_RO1 Snapshot: Could not update parameter: pulsemod_state on MWG_LO_RO1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_TWPA_RO2 Snapshot: Could not update parameter: frequency on MWG_TWPA_RO2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_TWPA_RO2 Snapshot: Could not update parameter: phase on MWG_TWPA_RO2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_TWPA_RO2 Snapshot: Could not update parameter: power on MWG_TWPA_RO2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_TWPA_RO2 Snapshot: Could not update parameter: status on MWG_TWPA_RO2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_TWPA_RO2 Snapshot: Could not update parameter: pulsemod_state on MWG_TWPA_RO2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_LO_QB1 Snapshot: Could not update parameter: frequency on MWG_LO_QB1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_LO_QB1 Snapshot: Could not update parameter: phase on MWG_LO_QB1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_LO_QB1 Snapshot: Could not update parameter: power on MWG_LO_QB1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_LO_QB1 Snapshot: Could not update parameter: status on MWG_LO_QB1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB1 Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB1 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_LO_QB2 Snapshot: Could not update parameter: frequency on MWG_LO_QB2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_LO_QB2 Snapshot: Could not update parameter: phase on MWG_LO_QB2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_LO_QB2 Snapshot: Could not update parameter: power on MWG_LO_QB2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_LO_QB2 Snapshot: Could not update parameter: status on MWG_LO_QB2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB2 Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB2 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_LO_QB45 Snapshot: Could not update parameter: frequency on MWG_LO_QB45 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_LO_QB45 Snapshot: Could not update parameter: phase on MWG_LO_QB45 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_LO_QB45 Snapshot: Could not update parameter: power on MWG_LO_QB45 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_LO_QB45 Snapshot: Could not update parameter: status on MWG_LO_QB45 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB45 Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB45 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_LO_QB3 Snapshot: Could not update parameter: frequency on MWG_LO_QB3 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_LO_QB3 Snapshot: Could not update parameter: phase on MWG_LO_QB3 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_LO_QB3 Snapshot: Could not update parameter: power on MWG_LO_QB3 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_LO_QB3 Snapshot: Could not update parameter: status on MWG_LO_QB3 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB3 Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB3 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_LO_QB6 Snapshot: Could not update parameter: frequency on MWG_LO_QB6 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_LO_QB6 Snapshot: Could not update parameter: phase on MWG_LO_QB6 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_LO_QB6 Snapshot: Could not update parameter: power on MWG_LO_QB6 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_LO_QB6 Snapshot: Could not update parameter: status on MWG_LO_QB6 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB6 Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB6 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: frequency on MWG_LO_QB7 Snapshot: Could not update parameter: frequency on MWG_LO_QB7 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: phase on MWG_LO_QB7 Snapshot: Could not update parameter: phase on MWG_LO_QB7 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: power on MWG_LO_QB7 Snapshot: Could not update parameter: power on MWG_LO_QB7 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: status on MWG_LO_QB7 Snapshot: Could not update parameter: status on MWG_LO_QB7 WARNING:qcodes.instrument.base:Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB7 Snapshot: Could not update parameter: pulsemod_state on MWG_LO_QB7 --------------------------------------------------------------------------- TypeError Traceback (most recent call last) in ----> 1 from pycqedscripts.init.xld.virtual_ATC66_M124_S7P11_PQSC import * 2 from pycqedscripts.init.xld.cz_ATC66_M124_S7P11 import * 3 upcz_pulse_names = add_all_CZ_pulses(qubits) 4 d:\software\controlsoftware\pycqed_py3\pycqed_scripts\pycqedscripts\init\xld\virtual_ATC66_M124_S7P11_PQSC.py in 338 339 qubits = [QuDev_transmon('qb{}'.format(i + 1)) --> 340 for i in range(7)] 341 qb1, qb2, qb3, qb4, qb5, qb6, qb7 = qubits 342 d:\software\controlsoftware\pycqed_py3\pycqed_scripts\pycqedscripts\init\xld\virtual_ATC66_M124_S7P11_PQSC.py in (.0) 338 339 qubits = [QuDev_transmon('qb{}'.format(i + 1)) --> 340 for i in range(7)] 341 qb1, qb2, qb3, qb4, qb5, qb6, qb7 = qubits 342 d:\software\controlsoftware\pycqed_py3\pycqed\instrument_drivers\meta_instrument\qubit_objects\QuDev_transmon.py in __init__(self, name, **kw) 128 self.add_pulse_parameter('RO', 'ro_amp', 'amplitude', 129 initial_value=0.001, --> 130 vals=vals.MultiType(vals.Numbers(), vals.Lists())) 131 self.add_pulse_parameter('RO', 'ro_length', 'pulse_length', 132 initial_value=2e-6, vals=vals.Numbers()) d:\software\controlsoftware\qcodes\qcodes\utils\validators.py in __init__(self, *validators) 452 for val in self._validators: 453 self._valid_values += val._valid_values --> 454 self._valid_values = list(set(self._valid_values)) 455 456 def validate(self, value, context=''): TypeError: unhashable type: 'list'
grahamnorris commented 4 years ago

I would suggest you post this in the pycqed channel on the qudev slack, where it is a bit easier to perform interactive debugging.

nathlacroix commented 4 years ago

@grahamnorris this issue has been solved for him (I took charge of debugging it) but want to have the issue here to remind ourselves to solve the issue on the master whenever we have time (relates to bug in Qcodes)