class_docstr: Tests that the template defines the correct decomposition.
class_docstr_tok: ["Tests","that","the","template","defines","the","correct","decomposition","."]
docstr: Test the correctness of the Select template queued operations.
docstr_tok: ["Test","the","correctness","of","the","Select","template","queued","operations","."]
code: def test_queued_ops(self, ops, control, expected_gates):
      """Test the correctness of the Select template queued operations."""
      with qml.tape.OperationRecorder() as recorder:
          qml.Select(ops, control=control)
  
      select_ops = recorder.expand().operations
  
      assert [op.name for op in select_ops] == [
          op.name for op in expected_gates
      ]
      assert [op.wires for op in select_ops] == [
          op.wires for op in expected_gates
      ]
  
imports: import copy
  import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 2 for calling the TestSelect obj's underlying member method code with example usage: obj.test_queued_ops(ops, control, expected_gates) without return types