docstr: Check the eigenvalues for a QNode containing multiple gates
docstr_tok: ["Check","the","eigenvalues","for","a","QNode","containing","multiple","gates"]
code: def test_multiple_operations_qnode(self):
      """Check the eigenvalues for a QNode containing multiple gates"""
      dev = qml.device("default.qubit", wires=["a", "b", "c"])
  
      @qml.qnode(dev)
      def testcircuit():
          qml.PauliX(wires="a")
          qml.adjoint(qml.S)(wires="b")
          qml.Hadamard(wires="c")
          qml.CNOT(wires=["b", "c"])
          return qml.expval(qml.PauliZ("a"))
  
      with pytest.warns(
          UserWarning,
          match="the eigenvalues will be computed numerically",
      ):
          res = qml.eigvals(testcircuit)()
  
      expected = np.linalg.eigvals(
          np.kron(I, CNOT) @ np.kron(X, np.kron(np.linalg.inv(S), H))
      )
      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 4 for calling the TestMultipleOperations obj's underlying member method code with example usage: obj.test_multiple_operations_qnode() and returns: qml