qiskit/quantum_info/operators/base_operator.py
def output_dims(self, qargs=None):
        """Return tuple of output dimension for specified subsystems."""
        if qargs is None:
            return self._output_dims
        return tuple(self._output_dims[i] for i in qargs)
def output_dims(self, qargs=None):
        if qargs is None:
            return self._output_dims
        return tuple(self._output_dims[i] for i in qargs)
def output_dims ( self , qargs = None ) : if qargs is None : return self . _output_dims return tuple ( self . _output_dims [ i ] for i in qargs )
Return tuple of output dimension for specified subsystems.
Return tuple of output dimension for specified subsystems .