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 gates without any decomposition
docstr_tok: ["Test","that","exception","is","correctly","raise","when","decomposing","gates","without","any","decomposition"]
code: def test_raise_with_cliffordt_decomposition(self):
      """Test that exception is correctly raise when decomposing gates without any decomposition"""
  
      tape = qml.tape.QuantumScript(
          [qml.QubitUnitary(qml.math.eye(8), wires=[0, 1, 2])]
      )
  
      with pytest.raises(ValueError, match="Cannot unroll"):
          clifford_t_decomposition(tape, max_expansion=0)
  
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 8 for calling the TestCliffordCompile obj's underlying member method code with example usage: obj.test_raise_with_cliffordt_decomposition() without return types