Quanlse/Scheduler/Ion/DefaultPulseGenerator.py
def defaultPulseGenerator() -> SchedulerPulseGenerator:
    """
    Default pulse generator for ion-trap qubit

    :return: returned generator object
    """
    generator = SchedulerPulseGenerator()

    # Add the generator for single qubit gates
    gateList1q = ['X', 'Y', 'RX', 'RY']
    generator.addGenerator(gateList1q, generateIon1Qubit)

    # Add the generator for MS gates
    generator.addGenerator(['MS'], generateMS)

    return generator

    Default pulse generator for ion-trap qubit

    :return: returned generator object
    
Default pulse generator for ion-trap qubit
Default pulse generator for ion - trap qubit
def defaultPulseGenerator() -> SchedulerPulseGenerator:
    generator = SchedulerPulseGenerator()
    gateList1q = ['X', 'Y', 'RX', 'RY']
    generator.addGenerator(gateList1q, generateIon1Qubit)
    generator.addGenerator(['MS'], generateMS)
    return generator
def defaultPulseGenerator ( ) -> SchedulerPulseGenerator : generator = SchedulerPulseGenerator ( ) gateList1q = [ 'X' , 'Y' , 'RX' , 'RY' ] generator . addGenerator ( gateList1q , generateIon1Qubit ) generator . addGenerator ( [ 'MS' ] , generateMS ) return generator
Default pulse generator for ion-trap qubit
Default pulse generator for ion - trap qubit
"""
    Default pulse generator for ion-trap qubit

    :return: returned generator object
    """ # Add the generator for single qubit gates # Add the generator for MS gates
returned generator object
returned generator object