class_docstr: Tests for the QutritUnitary class.
class_docstr_tok: ["Tests","for","the","QutritUnitary","class","."]
docstr: Tests that QutritUnitary is not decomposed and throws error
docstr_tok: ["Tests","that","QutritUnitary","is","not","decomposed","and","throws","error"]
code: def test_qutrit_unitary_decomposition_error(self, U, num_wires):
      """Tests that QutritUnitary is not decomposed and throws error"""
      with pytest.raises(DecompositionUndefinedError):
          qml.QutritUnitary.compute_decomposition(
              U, wires=range(num_wires)
          )
  
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 10 for calling the TestQutritUnitary obj's underlying member method code with example usage: obj.test_qutrit_unitary_decomposition_error(U, num_wires) without return types