class_docstr: Test the qml.qsvt function.
class_docstr_tok: ["Test","the","qml.qsvt","function","."]
docstr: Test that qml.qsvt produces the correct output.
docstr_tok: ["Test","that","qml.qsvt","produces","the","correct","output","."]
code: def test_output_wx(self, A, phis, wires, result):
      """Test that qml.qsvt produces the correct output."""
      dev = qml.device("default.qubit", wires=len(wires))
  
      @qml.qnode(dev)
      def circuit():
          qml.qsvt(A, phis, wires, convention="Wx")
          return qml.expval(qml.PauliZ(wires=0))
  
      assert np.isclose(
          np.real(qml.matrix(circuit)())[0][0], result, rtol=1e-3
      )
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 2 for calling the Testqsvt obj's underlying member method code with example usage: obj.test_output_wx(A, phis, wires, result) and returns: qml