You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gates in the gate set are not considered solved in the graph (#8526)
**Context:**
A `KeyError` is raised when trying to access the decomposition rule of
an operator that is in the gate set.
**Description of the Change:**
Now the graph correctly returns `False` when `is_solved_for` is called
on an op in the gate set, and the correct error is raised when trying to
access the decomposition rule of such an operator.
**Benefits:**
**Possible Drawbacks:**
**Related GitHub Issues:**
[sc-102050]
* Fixes a bug where a `KeyError` is raised when querying the decomposition rule for an operator in the gate set from a :class:`~pennylane.decomposition.DecompGraphSolution`.
0 commit comments