class_docstr: Tests for the pow method of non-parametric qutrit operations.
docstr: Tests that ops with a period == 3 return a queued copy of themselves when
  raised to a power that is 1+multiple of three.
docstr_tok: ["Tests","that","ops","with","a","period","==","3","return","a","queued","copy","of","themselves","when","raised","to","a","power","that","is","1+multiple","of","three","."]
code: def test_period_three_ops_pow_offset_1(self, op, offset):
      """Tests that ops with a period == 3 return a queued copy of themselves when
      raised to a power that is 1+multiple of three.
      """
      # When raising to power == 1 mod 3
      with qml.queuing.AnnotatedQueue() as q:
          op_pow_1 = op.pow(1 + offset)[0]
  
      assert q.queue[0] is op_pow_1
      assert qml.equal(op_pow_1, op)
  
imports: import copy
  import pytest
  import numpy
  from gate_data import TSHIFT, TCLOCK, TADD, TSWAP, TH
  import pennylane
  from pennylane.wires import Wires
label_desc: Use image node_id 2 for calling the TestPowMethod obj's underlying member method code with example usage: obj.test_period_three_ops_pow_offset_1(op, offset) without return types