def all_required_parameters(cls):
     parameters = set(cls.required_parameters)
     parameters = parameters.union(set(rabi_flopping.all_required_parameters()))
     parameters = list(parameters)
     for p in cls.remove_parameters:
         parameters.remove(p)
     return parameters
Example #2
0
    def all_required_parameters(cls):
        parameters = set(cls.required_parameters)
        parameters = parameters.union(set(rf.all_required_parameters()))
        parameters = list(parameters)

        parameters.remove(('RabiFlopping', 'manual_scan'))
        parameters.remove(('RabiFlopping', 'line_selection'))
        parameters.remove(('RabiFlopping', 'rabi_amplitude_729'))
        parameters.remove(('RabiFlopping', 'frequency_selection'))
        parameters.remove(('RabiFlopping', 'sideband_selection'))

        parameters.remove(('Tomography', 'iteration'))
        parameters.remove(('Tomography', 'rabi_pi_time'))
        parameters.remove(('Tomography', 'tomography_excitation_amplitude'))
        parameters.remove(('Tomography', 'tomography_excitation_frequency'))
        parameters.remove(('TrapFrequencies', 'axial_frequency'))
        parameters.remove(('TrapFrequencies', 'radial_frequency_1')),
        parameters.remove(('TrapFrequencies', 'radial_frequency_2')),
        parameters.remove(('TrapFrequencies', 'rf_drive_frequency')),
        #will be disabling sideband cooling automatically
        parameters.remove(('SidebandCooling', 'frequency_selection')),
        parameters.remove(('SidebandCooling', 'manual_frequency_729')),
        parameters.remove(('SidebandCooling', 'line_selection')),
        parameters.remove(('SidebandCooling', 'sideband_selection')),
        parameters.remove(('SidebandCooling', 'sideband_cooling_type')),
        parameters.remove(('SidebandCooling', 'sideband_cooling_cycles')),
        parameters.remove(
            ('SidebandCooling',
             'sideband_cooling_duration_729_increment_per_cycle')),
        parameters.remove(
            ('SidebandCooling', 'sideband_cooling_frequency_854')),
        parameters.remove(
            ('SidebandCooling', 'sideband_cooling_amplitude_854')),
        parameters.remove(
            ('SidebandCooling', 'sideband_cooling_frequency_866')),
        parameters.remove(
            ('SidebandCooling', 'sideband_cooling_amplitude_866')),
        parameters.remove(
            ('SidebandCooling', 'sideband_cooling_amplitude_729')),
        parameters.remove(
            ('SidebandCooling', 'sideband_cooling_optical_pumping_duration')),
        parameters.remove(('SidebandCoolingContinuous',
                           'sideband_cooling_continuous_duration')),
        parameters.remove(
            ('SidebandCoolingPulsed', 'sideband_cooling_pulsed_duration_729')),
        parameters.remove(
            ('SidebandCoolingPulsed', 'sideband_cooling_pulsed_cycles')),
        parameters.remove(('SidebandCoolingPulsed',
                           'sideband_cooling_pulsed_duration_repumps')),
        parameters.remove(('SidebandCoolingPulsed',
                           'sideband_cooling_pulsed_duration_additional_866')),
        parameters.remove(('SidebandCoolingPulsed',
                           'sideband_cooling_pulsed_duration_between_pulses')),
        #will be enable optical pumping automatically
        parameters.remove(('StatePreparation', 'optical_pumping_enable'))
        parameters.remove(('StatePreparation', 'sideband_cooling_enable'))
        return parameters
    def all_required_parameters(cls):
        parameters = set(cls.required_parameters)
        parameters = parameters.union(set(rf.all_required_parameters()))
        parameters = list(parameters)

        parameters.remove(("RabiFlopping", "manual_scan"))
        parameters.remove(("RabiFlopping", "line_selection"))
        parameters.remove(("RabiFlopping", "rabi_amplitude_729"))
        parameters.remove(("RabiFlopping", "frequency_selection"))
        parameters.remove(("RabiFlopping", "sideband_selection"))

        parameters.remove(("Tomography", "iteration"))
        parameters.remove(("Tomography", "rabi_pi_time"))
        parameters.remove(("Tomography", "tomography_excitation_amplitude"))
        parameters.remove(("Tomography", "tomography_excitation_frequency"))
        parameters.remove(("TrapFrequencies", "axial_frequency"))
        parameters.remove(("TrapFrequencies", "radial_frequency_1")),
        parameters.remove(("TrapFrequencies", "radial_frequency_2")),
        parameters.remove(("TrapFrequencies", "rf_drive_frequency")),
        # will be disabling sideband cooling automatically
        parameters.remove(("SidebandCooling", "frequency_selection")),
        parameters.remove(("SidebandCooling", "manual_frequency_729")),
        parameters.remove(("SidebandCooling", "line_selection")),
        parameters.remove(("SidebandCooling", "sideband_selection")),
        parameters.remove(("SidebandCooling", "sideband_cooling_type")),
        parameters.remove(("SidebandCooling", "sideband_cooling_cycles")),
        parameters.remove(("SidebandCooling", "sideband_cooling_duration_729_increment_per_cycle")),
        parameters.remove(("SidebandCooling", "sideband_cooling_frequency_854")),
        parameters.remove(("SidebandCooling", "sideband_cooling_amplitude_854")),
        parameters.remove(("SidebandCooling", "sideband_cooling_frequency_866")),
        parameters.remove(("SidebandCooling", "sideband_cooling_amplitude_866")),
        parameters.remove(("SidebandCooling", "sideband_cooling_amplitude_729")),
        parameters.remove(("SidebandCooling", "sideband_cooling_optical_pumping_duration")),
        parameters.remove(("SidebandCoolingContinuous", "sideband_cooling_continuous_duration")),
        parameters.remove(("SidebandCoolingPulsed", "sideband_cooling_pulsed_duration_729")),
        parameters.remove(("SidebandCoolingPulsed", "sideband_cooling_pulsed_cycles")),
        parameters.remove(("SidebandCoolingPulsed", "sideband_cooling_pulsed_duration_repumps")),
        parameters.remove(("SidebandCoolingPulsed", "sideband_cooling_pulsed_duration_additional_866")),
        parameters.remove(("SidebandCoolingPulsed", "sideband_cooling_pulsed_duration_between_pulses")),
        # will be enable optical pumping automatically
        parameters.remove(("StatePreparation", "optical_pumping_enable"))
        parameters.remove(("StatePreparation", "sideband_cooling_enable"))
        return parameters