code: def _get_target_name(op):
      """Get the name for the target operation. If the operation is not controlled, this is
      simplify the operation's name.
      """
      _control_base_map = {
          "CNOT": "PauliX",
          "CZ": "PauliZ",
          "CCZ": "PauliZ",
          "CY": "PauliY",
          "CH": "Hadamard",
          "CSWAP": "SWAP",
          "Toffoli": "PauliX",
          "ControlledPhaseShift": "PhaseShift",
          "CRX": "RX",
          "CRY": "RY",
          "CRZ": "RZ",
          "CRot": "Rot",
          "MultiControlledX": "PauliX",
      }
      if op.name in _control_base_map:
          return _control_base_map[op.name]
      if isinstance(
          op, qml.ops.op_math.Controlled
      ):  # pylint: disable=no-member
          return op.base.name
      return op.name
  
file_path: pennylane/pennylane/ops/functions/is_commuting.py
imports: import numpy
  import pennylane
  from pennylane.pauli.utils import is_pauli_word, pauli_to_binary, _wire_map_from_pauli_pair
label_desc: Use image node_id 2 for calling a global function with example usage: _get_target_name(op) and returns: op, _control_base_map, op