class_docstr: Unit tests for clifford compilation function.
class_docstr_tok: ["Unit","tests","for","clifford","compilation","function","."]
docstr: Test that exception is correctly raise when decomposing parameterized gates for which we already don't have a recipe
docstr_tok: ["Test","that","exception","is","correctly","raise","when","decomposing","parameterized","gates","for","which","we","already","do","n't","have","a","recipe"]
code: def test_raise_with_rot_decomposition(self, op):
      """Test that exception is correctly raise when decomposing parameterized gates for which we already don't have a recipe"""
  
      with pytest.raises(
          ValueError,
          match="qml.RX, qml.RY, qml.RZ, qml.Rot and qml.PhaseShift",
      ):
          _rot_decompose(op)
  
imports: import math
  from functools import reduce
  import pytest
  import pennylane
  from pennylane.transforms.decompositions.clifford_t_transform import check_clifford_t, clifford_t_decomposition, _rot_decompose, _one_qubit_decompose, _two_qubit_decompose, _CLIFFORD_T_GATES
  from pennylane.transforms.optimization.optimization_utils import _fuse_global_phases
label_desc: Use image node_id 9 for calling the TestCliffordCompile obj's underlying member method code with example usage: obj.test_raise_with_rot_decomposition(op) without return types