Quanlse/QHamiltonian.py
def addWave(self, operators: Union[QOperator, Callable, List[QOperator], List[Callable]] = None,
                onSubSys: Union[int, List[int]] = None, waves: Union[QWaveform, List[QWaveform]] = None,
                t0: Union[int, float] = None, strength: Union[int, float] = 1.0,
                freq: Optional[Union[int, float]] = None, phase: Optional[Union[int, float]] = None,
                phase0: Optional[Union[int, float]] = None, name: str = None, tag: str = None, flag: int = None) \
            -> None:
        r"""
        This method adds a control term to the Hamiltonian with a specified waveform.

        :param operators: wave operator
        :param onSubSys: what subsystem the wave is acting upon
        :param waves: a QWaveform object
        :param t0: start time
        :param strength: wave strength
        :param freq: wave frequency shift
        :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)
        :param name: a user-given name to the wave
        :param tag: wave tag indicating purpose
        :param flag: wave flag
        :return: None
        """
        self._waveJob.addWave(operators, onSubSys, waves, t0, strength, freq, phase, phase0, name, tag, flag)
r"""
        This method adds a control term to the Hamiltonian with a specified waveform.

        :param operators: wave operator
        :param onSubSys: what subsystem the wave is acting upon
        :param waves: a QWaveform object
        :param t0: start time
        :param strength: wave strength
        :param freq: wave frequency shift
        :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)
        :param name: a user-given name to the wave
        :param tag: wave tag indicating purpose
        :param flag: wave flag
        :return: None
        
r"""
This method adds a control term to the Hamiltonian with a specified waveform.
r " " " This method adds a control term to the Hamiltonian with a specified waveform .
def addWave(self, operators: Union[QOperator, Callable, List[QOperator], List[Callable]] = None,
                onSubSys: Union[int, List[int]] = None, waves: Union[QWaveform, List[QWaveform]] = None,
                t0: Union[int, float] = None, strength: Union[int, float] = 1.0,
                freq: Optional[Union[int, float]] = None, phase: Optional[Union[int, float]] = None,
                phase0: Optional[Union[int, float]] = None, name: str = None, tag: str = None, flag: int = None) \
            -> None:
        self._waveJob.addWave(operators, onSubSys, waves, t0, strength, freq, phase, phase0, name, tag, flag)
def addWave ( self , operators : Union [ QOperator , Callable , List [ QOperator ] , List [ Callable ] ] = None , onSubSys : Union [ int , List [ int ] ] = None , waves : Union [ QWaveform , List [ QWaveform ] ] = None , t0 : Union [ int , float ] = None , strength : Union [ int , float ] = 1.0 , freq : Optional [ Union [ int , float ] ] = None , phase : Optional [ Union [ int , float ] ] = None , phase0 : Optional [ Union [ int , float ] ] = None , name : str = None , tag : str = None , flag : int = None ) -> None : self . _waveJob . addWave ( operators , onSubSys , waves , t0 , strength , freq , phase , phase0 , name , tag , flag )
r"""
This method adds a control term to the Hamiltonian with a specified waveform.
r " " " This method adds a control term to the Hamiltonian with a specified waveform .
r"""
        This method adds a control term to the Hamiltonian with a specified waveform.

        :param operators: wave operator
        :param onSubSys: what subsystem the wave is acting upon
        :param waves: a QWaveform object
        :param t0: start time
        :param strength: wave strength
        :param freq: wave frequency shift
        :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)
        :param name: a user-given name to the wave
        :param tag: wave tag indicating purpose
        :param flag: wave flag
        :return: None
        """
None
self
operators
Union[QOperator, Callable, List[QOperator], List[Callable]]
None
onSubSys
Union[int, List[int]]
None
waves
Union[QWaveform, List[QWaveform]]
a QWaveform object
a QWaveform object
t0
Union[int, float]
None
strength
Union[int, float]
None
freq
Optional[Union[int, float]]
wave frequency shift
wave frequency shift
phase
Optional[Union[int, float]]
pulse phase shift (will accumulate during the entire pulse execution)
pulse phase shift ( will accumulate during the entire pulse execution )
phase0
Optional[Union[int, float]]
pulse phase shift (will not accumulate during the entire pulse execution)
pulse phase shift ( will not accumulate during the entire pulse execution )
name
str
a user-given name to the wave
a user - given name to the wave
tag
str
wave tag indicating purpose
wave tag indicating purpose
flag
int
None