class_docstr: Tests for the annotated queue class
class_docstr_tok: ["Tests","for","the","annotated","queue","class"]
docstr: Test that ops that are also observables are successfully
  appended to the queue.
docstr_tok: ["Test","that","ops","that","are","also","observables","are","successfully","appended","to","the","queue","."]
code: def test_append_qubit_observables(self):
      """Test that ops that are also observables are successfully
      appended to the queue."""
      with AnnotatedQueue() as q:
          # wire repetition is deliberate, Queue contains no checks/logic
          # for circuits
          ops = [
              qml.Hadamard(wires=0),
              qml.PauliX(wires=1),
              qml.PauliY(wires=1),
              qml.Hermitian(np.ones([2, 2]), wires=7),
          ]
      assert q.queue == ops
  
imports: from multiprocessing.dummy import Pool
  import pytest
  import numpy
  import pennylane
  from pennylane.queuing import AnnotatedQueue, QueuingManager, QueuingError, WrappedObj
label_desc: Use image node_id 3 for calling the TestAnnotatedQueue obj's underlying member method code with example usage: obj.test_append_qubit_observables() without return types