class_docstr: Test class properties.
class_docstr_tok: ["Test","class","properties","."]
docstr: Test the overlapping_ops property.
docstr_tok: ["Test","the","overlapping_ops","property","."]
code: def test_overlapping_ops_property(self):
      """Test the overlapping_ops property."""
      valid_op = ValidOp(
          qml.sum(qml.PauliX(0), qml.PauliY(5), qml.PauliZ(10)),
          qml.sum(qml.PauliX(1), qml.PauliY(4), qml.PauliZ(6)),
          qml.prod(qml.PauliX(10), qml.PauliY(2), qml.PauliZ(7)),
          qml.PauliY(7),
          qml.prod(qml.PauliX(4), qml.PauliY(3), qml.PauliZ(8)),
      )
      overlapping_ops = [
          [
              qml.sum(qml.PauliX(0), qml.PauliY(5), qml.PauliZ(10)),
              qml.prod(qml.PauliX(10), qml.PauliY(2), qml.PauliZ(7)),
              qml.PauliY(7),
          ],
          [
              qml.sum(qml.PauliX(1), qml.PauliY(4), qml.PauliZ(6)),
              qml.prod(qml.PauliX(4), qml.PauliY(3), qml.PauliZ(8)),
          ],
      ]
  
      # TODO: Use qml.equal when supported for nested operators
  
      for list_op1, list_op2 in zip(
          overlapping_ops, valid_op.overlapping_ops
      ):
          for op1, op2 in zip(list_op1, list_op2):
              assert op1.name == op2.name
              assert op1.wires == op2.wires
              assert op1.data == op2.data
              assert op1.arithmetic_depth == op2.arithmetic_depth
  
imports: from copy import copy
  import numpy
  import pytest
  import pennylane
  from pennylane.operation import DecompositionUndefinedError
  from pennylane.ops.op_math import CompositeOp, Prod, Sum, SProd
  from pennylane.wires import Wires
label_desc: Use image node_id 4 for calling the TestProperties obj's underlying member method code with example usage: obj.test_overlapping_ops_property() without return types