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

Miscellaneous Tensor deprecation fixes #6365

Merged
merged 4 commits into from
Oct 8, 2024
Merged

Conversation

mudit2812
Copy link
Contributor

@mudit2812 mudit2812 commented Oct 8, 2024

  • Update bit_flip_mixer to conditionally create Tensors based on active_new_opmath()
  • Update _validate_computational_basis_sampling to conditionally create Tensors based on active_new_opmath()
  • Update qml.data.DatasetOperator to deserialize Tensor into Prod if active_new_opmath()

[sc-71940]

Copy link
Contributor

@astralcai astralcai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lillian542 lillian542 self-requested a review October 8, 2024 20:10
@mudit2812 mudit2812 enabled auto-merge (squash) October 8, 2024 21:00
@mudit2812 mudit2812 merged commit bf0127c into master Oct 8, 2024
36 checks passed
Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.40%. Comparing base (6c6b80f) to head (0c91a3c).
Report is 332 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6365   +/-   ##
=======================================
  Coverage   99.39%   99.40%           
=======================================
  Files         446      446           
  Lines       42328    42360   +32     
=======================================
+ Hits        42073    42106   +33     
+ Misses        255      254    -1     

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

@mudit2812 mudit2812 deleted the misc-tensor-deprecations branch October 8, 2024 21:25
austingmhuang pushed a commit that referenced this pull request Oct 23, 2024
* Update `bit_flip_mixer` to conditionally create `Tensor`s based on
`active_new_opmath()`
* Update `_validate_computational_basis_sampling` to conditionally
create `Tensor`s based on `active_new_opmath()`
* Update `qml.data.DatasetOperator` to deserialize `Tensor` into `Prod`
if `active_new_opmath()`

[sc-71940]
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.

3 participants