Example #1
0
def cal_CORPSE_pi2(name):
    """
    Do a pi/2 with and without a pi pulse afterward, sweeping the amplitude of the pi/2.
    """

    m = CORPSEPi2Calibration(name)
    funcs.prepare(m)

    pts = 21
    m.params['pts_awg'] = pts

    # we do actually two msmts for every sweep point, that's why the awg gets only half of the
    # pts;
    m.params['pts'] = 2 * pts

    m.params['repetitions'] = 2000
    m.params['wait_for_AWG_done'] = 1

    m.params['CORPSE_mod_frq'] = m.params['CORPSE_pi_mod_frq']
    sweep_axis = 0.42 + linspace(-0.06, 0.06, pts)
    m.params['CORPSE_pi2_sweep_amps'] = sweep_axis

    # for the autoanalysis
    m.params['sweep_name'] = 'MW pi/2 amp (V)'
    m.params['sweep_pts'] = np.sort(np.append(sweep_axis, sweep_axis))

    funcs.finish(m, upload=UPLOAD, debug=DEBUG)
def cal_CORPSE_pi2(name):
    """
    Do a pi/2 with and without a pi pulse afterward, sweeping the amplitude of the pi/2.
    """

    m = CORPSEPi2Calibration(name)
    funcs.prepare(m)

    pts = 21    
    m.params['pts_awg'] = pts

    # we do actually two msmts for every sweep point, that's why the awg gets only half of the 
    # pts;
    m.params['pts'] = 2*pts  
    
    m.params['repetitions'] = 2000
    m.params['wait_for_AWG_done'] = 1

    m.params['CORPSE_mod_frq'] = m.params['CORPSE_pi_mod_frq']
    sweep_axis = 0.42+linspace(-0.06,0.06,pts)
    m.params['CORPSE_pi2_sweep_amps'] = sweep_axis

    # for the autoanalysis
    m.params['sweep_name'] = 'MW pi/2 amp (V)'
    m.params['sweep_pts'] = np.sort(np.append(sweep_axis,sweep_axis))

    funcs.finish(m, upload=UPLOAD, debug=DEBUG)
Example #3
0
def cal_CORPSE_pi(name, multiplicity=5):
    m = CORPSEPiCalibration(name + 'M={}'.format(multiplicity))
    funcs.prepare(m)

    pts = 11
    m.params['pts'] = pts
    m.params['repetitions'] = 1000
    m.params['wait_for_AWG_done'] = 1

    # sweep params
    m.params['CORPSE_mod_frq'] = m.params['CORPSE_pi_mod_frq']
    m.params['CORPSE_pi_sweep_amps'] = np.linspace(0.34, 0.44, pts)
    m.params['multiplicity'] = multiplicity
    name + 'M={}'.format(m.params['multiplicity'])
    m.params['delay_reps'] = 15

    # for the autoanalysis
    m.params['sweep_name'] = 'CORPSE amplitude (V)'
    m.params['sweep_pts'] = m.params['CORPSE_pi_sweep_amps']

    funcs.finish(m, upload=UPLOAD, debug=False)
def cal_CORPSE_pi(name, multiplicity = 5):
    m = CORPSEPiCalibration(name+'M={}'.format(multiplicity))
    funcs.prepare(m)

    pts = 11
    m.params['pts'] = pts
    m.params['repetitions'] = 1000
    m.params['wait_for_AWG_done'] = 1

    # sweep params
    m.params['CORPSE_mod_frq'] = m.params['CORPSE_pi_mod_frq']
    m.params['CORPSE_pi_sweep_amps'] = np.linspace(0.34, 0.44, pts)
    m.params['multiplicity'] = multiplicity
    name + 'M={}'.format(m.params['multiplicity'])
    m.params['delay_reps'] = 15

    # for the autoanalysis
    m.params['sweep_name'] = 'CORPSE amplitude (V)'
    m.params['sweep_pts'] = m.params['CORPSE_pi_sweep_amps']  

    funcs.finish(m, upload = UPLOAD, debug = False)
def cal_ssro_teleportation(name, A_SP_duration = 250):
    m = ssro.AdwinSSRO('SSROCalibration_'+name) 
    m.params.from_dict(qt.cfgman['protocols']['AdwinSSRO'])  
    funcs.prepare(m)
    m.params['SSRO_repetitions'] = 5000
    m.params['SSRO_duration'] = 50
    m.params['SP_duration'] = A_SP_duration # we want to calibrate the RO, not the SP

     # ms = 1 calibration
    m.params['Ex_SP_amplitude'] = 0
    m.run()
    m.save('ms0')

    # ms = 1 calibration
    m.params['A_SP_amplitude'] = 0.
    m.params['SP_duration'] = 250
    m.params['Ex_SP_amplitude'] =  10e-9

    m.run()
    m.save('ms1')
    m.finish()
def cal_CORPSE_pi(name, multiplicity=5):
    m = CORPSEPiCalibration(name + "M={}".format(multiplicity))
    funcs.prepare(m)

    pts = 11
    m.params["pts"] = pts
    m.params["repetitions"] = 1000
    m.params["wait_for_AWG_done"] = 1

    # sweep params
    m.params["CORPSE_mod_frq"] = m.params["CORPSE_pi_mod_frq"]
    m.params["CORPSE_pi_sweep_amps"] = np.linspace(0.34, 0.44, pts)
    m.params["multiplicity"] = multiplicity
    name + "M={}".format(m.params["multiplicity"])
    m.params["delay_reps"] = 15

    # for the autoanalysis
    m.params["sweep_name"] = "CORPSE amplitude (V)"
    m.params["sweep_pts"] = m.params["CORPSE_pi_sweep_amps"]

    funcs.finish(m, upload=UPLOAD, debug=False)
def cal_ssro_teleportation(name, A_SP_duration=250):
    m = ssro.AdwinSSRO("SSROCalibration_" + name)
    m.params.from_dict(qt.cfgman["protocols"]["AdwinSSRO"])
    funcs.prepare(m)
    m.params["SSRO_repetitions"] = 5000
    m.params["SSRO_duration"] = 50
    m.params["SP_duration"] = A_SP_duration  # we want to calibrate the RO, not the SP

    # ms = 1 calibration
    m.params["Ex_SP_amplitude"] = 0
    m.run()
    m.save("ms0")

    # ms = 1 calibration
    m.params["A_SP_amplitude"] = 0.0
    m.params["SP_duration"] = 250
    m.params["Ex_SP_amplitude"] = 10e-9

    m.run()
    m.save("ms1")
    m.finish()
Example #8
0
def cal_ssro_teleportation(name, A_SP_duration=250):
    m = ssro.AdwinSSRO('SSROCalibration_' + name)
    m.params.from_dict(qt.cfgman['protocols']['AdwinSSRO'])
    funcs.prepare(m)
    m.params['SSRO_repetitions'] = 5000
    m.params['SSRO_duration'] = 50
    m.params[
        'SP_duration'] = A_SP_duration  # we want to calibrate the RO, not the SP

    # ms = 1 calibration
    m.params['Ex_SP_amplitude'] = 0
    m.run()
    m.save('ms0')

    # ms = 1 calibration
    m.params['A_SP_amplitude'] = 0.
    m.params['SP_duration'] = 250
    m.params['Ex_SP_amplitude'] = 10e-9

    m.run()
    m.save('ms1')
    m.finish()