class_docstr: Tests to ensure the transform itself works in all interfaces.
docstr: Test that the transform ignores QubitUnitary instances that are too big
  to decompose.
docstr_tok: ["Test","that","the","transform","ignores","QubitUnitary","instances","that","are","too","big","to","decompose","."]
code: def test_unitary_to_rot_too_big_unitary(self):
      """Test that the transform ignores QubitUnitary instances that are too big
      to decompose."""
  
      tof = qml.Toffoli(wires=[0, 1, 2]).matrix()
  
      def qfunc_with_large_qubit_unitary():
          qml.QubitUnitary(H, wires="a")
          qml.QubitUnitary(tof, wires=["a", "b", "c"])
  
      transformed_qfunc = unitary_to_rot(qfunc_with_large_qubit_unitary)
  
      ops = qml.tape.make_qscript(transformed_qfunc)().operations
  
      assert len(ops) == 4
  
      assert ops[0].name == "RZ"
      assert ops[0].wires == Wires("a")
  
      assert ops[1].name == "RY"
      assert ops[1].wires == Wires("a")
  
      assert ops[2].name == "RZ"
      assert ops[2].wires == Wires("a")
  
      assert ops[3].name == "QubitUnitary"
      assert ops[3].wires == Wires(["a", "b", "c"])
  
imports: from itertools import product
  import pytest
  from gate_data import I, Z, S, T, H, X
  from test_optimization.utils import check_matrix_equivalence
  import pennylane
  from pennylane import numpy
  from pennylane.wires import Wires
  from pennylane.transforms import unitary_to_rot
label_desc: Use image node_id 3 for calling the TestDecomposeSingleQubitUnitaryTransform obj's underlying member method code with example usage: obj.test_unitary_to_rot_too_big_unitary() without return types