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

Revert recent improvement to qml.grad until closer to the next release #1080

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

josh146
Copy link
Member

@josh146 josh146 commented Feb 11, 2021

Context: PR #1067 introduced an improvement to qml.grad, which removed the need to index into scalar gradients. However, it was determined that we did not want the behaviour of 0.15.0-dev to diverge from 0.14.0 until further in the release cycle.

Description of the Change: Reverts the change of #1067

Benefits: The same code for extracting the gradient of scalar functions will work on both 0.15.0-dev and 0.14.0

Possible Drawbacks: n/a

Related GitHub Issues: n/a

… cost function return type if only a single argument is differentiated (#1067)"

This reverts commit cfdb6f8.
@codecov
Copy link

codecov bot commented Feb 11, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.72%. Comparing base (f498bc2) to head (f7fcb29).
Report is 2638 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1080      +/-   ##
==========================================
- Coverage   97.72%   97.72%   -0.01%     
==========================================
  Files         154      154              
  Lines       11658    11652       -6     
==========================================
- Hits        11393    11387       -6     
  Misses        265      265              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@josh146 josh146 merged commit 6ecd027 into master Feb 11, 2021
@josh146 josh146 deleted the revert-qml-grad branch February 11, 2021 06:53
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

Successfully merging this pull request may close these issues.

2 participants