class_docstr: Test the construction of composite ops.
class_docstr_tok: ["Test","the","construction","of","composite","ops","."]
docstr: Test that valid child classes can be initialized without error
docstr_tok: ["Test","that","valid","child","classes","can","be","initialized","without","error"]
code: def test_initialization(self):
      """Test that valid child classes can be initialized without error"""
      op = ValidOp(*self.simple_operands)
      assert op._name == "ValidOp"
      assert op._op_symbol == "#"
  
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 TestConstruction obj's underlying member method code with example usage: obj.test_initialization() without return types