Quanlse/Scheduler/__init__.py
def findGatePulsePair(self, cirLine: CircuitLine) -> Union[GatePulsePair, None]:
        """
        Find the pulse of a fixed gate in pulse cache.

        :param cirLine: CircuitLine object to be searched in pulse cache
        :return: the returned GatePulsePair
        """
        for pair in self._pulseCache:
            if GatePulsePair(cirLine) == pair:
                return pair
        return None

        Find the pulse of a fixed gate in pulse cache.

        :param cirLine: CircuitLine object to be searched in pulse cache
        :return: the returned GatePulsePair
        
Find the pulse of a fixed gate in pulse cache.
Find the pulse of a fixed gate in pulse cache .
def findGatePulsePair(self, cirLine: CircuitLine) -> Union[GatePulsePair, None]:
        for pair in self._pulseCache:
            if GatePulsePair(cirLine) == pair:
                return pair
        return None
def findGatePulsePair ( self , cirLine : CircuitLine ) -> Union [ GatePulsePair , None ] : for pair in self . _pulseCache : if GatePulsePair ( cirLine ) == pair : return pair return None
Find the pulse of a fixed gate in pulse cache.
Find the pulse of a fixed gate in pulse cache .
"""
        Find the pulse of a fixed gate in pulse cache.

        :param cirLine: CircuitLine object to be searched in pulse cache
        :return: the returned GatePulsePair
        """
the returned GatePulsePair
the returned GatePulsePair
self
cirLine
CircuitLine
CircuitLine object to be searched in pulse cache
CircuitLine object to be searched in pulse cache