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

Update qcut docs. Remove id from label of qcut.MeasureNode and qcut.PrepareNode #5613

Merged
merged 22 commits into from
May 3, 2024

Conversation

dwierichs
Copy link
Contributor

Context:
MeasureNode and PrepareNode automatically have a UUID (#2224), which is being printed in tape text (#4749)

Description of the Change:
Update the docs of the qcut module to reflect some minor changes ,mostly in formatting/tape printing default settings.

Update the label method of MeasureNode and PrepareNode to not include their id.

Benefits:
Updated docs.

Nicely printing qcut tape texts

Possible Drawbacks:

Related GitHub Issues:

@dwierichs dwierichs changed the base branch from master to v0.36.0-rc0 May 1, 2024 09:40
Copy link
Contributor

github-actions bot commented May 1, 2024

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.

Copy link

codecov bot commented May 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (v0.36.0-rc0@d8b7825). Click here to learn what that means.

Additional details and impacted files
@@              Coverage Diff               @@
##             v0.36.0-rc0    #5613   +/-   ##
==============================================
  Coverage               ?   99.69%           
==============================================
  Files                  ?      412           
  Lines                  ?    38334           
  Branches               ?        0           
==============================================
  Hits                   ?    38216           
  Misses                 ?      118           
  Partials               ?        0           

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

@mudit2812 mudit2812 self-requested a review May 1, 2024 15:57
Copy link
Contributor

@trbromley trbromley left a comment

Choose a reason for hiding this comment

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

Thanks @dwierichs!

pennylane/qcut/utils.py Show resolved Hide resolved
@astralcai astralcai added this to the v0.36 milestone May 2, 2024
@dwierichs dwierichs enabled auto-merge (squash) May 3, 2024 08:39
@dwierichs dwierichs merged commit 1798b1f into v0.36.0-rc0 May 3, 2024
37 checks passed
@dwierichs dwierichs deleted the doc-fixed-dw2 branch May 3, 2024 09:03
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