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