Added docstrings to _isqubitdims and _cb_labels.