class_docstr: Tests for the Hilbert-Schmidt template.
docstr: Test that all wires in V are also in v_wires.
docstr_tok: ["Test","that","all","wires","in","V","are","also","in","v_wires","."]
code: def test_v_wires(self):
      """Test that all wires in V are also in v_wires."""
  
      with qml.queuing.AnnotatedQueue() as q_U:
          qml.Hadamard(wires=0)
  
      U = qml.tape.QuantumScript.from_queue(q_U)
  
      def v_circuit(params):
          qml.RZ(params[0], wires=2)
  
      with pytest.raises(
          qml.QuantumFunctionError,
          match="All wires in v_tape must be in v_wires.",
      ):
          qml.HilbertSchmidt(
              [0.1], v_function=v_circuit, v_wires=[1], u_tape=U
          )
  
imports: import pytest
  import pennylane
label_desc: Use image node_id 7 for calling the TestHilbertSchmidt obj's underlying member method code with example usage: obj.test_v_wires() without return types