class_docstr: Tests for the Hilbert-Schmidt template.
docstr: Test that U and V have distinct wires.
docstr_tok: ["Test","that","U","and","V","have","distinct","wires","."]
code: def test_distinct_wires(self):
      """Test that U and V have distinct 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=0)
  
      with pytest.raises(
          qml.QuantumFunctionError,
          match="u_tape and v_tape must act on distinct wires.",
      ):
          qml.HilbertSchmidt(
              [0.1], v_function=v_circuit, v_wires=[0], u_tape=U
          )
  
imports: import pytest
  import pennylane
label_desc: Use image node_id 8 for calling the TestHilbertSchmidt obj's underlying member method code with example usage: obj.test_distinct_wires() without return types