class_docstr: Test ``qml.qjit`` with Catalyst
class_docstr_tok: ["Test","``","qml.qjit","``","with","Catalyst"]
docstr: Test that Lazy kwarg is not supported.
docstr_tok: ["Test","that","Lazy","kwarg","is","not","supported","."]
code: def test_qjit_adjoint_lazy(self):
      """Test that Lazy kwarg is not supported."""
      dev = qml.device("lightning.qubit", wires=2)
  
      @qml.qjit
      @qml.qnode(device=dev)
      def workflow(theta, wires):
          def func():
              qml.RX(theta, wires=wires)
  
          qml.adjoint(func, lazy=False)()
          return qml.probs()
  
      with pytest.raises(
          CompileError,
          match="Setting lazy=False is not supported with qjit.",
      ):
          workflow(0.1, [1])
  
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 12 for calling the TestCatalyst obj's underlying member method code with example usage: obj.test_qjit_adjoint_lazy() and returns: qml