Quanlse/Scheduler/Superconduct/GeneratorRBPulse.py
def SingleQubitCliffordPulseGenerator(ham: QHam) -> SchedulerPulseGenerator:
    """
    Return a single-qubit Clifford pulse SchedulerPulseGenerator instance for the scheduler.

    :param ham: a Hamiltonian object
    :return: returned generator object
    """
    generator = SchedulerPulseGenerator(ham)
    gateList1q = ['X', 'Y', 'Z', 'H', 'S', 'T', 'RX', 'RY', 'RZ', 'W', 'SQRTW', 'U']
    generator.addGenerator(gateList1q, GeneratorCloud.generate1Q)
    gateList1QCliff = ['C1', 'C2', 'C3', 'C4', 'C5', 'C6', 'C7', 'C8', 'C9', 'C10', 'C11', 'C12', 'C13', 'C14', 'C15',
                       'C16', 'C17', 'C18', 'C19', 'C20', 'C21', 'C22', 'C23', 'C24', 'Cinv']
    generator.addGenerator(gateList1QCliff, generate1QClifford)
    generator.addGenerator(['CR'], GeneratorCloud.generateCr)
    generator.addGenerator(['CZ'], GeneratorCloud.generateCz)
    generator.addGenerator(['ISWAP'], GeneratorCloud.generateISWAP)
    return generator

    Return a single-qubit Clifford pulse SchedulerPulseGenerator instance for the scheduler.

    :param ham: a Hamiltonian object
    :return: returned generator object
    
Return a single-qubit Clifford pulse SchedulerPulseGenerator instance for the scheduler.
Return a single - qubit Clifford pulse SchedulerPulseGenerator instance for the scheduler .
def SingleQubitCliffordPulseGenerator(ham: QHam) -> SchedulerPulseGenerator:
    generator = SchedulerPulseGenerator(ham)
    gateList1q = ['X', 'Y', 'Z', 'H', 'S', 'T', 'RX', 'RY', 'RZ', 'W', 'SQRTW', 'U']
    generator.addGenerator(gateList1q, GeneratorCloud.generate1Q)
    gateList1QCliff = ['C1', 'C2', 'C3', 'C4', 'C5', 'C6', 'C7', 'C8', 'C9', 'C10', 'C11', 'C12', 'C13', 'C14', 'C15',
                       'C16', 'C17', 'C18', 'C19', 'C20', 'C21', 'C22', 'C23', 'C24', 'Cinv']
    generator.addGenerator(gateList1QCliff, generate1QClifford)
    generator.addGenerator(['CR'], GeneratorCloud.generateCr)
    generator.addGenerator(['CZ'], GeneratorCloud.generateCz)
    generator.addGenerator(['ISWAP'], GeneratorCloud.generateISWAP)
    return generator
def SingleQubitCliffordPulseGenerator ( ham : QHam ) -> SchedulerPulseGenerator : generator = SchedulerPulseGenerator ( ham ) gateList1q = [ 'X' , 'Y' , 'Z' , 'H' , 'S' , 'T' , 'RX' , 'RY' , 'RZ' , 'W' , 'SQRTW' , 'U' ] generator . addGenerator ( gateList1q , GeneratorCloud . generate1Q ) gateList1QCliff = [ 'C1' , 'C2' , 'C3' , 'C4' , 'C5' , 'C6' , 'C7' , 'C8' , 'C9' , 'C10' , 'C11' , 'C12' , 'C13' , 'C14' , 'C15' , 'C16' , 'C17' , 'C18' , 'C19' , 'C20' , 'C21' , 'C22' , 'C23' , 'C24' , 'Cinv' ] generator . addGenerator ( gateList1QCliff , generate1QClifford ) generator . addGenerator ( [ 'CR' ] , GeneratorCloud . generateCr ) generator . addGenerator ( [ 'CZ' ] , GeneratorCloud . generateCz ) generator . addGenerator ( [ 'ISWAP' ] , GeneratorCloud . generateISWAP ) return generator
Return a single-qubit Clifford pulse SchedulerPulseGenerator instance for the scheduler.
Return a single - qubit Clifford pulse SchedulerPulseGenerator instance for the scheduler .
"""
    Return a single-qubit Clifford pulse SchedulerPulseGenerator instance for the scheduler.

    :param ham: a Hamiltonian object
    :return: returned generator object
    """
returned generator object
returned generator object
ham
QHam
a Hamiltonian object
a Hamiltonian object