Quanlse/QWaveform.py
def sequence(seq: List[Union[float, complex]], t0: Union[int, float] = 0., freq: float = None, phase: float = None,
             phase0: float = None) -> QWaveform:
    """
    Return a QWaveform object of pulse sequence.

    :param seq: pulse sequence
    :param t0: pulse start time
    :param freq: pulse frequency shift (will not accumulate during the entire pulse execution)
    :param phase: pulse phase shift (will accumulate during the entire pulse execution)
    :param phase0: pulse phase shift (will not accumulate during the entire pulse execution)
    :return: returned QWaveform object
    """
    wave = QWaveform(t0=t0, seq=seq, freq=freq, phase=phase, phase0=phase0)
    wave.name = "manual_sequence"
    return wave

    Return a QWaveform object of pulse sequence.

    :param seq: pulse sequence
    :param t0: pulse start time
    :param freq: pulse frequency shift (will not accumulate during the entire pulse execution)
    :param phase: pulse phase shift (will accumulate during the entire pulse execution)
    :param phase0: pulse phase shift (will not accumulate during the entire pulse execution)
    :return: returned QWaveform object
    
Return a QWaveform object of pulse sequence.
Return a QWaveform object of pulse sequence .
def sequence(seq: List[Union[float, complex]], t0: Union[int, float] = 0., freq: float = None, phase: float = None,
             phase0: float = None) -> QWaveform:
    wave = QWaveform(t0=t0, seq=seq, freq=freq, phase=phase, phase0=phase0)
    wave.name = "manual_sequence"
    return wave
def sequence ( seq : List [ Union [ float , complex ] ] , t0 : Union [ int , float ] = 0. , freq : float = None , phase : float = None , phase0 : float = None ) -> QWaveform : wave = QWaveform ( t0 = t0 , seq = seq , freq = freq , phase = phase , phase0 = phase0 ) wave . name = "manual_sequence" return wave
Return a QWaveform object of pulse sequence.
Return a QWaveform object of pulse sequence .
"""
    Return a QWaveform object of pulse sequence.

    :param seq: pulse sequence
    :param t0: pulse start time
    :param freq: pulse frequency shift (will not accumulate during the entire pulse execution)
    :param phase: pulse phase shift (will accumulate during the entire pulse execution)
    :param phase0: pulse phase shift (will not accumulate during the entire pulse execution)
    :return: returned QWaveform object
    """
returned QWaveform object
returned QWaveform object
seq
List[Union[float, complex]]
None
t0
Union[int, float]
pulse start time
pulse start time
freq
float
pulse frequency shift (will not accumulate during the entire pulse execution)
pulse frequency shift ( will not accumulate during the entire pulse execution )
phase
float
pulse phase shift (will accumulate during the entire pulse execution)
pulse phase shift ( will accumulate during the entire pulse execution )
phase0
float
pulse phase shift (will not accumulate during the entire pulse execution)
pulse phase shift ( will not accumulate during the entire pulse execution )