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

Added standard Binary mapping for bosonic operators #6564

Merged
merged 145 commits into from
Nov 25, 2024
Merged

Conversation

ddhawan11
Copy link
Contributor

@ddhawan11 ddhawan11 commented Nov 11, 2024

Context:
Standard-binary mapping for bosonic operators

Description of the Change:
Added function for mapping bosonic operators (BoseWord and BoseSentence) to qubit operators.

Benefits:

Possible Drawbacks:

Related GitHub Issues:

[sc-72640]

austingmhuang and others added 22 commits November 5, 2024 11:29
Co-authored-by: Diksha Dhawan <40900030+ddhawan11@users.noreply.github.com>

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
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.

Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.46%. Comparing base (32339ee) to head (ebee498).
Report is 295 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6564   +/-   ##
=======================================
  Coverage   99.46%   99.46%           
=======================================
  Files         454      455    +1     
  Lines       42651    42717   +66     
=======================================
+ Hits        42422    42488   +66     
  Misses        229      229           

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

Copy link
Contributor

@austingmhuang austingmhuang left a comment

Choose a reason for hiding this comment

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

@ddhawan11 Nice work! I left some pretty basic comments for now. I will take a closer look at the bosonic_mapping in greater detail later, hopefully with some more interesting and useful questions or comments.

ddhawan11 and others added 8 commits November 22, 2024 02:32
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: Austin Huang <65315367+austingmhuang@users.noreply.github.com>
Co-authored-by: Austin Huang <65315367+austingmhuang@users.noreply.github.com>
Copy link
Contributor

@austingmhuang austingmhuang left a comment

Choose a reason for hiding this comment

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

@ddhawan11 Great work! Conditional approval based on making sure the example in the docs work and editing the docstrings to follow the PL style guide.

Copy link
Contributor

@DSGuala DSGuala left a comment

Choose a reason for hiding this comment

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

Left small comments for the documentation. Approved once these are addressed 👍

ddhawan11 and others added 2 commits November 25, 2024 04:48
Co-authored-by: Diego <67476785+DSGuala@users.noreply.github.com>
Co-authored-by: Diego <67476785+DSGuala@users.noreply.github.com>
ddhawan11 and others added 4 commits November 25, 2024 10:05
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
Co-authored-by: soranjh <40344468+soranjh@users.noreply.github.com>
@ddhawan11 ddhawan11 enabled auto-merge (squash) November 25, 2024 15:08
@ddhawan11 ddhawan11 merged commit 29cb5e6 into master Nov 25, 2024
45 checks passed
@ddhawan11 ddhawan11 deleted the binary_mapping branch November 25, 2024 15:43
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