code: def displacement(state, wire, alpha, hbar=2):
      """Displacement in the phase space.
  
      Args:
          state (tuple): contains covariance matrix and means vector
          wire (int): wire that the displacement acts on
          alpha (float): complex displacement
  
      Returns:
          tuple: contains the covariance matrix and the vector of means
      """
      mu = state[1]
      mu[wire] += alpha.real * math.sqrt(2 * hbar)
      mu[wire + len(mu) // 2] += alpha.imag * math.sqrt(2 * hbar)
      return state[0], mu
  
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 4 for calling a global function with example usage: displacement(state, wire, alpha, hbar) and returns: state,  mu