code: def simplify_rotation(tape):
      """Define how simplify rotation works on a tape"""
      for op in tape:
          if op.name == "Rot":
              simplify_rotation(op)
          else:
              qml.apply(op)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 2 for calling a global function with example usage: simplify_rotation(tape) without return types