code: def test_catalyst_incompatible():
      """Test qjit with an incompatible Catalyst version < 0.4.0"""
  
      dev = qml.device("lightning.qubit", wires=1)
  
      @qml.qnode(dev)
      def circuit():
          qml.PauliX(0)
          return qml.state()
  
      with pytest.raises(
          CompileError,
          match="PennyLane-Catalyst 0.4.0 or greater is required, but installed 0.0.1",
      ):
          qml.qjit(circuit)()
  
imports: from unittest.mock import patch
  import pytest
  import pennylane
  from pennylane.compiler.compiler import CompileError
  from pennylane import numpy
  from jax import numpy
  from jax.core import ShapedArray
label_desc: Use image node_id 3 for calling a global function with example usage: test_catalyst_incompatible() and returns: qml