class_docstr: Tests for the ``adjoint_jacobian`` method
class_docstr_tok: ["Tests","for","the","``","adjoint_jacobian","``","method"]
docstr: Test if a QuantumFunctionError is raised for an unsupported operation, i.e.,
  multi-parameter operations that are not qml.Rot
docstr_tok: ["Test","if","a","QuantumFunctionError","is","raised","for","an","unsupported","operation",",","i.e.",",","multi-parameter","operations","that","are","not","qml.Rot"]
code: def test_unsupported_op(self, dev):
      """Test if a QuantumFunctionError is raised for an unsupported operation, i.e.,
      multi-parameter operations that are not qml.Rot"""
  
      with qml.queuing.AnnotatedQueue() as q:
          qml.CRot(0.1, 0.2, 0.3, wires=[0, 1])
          qml.expval(qml.PauliZ(0))
  
      tape = qml.tape.QuantumScript.from_queue(q)
      with pytest.raises(
          qml.QuantumFunctionError, match="The CRot operation is not"
      ):
          dev.adjoint_jacobian(tape)
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 5 for calling the TestAdjointJacobian obj's underlying member method code with example usage: obj.test_unsupported_op(dev) without return types