docstr: Assert error raised when input is neither a tape, QNode, nor quantum function
code: def test_invalid_argument(self):
      """Assert error raised when input is neither a tape, QNode, nor quantum function"""
      with pytest.raises(
          OperationTransformError,
          match="Input is not an Operator, tape, QNode, or quantum function",
      ):
          _ = qml.matrix(None)
  
imports: from functools import reduce, partial
  from warnings import catch_warnings
  import pytest
  from gate_data import I, X, Y, Z, H, S, CNOT, Rotx, Roty
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 1 for calling the TestValidation obj's underlying member method code with example usage: obj.test_invalid_argument() without return types