tensorflow/quantum

Remove use of finite different in Adjoint gradient

Open

#620 opened on Aug 19, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (653 forks)github user discovery
area/corehelp wantedkind/feature-requestskill-level/intermediate

Repository metrics

Stars
 (2,145 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently the Adjoint gradient method in C++ uses finite difference of gates to calculate the "gradient gate" to apply to the state. In terms of numerical precision this isn't ideal. What would be better is to slowly swap out the "gradient gate" calculation using finite difference to instead use analytic/closed forms. @zaqqwerty

Contributor guide