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

Use adjoint method as default grad method with lightning #1171

Open
dime10 opened this issue Oct 2, 2024 · 0 comments
Open

Use adjoint method as default grad method with lightning #1171

dime10 opened this issue Oct 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dime10
Copy link
Contributor

dime10 commented Oct 2, 2024

For compatibility reasons, the diff method in catalyst is set to parameter-shift when the user selects diff_method="best". The performance will generally suffer significantly on simulators as a result of this. Implement a device-aware choice to select adjoint if the device supports it.

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

No branches or pull requests

1 participant