code: def _single_measurement_zero(m, tangent):
      """Aux function to create a zero tensor from a measurement."""
      dim = 2 ** len(m.wires) if isinstance(m, ProbabilityMP) else ()
      res = qml.math.convert_like(np.zeros(dim), tangent)
      res = qml.math.cast_like(res, tangent)
      return res
  
imports: import numpy
  import pennylane
  from pennylane.measurements import ProbabilityMP
label_desc: Use image node_id 5 for calling a global function with example usage: _single_measurement_zero(m, tangent) and returns: res