code: def _divmod(a, b):
      """Performs divmod but in an all-interface compatible manner"""
      out1 = qml.math.floor(a / b)
      out2 = a - out1 * b
      return int(out1), out2
  
file_path: pennylane/pennylane/transforms/mitigate.py
imports: from copy import copy
  from typing import Any, Dict, Optional, Sequence, Callable
  from pennylane import apply, adjoint
  from pennylane.math import mean, shape, round
  from pennylane.queuing import AnnotatedQueue
  from pennylane.tape import QuantumTape, QuantumScript
  from pennylane.transforms import transform
  import pennylane
label_desc: Use image node_id 2 for calling a global function with example usage: _divmod(a, b) and returns: int,  out2