Skip to content

Conversation

@justinpickering
Copy link
Contributor

Context:
A user query on our forum (Thread #8885) revealed that PennyLane silently promotes all float32 inputs to float64 during computation.

Description of the Change:

This change adds a warning to the Interfaces documentation regarding the behaviour (everything is promoted to 64-bit outputs).

Benefits:

Possible Drawbacks:

Related GitHub Issues:

@github-actions
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.

@codecov
Copy link

codecov bot commented Aug 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.40%. Comparing base (0c99124) to head (aec8aae).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8124      +/-   ##
==========================================
- Coverage   99.40%   99.40%   -0.01%     
==========================================
  Files         550      550              
  Lines       56969    56969              
==========================================
- Hits        56631    56630       -1     
- Misses        338      339       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@CatalinaAlbornoz CatalinaAlbornoz left a comment

Choose a reason for hiding this comment

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

Thanks for adding this warning! 🙌
The line was a bit long so I just suggested making it into two lines.
Remember to add an entry to the changelog in the "documentation" section.

@justinpickering
Copy link
Contributor Author

Thanks for adding this warning! 🙌 The line was a bit long so I just suggested making it into two lines. Remember to add an entry to the changelog in the "documentation" section.

Added - thanks @CatalinaAlbornoz!

Copy link
Contributor

@CatalinaAlbornoz CatalinaAlbornoz left a comment

Choose a reason for hiding this comment

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

LGTM!

@justinpickering justinpickering added this pull request to the merge queue Sep 11, 2025
Merged via the queue into master with commit 320a5b6 Sep 11, 2025
52 checks passed
@justinpickering justinpickering deleted the doc-update-interfaces branch September 11, 2025 14:44
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