class_docstr: Test converters to_zx and from_zx.
docstr: Test that an error is raised when no suitable decomposition is found.
docstr_tok: ["Test","that","an","error","is","raised","when","no","suitable","decomposition","is","found","."]
code: def test_no_suitable_decomposition(self):
      """Test that an error is raised when no suitable decomposition is found."""
  
      operations = [qml.sum(qml.PauliX(0), qml.PauliZ(0))]
  
      qs = QuantumScript(operations, [])
      with pytest.raises(
          qml.QuantumFunctionError,
          match="The expansion of the quantum tape failed, PyZX does not support",
      ):
          qml.transforms.to_zx(qs)
  
imports: import sys
  from functools import partial
  import numpy
  import pytest
  import pennylane
  from pennylane.tape import QuantumScript
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 11 for calling the TestConvertersZX obj's underlying member method code with example usage: obj.test_no_suitable_decomposition() without return types