Skip to content

Use adjoint method as default grad method with lightning #1171

Open
@dime10

Description

@dime10

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions