qiskit/pulse/channels/qubit.py
def measure(self) -> MeasureChannel:
        """Return the primary measure channel of this qubit."""
        if self._measures:
            return self._measures[0]
        else:
            raise PulseError("No measurement channels in q[%d]" % self._index)
def measure(self) -> MeasureChannel:
        if self._measures:
            return self._measures[0]
        else:
            raise PulseError("No measurement channels in q[%d]" % self._index)
def measure ( self ) -> MeasureChannel : if self . _measures : return self . _measures [ 0 ] else : raise PulseError ( "No measurement channels in q[%d]" % self . _index )
Return the primary measure channel of this qubit.
Return the primary measure channel of this qubit .