class_docstr: Tests for the Local Hilbert-Schmidt template.
docstr: Test that U must be a quantum tape.
docstr_tok: ["Test","that","U","must","be","a","quantum","tape","."]
code: def test_u_quantum_tape(self):
      """Test that U must be a quantum tape."""
  
      def u_circuit():
          qml.CNOT(wires=[0, 1])
  
      def v_circuit(params):
          qml.RZ(params[0], wires=1)
  
      with pytest.raises(
          qml.QuantumFunctionError,
          match="The argument u_tape must be a QuantumTape.",
      ):
          qml.LocalHilbertSchmidt(
              [0.1], v_function=v_circuit, v_wires=[1], u_tape=u_circuit
          )
  
imports: import pytest
  import pennylane
label_desc: Use image node_id 7 for calling the TestLocalHilbertSchmidt obj's underlying member method code with example usage: obj.test_u_quantum_tape() without return types