-
Notifications
You must be signed in to change notification settings - Fork 586
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
Add fft
submodule to qml.math
#1440
Conversation
Hello. You may have forgotten to update the changelog!
|
Nice! I wonder if the And what would we need to do, just add tests? Or are the math module functions untested? |
Tests are failing because I stupidly passed Just fixed that, so tests should pass now.
|
Codecov Report
@@ Coverage Diff @@
## master #1440 +/- ##
=======================================
Coverage 99.82% 99.82%
=======================================
Files 329 329
Lines 28822 28848 +26
=======================================
+ Hits 28771 28797 +26
Misses 51 51
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@glassnotes @mariaschuld @dwierichs... is this still needed? I have completely forgotten the context to this PR :( |
It seems like it is almost done? We have not talked much about differentiability of parameter shift rules or reconstruction functionalities with respect to the frequency or reconstruction/evaluation points since summer. It might be nice to leave this open and merge it in once we want some functionality like this, but for now it does not appear to be needed? |
@dwierichs yes as far as I can tell, it only needs tests. Okay, let's leave it open for now |
@dwierichs is this something that is now worth adding? |
I tried to write tests for this.
|
@dwierichs did you get the tests working based on the recent commit? |
@josh146 Yes. Complex-valued derivatives are a bit strange in Tensorflow, to me at least. And the torch problem was self-made, I had some local version collision. |
This could use some reviews now 😅 @josh146 |
Nice work @dwierichs! All looks good to me, and very thorough test coverage. Unfortunately, I cannot approve as I opened this PR 😆 |
fft
submodule to qml.math
* [WIP] Add support for differentiable FFT * fix * fix * fix * lint and black * start tests * working tests * lint 1/2 * lint tests * complete tests * add file * test update * changelog * coverage * lint --------- Co-authored-by: David Wierichs <david.wierichs@xanadu.ai>
No description provided.