code: def rotation(phi):
      """Rotation in the phase space.
  
      Args:
          phi (float): rotation parameter
  
      Returns:
          array: symplectic transformation matrix
      """
      return np.array(
          [
              [math.cos(phi), -math.sin(phi)],
              [math.sin(phi), math.cos(phi)],
          ]
      )
  
imports: import math
  import cmath
  import numpy
  from scipy.special import factorial
  import pennylane
  from pennylane.ops import Identity
  from pennylane import Device
  from .._version import __version__
label_desc: Use image node_id 3 for calling a global function with example usage: rotation(phi) and returns: np