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

Optimize lightning.tensor by adding direct MPS sites data set #983

Merged
merged 40 commits into from
Dec 20, 2024

Conversation

LuisAlfredoNu
Copy link
Contributor

@LuisAlfredoNu LuisAlfredoNu commented Nov 6, 2024

Context:
Optimize lightning.tensor by adding direct MPS sites data set

Description of the Change:
Adding the MPSPrep gate to be able to pass an MPS directly to the Tensor Network.
The MPSPrep gate frontend was developed on this PR

Benefits:
Avoid the decomposition from state vector to MPS sites which are expensive and inefficient

Possible Drawbacks:

Related GitHub Issues:
[sc-74709]

Copy link
Contributor

github-actions bot commented Nov 6, 2024

Hello. You may have forgotten to update the changelog!
Please edit .github/CHANGELOG.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 Dec 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.06%. Comparing base (11b03d4) to head (206105f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #983      +/-   ##
==========================================
- Coverage   97.93%   96.06%   -1.87%     
==========================================
  Files         233      233              
  Lines       39905    39070     -835     
==========================================
- Hits        39079    37532    -1547     
- Misses        826     1538     +712     

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

@LuisAlfredoNu LuisAlfredoNu added the ci:use-gpu-runner Enable usage of GPU runner for this Pull Request label Dec 7, 2024
@LuisAlfredoNu LuisAlfredoNu marked this pull request as ready for review December 8, 2024 00:03
Copy link
Member

@maliasadi maliasadi left a comment

Choose a reason for hiding this comment

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

Nice work! 🎄

Copy link
Contributor

@josephleekl josephleekl left a comment

Choose a reason for hiding this comment

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

Just have some small comments!

@josephleekl
Copy link
Contributor

Added some small comments, happy to approve straight away once they're dealt with! @LuisAlfredoNu

Copy link
Contributor

@josephleekl josephleekl left a comment

Choose a reason for hiding this comment

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

LTGM, thanks @LuisAlfredoNu

Copy link
Member

@maliasadi maliasadi left a comment

Choose a reason for hiding this comment

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

Happy to approve 🥳

@LuisAlfredoNu LuisAlfredoNu merged commit 87bcd10 into master Dec 20, 2024
90 of 92 checks passed
@LuisAlfredoNu LuisAlfredoNu deleted the statePrep_MPS branch December 20, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:use-gpu-runner Enable usage of GPU runner for this Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants