Quanlse/QOperator.py
def onSubSys(self, onSubSys: int):
        """
        Modify the corresponding subsystem of the operator.

        :param onSubSys: subsystem to be changed to
        """
        if onSubSys is None:
            self._onSubSys = None
        else:
            if not isinstance(onSubSys, int):
                raise Error.ArgumentError(f"onSubSys must be an integer, instead of {type(onSubSys)}!")
            self._onSubSys = onSubSys

        Modify the corresponding subsystem of the operator.

        :param onSubSys: subsystem to be changed to
        
Modify the corresponding subsystem of the operator.
Modify the corresponding subsystem of the operator .
def onSubSys(self, onSubSys: int):
        if onSubSys is None:
            self._onSubSys = None
        else:
            if not isinstance(onSubSys, int):
                raise Error.ArgumentError(f"onSubSys must be an integer, instead of {type(onSubSys)}!")
            self._onSubSys = onSubSys
def onSubSys ( self , onSubSys : int ) : if onSubSys is None : self . _onSubSys = None else : if not isinstance ( onSubSys , int ) : raise Error . ArgumentError ( f"onSubSys must be an integer, instead of {type(onSubSys)}!" ) self . _onSubSys = onSubSys
Modify the corresponding subsystem of the operator.
Modify the corresponding subsystem of the operator .
"""
        Modify the corresponding subsystem of the operator.

        :param onSubSys: subsystem to be changed to
        """
self
onSubSys
int
subsystem to be changed to
subsystem to be changed to