code: def qubits_count_tuple(qubits: Union[int, Qubits]) -> Tuple[int, Qubits]:
      
      if isinstance(qubits, int):
          return qubits, tuple(range(qubits))
      return len(qubits), qubits
docs: Utility method for unraveling 'qubits: Union[int, Qubits]' arguments