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
Adding Snapshot support to Catalyst would possibly be a nice feature to have for some users.
Note that currently if we try wrapping circuit() with a @qjit decorator, calling qml.snapshots(circuit)() will raise a TransformError exception since we cannot apply a PennyLane transform to a qjit-compiled function. This also requires changing the device to "lightning.qubit" in the example above.
The text was updated successfully, but these errors were encountered:
PennyLane added the
qml.Snapshot
operation in Release 0.22.0, which saves the internal state of devices at arbitrary points of execution. For example:Output:
Adding
Snapshot
support to Catalyst would possibly be a nice feature to have for some users.Note that currently if we try wrapping
circuit()
with a@qjit
decorator, callingqml.snapshots(circuit)()
will raise aTransformError
exception since we cannot apply a PennyLane transform to aqjit
-compiled function. This also requires changing the device to"lightning.qubit"
in the example above.The text was updated successfully, but these errors were encountered: