class_docstr: Test the qml.QSVT template.
class_docstr_tok: ["Test","the","qml.QSVT","template","."]
docstr: Test that the decomposition method queues the decomposition in the correct order.
docstr_tok: ["Test","that","the","decomposition","method","queues","the","decomposition","in","the","correct","order","."]
code: def test_decomposition_queues_its_contents(self):
      """Test that the decomposition method queues the decomposition in the correct order."""
      lst_projectors = [
          qml.PCPhase(0.2, dim=1, wires=0),
          qml.PCPhase(0.3, dim=1, wires=0),
      ]
      op = qml.QSVT(qml.PauliX(wires=0), lst_projectors)
      with qml.queuing.AnnotatedQueue() as q:
          decomp = op.decomposition()
  
      ops, _ = qml.queuing.process_queue(q)
      assert all(qml.equal(op1, op2) for op1, op2 in zip(ops, decomp))
  
imports: import pytest
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 6 for calling the TestQSVT obj's underlying member method code with example usage: obj.test_decomposition_queues_its_contents() without return types