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

[Enhancement] Shadow to use initial state for faster simulation #644

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chMoussa
Copy link
Collaborator

Saves computation time when using PyQTorch backend by simulating once the initial state, and using it as input for shadow measurements.

@chMoussa chMoussa added testing Everything related to tests enhancement labels Jan 14, 2025
@chMoussa chMoussa self-assigned this Jan 14, 2025
@chMoussa chMoussa removed the testing Everything related to tests label Jan 14, 2025
@chMoussa chMoussa changed the title [Enhancement][Testing] Shadow to use initial state for faster simulation [Enhancement] Shadow to use initial state for faster simulation Jan 14, 2025
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.61%. Comparing base (3b74895) to head (064700a).

Files with missing lines Patch % Lines
qadence/measurements/shadow.py 80.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #644      +/-   ##
==========================================
- Coverage   85.62%   85.61%   -0.01%     
==========================================
  Files         194      194              
  Lines       16750    16754       +4     
  Branches     1418     1418              
==========================================
+ Hits        14342    14344       +2     
- Misses       2005     2006       +1     
- Partials      403      404       +1     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant