docstr: Tests that copied nonparametrized ops function as expected
docstr_tok: ["Tests","that","copied","nonparametrized","ops","function","as","expected"]
code: def test_nonparametrized_op_copy(self, op_cls, _, tol):
      """Tests that copied nonparametrized ops function as expected"""
      op = op_cls(
          wires=0
          if op_cls.num_wires is AnyWires
          else range(op_cls.num_wires)
      )
      copied_op = copy.copy(op)
      assert qml.equal(copied_op, op, atol=tol, rtol=0)
      assert copied_op is not op
      assert qml.equal(copied_op, op, atol=tol, rtol=0)
  
imports: import copy
  import numpy
  import pytest
  from scipy.linalg import fractional_matrix_power
  from scipy.sparse import csr_matrix
  from scipy.stats import unitary_group
  from gate_data import CY, CZ
  import pennylane
  from pennylane.wires import Wires
  from pennylane.operation import AnyWires
  from pennylane.ops.qubit.matrix_ops import QubitUnitary
label_desc: Use image node_id 1 for calling the TestOperations obj's underlying member method code with example usage: obj.test_nonparametrized_op_copy(op_cls, _, tol) without return types