class_docstr: Test that the `pow` method works for parametric qutrit operations.
docstr: Assert that a matrix raised to a power is the same as
  multiplying the data by n for relevant ops.
code: def test_pow_method_parametric_ops(self, op, n):
      """Assert that a matrix raised to a power is the same as
      multiplying the data by n for relevant ops."""
      pow_op = op.pow(n)
  
      assert len(pow_op) == 1
      assert pow_op[0].__class__ is op.__class__
      assert all(
          (
              qml.math.allclose(d1, d2 * n)
              for d1, d2 in zip(pow_op[0].data, op.data)
          )
      )
  
imports: import copy
  from functools import reduce
  import pytest
  import numpy
  from gate_data import TSHIFT, TCLOCK
  from pennylane import numpy
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestParametricPow obj's underlying member method code with example usage: obj.test_pow_method_parametric_ops(op, n) without return types