class_docstr: TShift(wires)
  The qutrit shift operator
  
  The construction of this operator is based on equation 1 from
  `Yeh et al. (2022) <https://arxiv.org/abs/2204.00552>`_.
  
  .. math:: TShift = \begin{bmatrix}
                      0 & 0 & 1 \\
                      1 & 0 & 0 \\
                      0 & 1 & 0
                  \end{bmatrix}
  
  **Details:**
  
  * Number of wires: 1
  * Number of parameters: 0
  
  Args:
      wires (Sequence[int] or int): the wire the operation acts on
class_docstr_tok: ["TShift","(","wires",")","The","qutrit","shift","operator","The","construction","of","this","operator","is","based","on","equation","1","from","`","Yeh","et","al",".","(","2022",")","<","https",":","\/\/arxiv.org\/abs\/2204.00552",">","`","_",".","..","math",":",":","TShift","=","\\begin","{","bmatrix","}","0","&","0","&","1","\\\\","1","&","0","&","0","\\\\","0","&","1","&","0","\\end","{","bmatrix","}","*","*","Details",":","*","*","*","Number","of","wires",":","1","*","Number","of","parameters",":","0","Args",":","wires","(","Sequence","[","int","]","or","int",")",":","the","wire","the","operation","acts","on"]
docstr: Representation of the operator as a canonical matrix in the computational basis (static method).
  
  The canonical matrix is the textbook matrix representation that does not consider wires.
  Implicitly, this assumes that the wires of the operator correspond to the global wire order.
  
  .. seealso:: :meth:`~.TShift.matrix`
  
  Returns:
      ndarray: matrix
  
  **Example**
  
  >>> print(qml.TShift.compute_matrix())
  [[0 0 1]
   [1 0 0]
   [0 1 0]]
docstr_tok: ["Representation","of","the","operator","as","a","canonical","matrix","in","the","computational","basis","(","static","method",")",".","The","canonical","matrix","is","the","textbook","matrix","representation","that","does","not","consider","wires",".","Implicitly",",","this","assumes","that","the","wires","of","the","operator","correspond","to","the","global","wire","order",".","..","seealso",":",":",":","meth",":","`","~.TShift.matrix","`","Returns",":","ndarray",":","matrix","*","*","Example","*","*",">",">",">","print","(","qml.TShift.compute_matrix","(",")",")","[","[","0","0","1","]","[","1","0","0","]","[","0","1","0","]","]"]
code: def compute_matrix():
      r"""Representation of the operator as a canonical matrix in the computational basis (static method).
  
      The canonical matrix is the textbook matrix representation that does not consider wires.
      Implicitly, this assumes that the wires of the operator correspond to the global wire order.
  
      .. seealso:: :meth:`~.TShift.matrix`
  
      Returns:
          ndarray: matrix
  
      **Example**
  
      >>> print(qml.TShift.compute_matrix())
      [[0 0 1]
       [1 0 0]
       [0 1 0]]
      """
      return np.array([[0, 0, 1], [1, 0, 0], [0, 1, 0]])
  
imports: import numpy
  from pennylane.operation import Operation, AdjointUndefinedError
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TShift obj's underlying member method code with example usage: obj.compute_matrix() and returns: np