Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Lightning VJP logic needs to be updated to use the new operator arithmetic #471

Open
josh146 opened this issue Jul 14, 2023 · 0 comments

Comments

@josh146
Copy link
Member

josh146 commented Jul 14, 2023

While reviewing PennyLaneAI/pennylane#4358, I noticed that Lightning is still creating Hamiltonians when VJPs are requested:

ham = qml.Hamiltonian(dy, [m.obs for m in measurements])

This logic will soon be accessible to PennyLane, and the Hamiltonian class is marked for deprecation - just wanted to make a note of this in case it was missed in previous upgrade work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant