code: def _apply_operation_default(op, state, is_state_batched, debugger):
      """The default behaviour of apply_operation, accessed through the standard dispatch
      of apply_operation, as well as conditionally in other dispatches.
      """
      if (
          len(op.wires) < EINSUM_OP_WIRECOUNT_PERF_THRESHOLD
          and math.ndim(state) < EINSUM_STATE_WIRECOUNT_PERF_THRESHOLD
      ) or (op.batch_size and is_state_batched):
          return apply_operation_einsum(
              op, state, is_state_batched=is_state_batched
          )
      return apply_operation_tensordot(
          op, state, is_state_batched=is_state_batched
      )
  
imports: from functools import singledispatch
  from string import ascii_letters
  import numpy
  import pennylane
  from pennylane import math
label_desc: Use image node_id 5 for calling a global function with example usage: _apply_operation_default(op, state, is_state_batched, debugger) and returns: apply_operation_tensordot, apply_operation_einsum