T_list = [] sink_list = [] run({ "ro_0": ro_0, "H": state['H'], "dt": dt, "sink_list": sink_list, "T_list": T_list, "precision": 1e-3, 'sink_limit': 1, "thres": 0.001, 'lindblad': { 'out': { 'L': operator_a(state['H']), 'l': l }, }, }) # MkDir('sink') pickle_dump(T_list, 'sink/1ms_l001g/T_list_' + state['name'] + '.pkl') pickle_dump(sink_list, 'sink/1ms_l001g/sink_list_' + state['name'] + '.pkl') # ----------------------------------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------------------------------------- # =====================================================================================================================
# }, ]: ro_0 = DensityMatrix(w_0['obj']) T_list = [] sink_list = [] run({ "ro_0": ro_0, "H": H, "dt": config.dt, "sink_list": sink_list, "T_list": T_list, "precision": 1e-3, 'sink_limit': 1, 'lindblad': { 'out': { 'L': operator_a(H, H.capacity, H.cavity.n_atoms), 'l': config.l }, }, }) list_to_csv(T_list, 'MM/' + path + '/' + 'T_' + w_0['name'] + '.csv') # list_to_csv(np.array(T_list) * 1e9, 'MM/' + path + '/' + 'T_' + w_0['name'] + '.csv') list_to_csv(sink_list, 'MM/' + path + '/' + 'sink_' + w_0['name'] + '.csv') # --------------------------------------------------------------------------------------------------------------------- # =====================================================================================================================