class_docstr: Unit tests for the to_openqasm() method
class_docstr_tok: ["Unit","tests","for","the","to_openqasm","(",")","method"]
docstr: Test that an empty circuit graph is properly
  serialized into an empty QASM program.
docstr_tok: ["Test","that","an","empty","circuit","graph","is","properly","serialized","into","an","empty","QASM","program","."]
code: def test_empty_circuit(self):
      """Test that an empty circuit graph is properly
      serialized into an empty QASM program."""
      circuit = qml.tape.QuantumScript()
      res = circuit.to_openqasm()
      expected = 'OPENQASM 2.0;\ninclude "qelib1.inc";\n'
      assert res == expected
  
imports: from textwrap import dedent
  import numpy
  import pytest
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestToQasmUnitTests obj's underlying member method code with example usage: obj.test_empty_circuit() without return types