def cal_CORPSE_pi(name):
    m = CORPSEPiCalibration(name + 'M=11')
    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_pi_sweep_amps'] = np.linspace(0.42, 0.52, pts)
    m.params['multiplicity'] = 11
    name = 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)
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 find_CORPSE_fidelity(name):
    m = CORPSEPiCalibration(name+'fidelity_M=1')
    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_pi_sweep_amps'] = np.ones(pts)*m.params['CORPSE_pi_amp']#np.linspace(0.54, 0.66, pts)#
    m.params['multiplicity'] = 1
    name = name + 'M={}'.format(m.params['multiplicity'])
    m.params['delay_element_length'] = 1e-6
    m.params['delay_reps'] = 15

    # for the autoanalysis
    m.params['sweep_name'] = ''
    m.params['sweep_pts'] = np.arange(pts) # m.params['CORPSE_pi_sweep_amps']  

    funcs.finish(m)
def cal_CORPSE_pi(name):
    m = CORPSEPiCalibration(name+'M=11')
    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_pi_sweep_amps'] = np.linspace(0.39, 0.49, pts)
    m.params['multiplicity'] = 11
    name = 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)
Exemple #6
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 find_CORPSE_fidelity(name):
    m = CORPSEPiCalibration(name + 'fidelity_M=1')
    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_pi_sweep_amps'] = np.ones(pts) * m.params[
        'CORPSE_pi_amp']  #np.linspace(0.54, 0.66, pts)#
    m.params['multiplicity'] = 1
    name = name + 'M={}'.format(m.params['multiplicity'])
    m.params['delay_element_length'] = 1e-6
    m.params['delay_reps'] = 15

    # for the autoanalysis
    m.params['sweep_name'] = ''
    m.params['sweep_pts'] = np.arange(pts)  # m.params['CORPSE_pi_sweep_amps']

    funcs.finish(m)