Skip to content

Commit

Permalink
fix disable multiRZ
Browse files Browse the repository at this point in the history
  • Loading branch information
josephleekl committed Oct 21, 2024
1 parent 2dd657c commit 692c2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane_lightning/lightning_kokkos/_state_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def _apply_lightning(
param = operation.parameters
method(wires, invert_param, param)
elif isinstance(operation, qml.ops.Controlled) and not isinstance(
operation.base, (qml.QubitUnitary, qml.BlockEncode)
operation.base, (qml.QubitUnitary, qml.BlockEncode, qml.MultiRZ)
): # apply n-controlled gate
self._apply_lightning_controlled(operation)
else: # apply gate as a matrix
Expand Down

0 comments on commit 692c2cf

Please sign in to comment.