class_docstr: Tests that the template defines the correct decomposition.
class_docstr_tok: ["Tests","that","the","template","defines","the","correct","decomposition","."]
docstr: Test that the copy function of Select works correctly.
docstr_tok: ["Test","that","the","copy","function","of","Select","works","correctly","."]
code: def test_copy(self):
      """Test that the copy function of Select works correctly."""
      ops = [
          qml.PauliX(wires=2),
          qml.RX(0.2, wires=3),
          qml.PauliY(wires=2),
          qml.SWAP([2, 3]),
      ]
      op = qml.Select(ops, control=[0, 1])
      op_copy = copy.copy(op)
  
      assert qml.equal(op, op_copy)
  
imports: import copy
  import pytest
  import numpy
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 5 for calling the TestSelect obj's underlying member method code with example usage: obj.test_copy() without return types