Quanlse/Simulator/__init__.py
def _readoutJob(self, amp: Union[int, float], duration: Union[int, float]) -> QJob:
        """
        Return readout pulse in rotating frame at driving frequency.

        :param amp: amplitude of the readout job.
        :param duration: the duration of the pulse.

        :return: QJob.
        """
        qubitLevel = self.pulseModel.sysLevel
        job = QJob(subSysNum=2, sysLevel=[qubitLevel, self.level], dt=self.dt)
        wave = square(t=duration, a=amp)
        job.addWave(operators=driveX, onSubSys=1, waves=wave, t0=0.)
        return job

        Return readout pulse in rotating frame at driving frequency.

        :param amp: amplitude of the readout job.
        :param duration: the duration of the pulse.

        :return: QJob.
        
Return readout pulse in rotating frame at driving frequency.
Return readout pulse in rotating frame at driving frequency .
def _readoutJob(self, amp: Union[int, float], duration: Union[int, float]) -> QJob:
        qubitLevel = self.pulseModel.sysLevel
        job = QJob(subSysNum=2, sysLevel=[qubitLevel, self.level], dt=self.dt)
        wave = square(t=duration, a=amp)
        job.addWave(operators=driveX, onSubSys=1, waves=wave, t0=0.)
        return job
def _readoutJob ( self , amp : Union [ int , float ] , duration : Union [ int , float ] ) -> QJob : qubitLevel = self . pulseModel . sysLevel job = QJob ( subSysNum = 2 , sysLevel = [ qubitLevel , self . level ] , dt = self . dt ) wave = square ( t = duration , a = amp ) job . addWave ( operators = driveX , onSubSys = 1 , waves = wave , t0 = 0. ) return job
Return readout pulse in rotating frame at driving frequency.
Return readout pulse in rotating frame at driving frequency .
"""
        Return readout pulse in rotating frame at driving frequency.

        :param amp: amplitude of the readout job.
        :param duration: the duration of the pulse.

        :return: QJob.
        """
None
self
amp
Union[int, float]
amplitude of the readout job.
amplitude of the readout job .
duration
Union[int, float]
the duration of the pulse.
the duration of the pulse .