code: def equal_list(lhs, rhs):
      if not isinstance(lhs, list):
          lhs = [lhs]
      if not isinstance(rhs, list):
          rhs = [rhs]
      return len(lhs) == len(rhs) and all(
          qml.equal(l, r) for l, r in zip(lhs, rhs)
      )
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.ops import ctrl_decomp_zyz
  from pennylane.wires import Wires
  from pennylane.ops.op_math.controlled_decompositions import _ctrl_decomp_bisect_od, _ctrl_decomp_bisect_md, _ctrl_decomp_bisect_general, ctrl_decomp_bisect, _convert_to_su2, _bisect_compute_a, _bisect_compute_b
  from pennylane.ops.op_math.controlled import Controlled
  from pennylane import math
label_desc: Use image node_id 3 for calling a global function with example usage: equal_list(lhs, rhs) and returns: unknown