class_docstr: Test that the QASM serialization works correctly
  when circuits are created via QNodes.
class_docstr_tok: ["Test","that","the","QASM","serialization","works","correctly","when","circuits","are","created","via","QNodes","."]
docstr: Test an exception is raised if an unsupported operation is
  applied.
docstr_tok: ["Test","an","exception","is","raised","if","an","unsupported","operation","is","applied","."]
code: def test_unsupported_gate(self):
      """Test an exception is raised if an unsupported operation is
      applied."""
      dev = qml.device("default.qubit", wires=4)
  
      @qml.qnode(dev)
      def qnode():
          qml.S(wires=0)
          qml.DoubleExcitationPlus(0.5, wires=[0, 1, 2, 3])
          return qml.expval(qml.PauliZ(0))
  
      qnode()
  
      with pytest.raises(
          ValueError,
          match="DoubleExcitationPlus not supported by the QASM serializer",
      ):
          qnode.qtape.to_openqasm()
  
imports: from textwrap import dedent
  import numpy
  import pytest
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 8 for calling the TestQNodeQasmIntegrationTests obj's underlying member method code with example usage: obj.test_unsupported_gate() and returns: qml