code: def RubikGroup(n):
      """Return a group of Rubik's cube generators
  
      >>> from sympy.combinatorics.named_groups import RubikGroup
      >>> RubikGroup(2).is_group
      True
      """
      from sympy.combinatorics.generators import rubik
  
      if n <= 1:
          raise ValueError("Invalid cube. n has to be greater than 1")
      return PermutationGroup(rubik(n))
  
file_path: sympy/sympy/combinatorics/named_groups.py
imports: from sympy.combinatorics.group_constructs import DirectProduct
  from sympy.combinatorics.perm_groups import PermutationGroup
  from sympy.combinatorics.permutations import Permutation
label_desc: Use image node_id 8 for calling a global function with example usage: RubikGroup(n) and returns: PermutationGroup