class_docstr: Test the qml.qsvt function.
class_docstr_tok: ["Test","the","qml.qsvt","function","."]
docstr: Assert that the matrix method produces the expected result using both call signatures.
docstr_tok: ["Assert","that","the","matrix","method","produces","the","expected","result","using","both","call","signatures","."]
code: def test_matrix_wx(self, A, phis, wires, result):
      """Assert that the matrix method produces the expected result using both call signatures."""
      m1 = qml.matrix(qml.qsvt(A, phis, wires, convention="Wx"))
      m2 = qml.matrix(qml.qsvt)(A, phis, wires, convention="Wx")
  
      assert np.isclose(np.real(m1[0, 0]), result, rtol=1e-3)
      assert np.allclose(m1, m2)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 3 for calling the Testqsvt obj's underlying member method code with example usage: obj.test_matrix_wx(A, phis, wires, result) without return types