qml.decomposition.enable_graph¶
- enable_graph()¶
A global toggle for enabling the experimental graph-based decomposition system in PennyLane (introduced in v0.41). This new way of doing decompositions is generally more performant and allows for specifying custom decompositions.
When this is enabled,
decompose()
will use the new decompositions system.
code/api/pennylane.decomposition.enable_graph
Download Python script
Download Notebook
View on GitHub