docstr: Tests that the TAdd eigenvalue matches the numpy eigenvalues of the TAdd matrix
docstr_tok: ["Tests","that","the","TAdd","eigenvalue","matches","the","numpy","eigenvalues","of","the","TAdd","matrix"]
code: def test_tadd_eigenval(self):
      """Tests that the TAdd eigenvalue matches the numpy eigenvalues of the TAdd matrix"""
      op = qml.TAdd(wires=[0, 1])
      exp = np.linalg.eigvals(op.matrix())
      res = op.eigvals()
      assert np.allclose(res, exp)
  
imports: import copy
  import pytest
  import numpy
  from gate_data import TSHIFT, TCLOCK, TADD, TSWAP, TH
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 3 for calling the TestEigenval obj's underlying member method code with example usage: obj.test_tadd_eigenval() without return types