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

Minor fixes for 0.38 #6163

Merged
merged 11 commits into from
Aug 28, 2024
Merged

Minor fixes for 0.38 #6163

merged 11 commits into from
Aug 28, 2024

Conversation

mudit2812
Copy link
Contributor

@mudit2812 mudit2812 commented Aug 27, 2024

Minor changes for QA for 0.38:

  • Trailing whitespace removed from changelog
  • Change qml.cond's docs to stop using np.array(<value>, requires_grad=True) as np should be vanilla numpy, not autograd. Additionally, the use of pennylane.numpy does not add anything meaningful to the examples in the docs.
  • I also also added a note to the qml.cond docs about falling back to python control flow when qml.qjit is not active.
  • Fix whitespace in LinearCombination docs.
  • Fix formatting and type hints in docs for functions related to group_observables.
  • Add license note to diagonalize_measurements and wrap some stuff in inline code blocks in the doc string.
  • Minor doc fix to single_qubit_fusion.
  • Minor formatting and code correction to split_to_single_terms's docstring
  • Minor doc fix for qml.UCCSD.
  • Squeeze batch dimension of inputs to a function given as input to qml.fourier.coefficients. The squeezing was being done by broadcast_expand before, which is no longer the case.

Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

@mudit2812 mudit2812 marked this pull request as ready for review August 28, 2024 20:11
@mudit2812 mudit2812 added this to the v0.38 milestone Aug 28, 2024
@astralcai astralcai self-requested a review August 28, 2024 20:18
@lillian542 lillian542 self-requested a review August 28, 2024 20:19
@mudit2812 mudit2812 enabled auto-merge (squash) August 28, 2024 21:36
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (v0.38.0-rc0@020d56f). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff               @@
##             v0.38.0-rc0    #6163   +/-   ##
==============================================
  Coverage               ?   99.66%           
==============================================
  Files                  ?      445           
  Lines                  ?    42358           
  Branches               ?        0           
==============================================
  Hits                   ?    42216           
  Misses                 ?      142           
  Partials               ?        0           

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

@mudit2812 mudit2812 merged commit 7d58f3b into v0.38.0-rc0 Aug 28, 2024
39 checks passed
@mudit2812 mudit2812 deleted the mudit/0.38-fixes branch August 28, 2024 22:05
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.

4 participants