class_docstr: Test class properties.
class_docstr_tok: ["Test","class","properties","."]
docstr: Test depth property.
docstr_tok: ["Test","depth","property","."]
code: def test_depth_property(self):
      """Test depth property."""
      op = ValidOp(
          qml.RZ(1.32, wires=0),
          qml.Identity(wires=0),
          qml.RX(1.9, wires=1),
      )
      assert op.arithmetic_depth == 1
  
      op = ValidOp(
          qml.PauliX(0),
          ValidOp(qml.Identity(wires=0), qml.RX(1.9, wires=1)),
      )
      assert op.arithmetic_depth == 2
  
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 3 for calling the TestProperties obj's underlying member method code with example usage: obj.test_depth_property() without return types