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
fixed catalyst to correctly extract number of shots for legacyDeviceFacade (#1035)
**Context:**
This PR is to fix an issue that will be caused after merging the
following PR:
PennyLaneAI/pennylane#6046
The problem is that LegacyDeviceFacade will cause the Legacy Devices to
use the Shots class instead of an integer which causes a crash in
runtime.
**Description of the Change:**
This PR ensures that the any device that is an instance of the new
device API uses the shots class to extract the total number of shots.
**Related GitHub Issues:**
[sc-70792]
---------
Co-authored-by: Ahmed Darwish <[email protected]>
0 commit comments