class_docstr: Tests for the QutritUnitary class.
class_docstr_tok: ["Tests","for","the","QutritUnitary","class","."]
docstr: Test QutritUnitary's controlled method.
docstr_tok: ["Test","QutritUnitary","'s","controlled","method","."]
code: def test_controlled(self):
      """Test QutritUnitary's controlled method."""
      U = U_thadamard_01
      base = qml.QutritUnitary(U, wires=0)
  
      expected = qml.ControlledQutritUnitary(
          U, control_wires="a", wires=0
      )
  
      out = base._controlled("a")
      assert qml.equal(out, expected)
  
imports: import pytest
  import numpy
  from scipy.stats import unitary_group
  from gate_data import TSWAP
  import pennylane
  from pennylane.wires import Wires
  from pennylane.operation import DecompositionUndefinedError
label_desc: Use image node_id 13 for calling the TestQutritUnitary obj's underlying member method code with example usage: obj.test_controlled() without return types