class_docstr: Tests for the annotated queue class
class_docstr_tok: ["Tests","for","the","annotated","queue","class"]
docstr: Test that Tensor ops created using `@`
  are successfully added to the queue, as well as the `Tensor` object.
docstr_tok: ["Test","that","Tensor","ops","created","using","`","@","`","are","successfully","added","to","the","queue",",","as","well","as","the","`","Tensor","`","object","."]
code: def test_append_tensor_ops_overloaded(self):
      """Test that Tensor ops created using `@`
      are successfully added to the queue, as well as the `Tensor` object.
      """
  
      with AnnotatedQueue() as q:
          A = qml.PauliZ(0)
          B = qml.PauliY(1)
          tensor_op = A @ B
      assert q.queue == [tensor_op]
      assert tensor_op.obs == [A, B]
  
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 5 for calling the TestAnnotatedQueue obj's underlying member method code with example usage: obj.test_append_tensor_ops_overloaded() without return types