def calslowpipulse(name): m = mbi.ElectronRabi('pi_calib_slow_'+name, qt.instruments['adwin'], qt.instruments['AWG']) m.params.from_dict(qt.cfgman['protocols']['AdwinSSRO']) m.params.from_dict(qt.cfgman['protocols']['sil2-default']['AdwinSSRO']) m.params.from_dict(qt.cfgman['protocols']['AdwinSSRO+MBI']) m.params.from_dict(qt.cfgman['protocols']['sil2-default']['AdwinSSRO+MBI']) pts = 8 m.params['pts'] = pts m.params['AWG_RO_MW_pulse_durations'] = np.ones(pts) * 2500 m.params['AWG_RO_MW_pulse_amps'] = np.linspace(0.009, 0.012, pts) m.params['AWG_RO_MW_pulse_ssbmod_frqs'] = np.ones(pts) * \ m.params['AWG_MBI_MW_pulse_ssbmod_frq'] m.params['reps_per_ROsequence'] = 1000 m.params['MW_pulse_multiplicity'] = 5 m.params['sweep_name'] = 'MW pulse amplitude (V)' m.params['sweep_pts'] = m.params['AWG_RO_MW_pulse_amps'] m.setup() m.autoconfig() m.generate_sequence() m.run() m.save() m.finish()
def calpi397ns(name): m = mbi.ElectronRabi('pi_calib_397ns_'+name, qt.instruments['adwin'], qt.instruments['AWG']) mbi._prepare(m) pts = 8 m.params['pts'] = pts m.params['AWG_RO_MW_pulse_durations'] = np.ones(pts) * 396 m.params['AWG_RO_MW_pulse_amps'] = np.linspace(0.06, 0.1, pts) m.params['AWG_RO_MW_pulse_ssbmod_frqs'] = np.ones(pts) * \ m.params['AWG_MBI_MW_pulse_ssbmod_frq'] m.params['reps_per_ROsequence'] = 1000 m.params['MW_pulse_multiplicity'] = 5 m.params['MW_pulse_delay'] = 20000 m.params['sweep_name'] = 'MW pulse amplitude (V)' m.params['sweep_pts'] = m.params['AWG_RO_MW_pulse_amps'] mbi._run(m)
def calCORPSE420(name): m = mbi.ElectronRabi('calib_CORPSE420_'+name, qt.instruments['adwin'], qt.instruments['AWG']) mbi._prepare(m) pts = 8 m.params['pts'] = pts m.params['AWG_RO_MW_pulse_durations'] = np.linspace(132,142,pts) m.params['AWG_RO_MW_pulse_amps'] = np.ones(pts) * 0.9 m.params['AWG_RO_MW_pulse_ssbmod_frqs'] = np.ones(pts) * \ m.params['AWG_MBI_MW_pulse_ssbmod_frq'] m.params['reps_per_ROsequence'] = 1000 m.params['MW_pulse_multiplicity'] = 1 m.params['MW_pulse_delay'] = 100 m.params['sweep_name'] = 'MW pulse duration (ns)' m.params['sweep_pts'] = m.params['AWG_RO_MW_pulse_durations'] mbi._run(m)
def calhardpipulse(name): m = mbi.ElectronRabi('pi_calib_hardpulse_'+name,#'pi_calib_hardpulse', qt.instruments['adwin'], qt.instruments['AWG']) mbi._prepare(m) pts = 8 m.params['pts'] = pts m.params['AWG_RO_MW_pulse_durations'] = np.linspace(55,75,pts) m.params['AWG_RO_MW_pulse_amps'] = np.ones(pts) * 0.9 m.params['AWG_RO_MW_pulse_ssbmod_frqs'] = np.ones(pts) * \ m.params['AWG_MBI_MW_pulse_ssbmod_frq'] m.params['reps_per_ROsequence'] = 1000 m.params['MW_pulse_multiplicity'] = 5 m.params['MW_pulse_delay'] = 20000 m.params['sweep_name'] = 'MW pulse length (ns)' m.params['sweep_pts'] = m.params['AWG_RO_MW_pulse_durations'] mbi._run(m)