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

feature: support Prod as an observable #244

Merged
merged 1 commit into from
Apr 25, 2024
Merged

feature: support Prod as an observable #244

merged 1 commit into from
Apr 25, 2024

Conversation

ashlhans
Copy link
Contributor

Issue #, if available:
#241

Description of changes:

Add support for Prod since Observables made with @ will now be instances of Prod instead of Tensor in the newest version of PennyLane (0.36.0)

Testing done:
tox and tox -e integ-tests

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

Tests

  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ashlhans ashlhans requested a review from a team as a code owner April 25, 2024 21:05
@ashlhans ashlhans linked an issue Apr 25, 2024 that may be closed by this pull request
Copy link

codecov bot commented Apr 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (3c7d620) to head (27962f6).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #244   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines         1204      1207    +3     
  Branches       288       290    +2     
=========================================
+ Hits          1204      1207    +3     

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

@ashlhans ashlhans merged commit a752ff5 into main Apr 25, 2024
15 checks passed
@ashlhans ashlhans deleted the supportProd branch April 25, 2024 22:51
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.

Support Prod as observables
2 participants