code: def test_no_ops():
      """Test that the return value of the QNode matches in the interface
      even if there are no ops"""
  
      @qml.qnode(DefaultQubit(), interface="jax")
      def circuit():
          qml.Hadamard(wires=0)
          return qml.state()
  
      res = circuit()
      assert isinstance(res, jax.numpy.ndarray)
  
imports: from itertools import product
  import numpy
  import pytest
  import pennylane
  from pennylane import qnode
  from pennylane.devices import DefaultQubit
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_ops() and returns: qml