class_docstr: TSWAP(wires)
  The ternary swap operator.
  
  This operation is analogous to the qubit SWAP and acts on two-qutrit computational basis states
  according to :math:`TSWAP\vert i, j\rangle = \vert j, i \rangle`. Its matrix representation is
  
  .. math:: TSWAP = \begin{bmatrix}
              1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
              0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\
              0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 \\
              0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
              0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 \\
              0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 \\
              0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\
              0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\
              0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \\
          \end{bmatrix}
  
  **Details:**
  
  * Number of wires: 2
  * Number of parameters: 0
  
  Args:
      wires (Sequence[int]): the wires the operation acts on
class_docstr_tok: ["TSWAP","(","wires",")","The","ternary","swap","operator",".","This","operation","is","analogous","to","the","qubit","SWAP","and","acts","on","two-qutrit","computational","basis","states","according","to",":","math",":","`","TSWAP\\vert","i",",","j\\rangle","=","\\vert","j",",","i","\\rangle","`",".","Its","matrix","representation","is","..","math",":",":","TSWAP","=","\\begin","{","bmatrix","}","1","&","0","&","0","&","0","&","0","&","0","&","0","&","0","&","0","\\\\","0","&","0","&","0","&","1","&","0","&","0","&","0","&","0","&","0","\\\\","0","&","0","&","0","&","0","&","0","&","0","&","1","&","0","&","0","\\\\","0","&","1","&","0","&","0","&","0","&","0","&","0","&","0","&","0","\\\\","0","&","0","&","0","&","0","&","1","&","0","&","0","&","0","&","0","\\\\","0","&","0","&","0","&","0","&","0","&","0","&","0","&","1","&","0","\\\\","0","&","0","&","1","&","0","&","0","&","0","&","0","&","0","&","0","\\\\","0","&","0","&","0","&","0","&","0","&","1","&","0","&","0","&","0","\\\\","0","&","0","&","0","&","0","&","0","&","0","&","0","&","0","&","1","\\\\","\\end","{","bmatrix","}","*","*","Details",":","*","*","*","Number","of","wires",":","2","*","Number","of","parameters",":","0","Args",":","wires","(","Sequence","[","int","]",")",":","the","wires","the","operation","acts","on"]
code: def adjoint(self):
      return TSWAP(wires=self.wires)
  
imports: import numpy
  from pennylane.operation import Operation, AdjointUndefinedError
  from pennylane.wires import Wires
label_desc: Use image node_id 5 for calling the TSWAP obj's underlying member method code with example usage: obj.adjoint() and returns: TSWAP