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
Avoid decomposing unsupported Ops into QubitUnitary when not specified in the device TOML file (#1348)
**Context:**
Avoid decomposing unsupported gates and templates into `QubitUnitary`
when not specified in the device TOML file of Lightning simulators from
Catalyst. re: PennyLaneAI/catalyst#2426
**Description of the Change:**
- Skip the initialization of `_to_matrix_ops` when `QubitUnitary` is not
in the list of supported ops in Lightning
**Benefits:**
- Enable decomposing to a custom target gateset without `QubitUnitary`
when using Lightning simulators with `qml.qjit`.
**Possible Drawbacks:**
**Related GitHub Issues:**
[sc-111263]
Copy file name to clipboardExpand all lines: .github/CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,9 @@
10
10
11
11
<h3>Improvements 🛠</h3>
12
12
13
+
- Avoid decomposing unsupported gates and templates into `QubitUnitary` when not specified in the device TOML file of Lightning simulators from Catalyst.
0 commit comments