docstr: Verify that the eigenvalues of non-parametric one qubit gates is correct
  when provided as a qfunc
docstr_tok: ["Verify","that","the","eigenvalues","of","non-parametric","one","qubit","gates","is","correct","when","provided","as","a","qfunc"]
code: def test_non_parametric_gates_qfunc(self, op_class):
      """Verify that the eigenvalues of non-parametric one qubit gates is correct
      when provided as a qfunc"""
      res = qml.eigvals(op_class)(wires=0)
      expected = op_class(wires=0).eigvals()
      assert np.allclose(res, expected)
  
imports: from functools import reduce
  import pytest
  import scipy
  from gate_data import CNOT, H, I, S, X, Y, Z
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 2 for calling the TestSingleOperation obj's underlying member method code with example usage: obj.test_non_parametric_gates_qfunc(op_class) without return types