Skip to content

Add parameter sweep support for Pauli string measurements with readout mitigation #7358

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ddddddanni
Copy link
Contributor

#7236 and #7067 builds a tool for measuring expectation values of Pauli strings with readout error mitigation. This pr enhances the tool by providing option for sweep-based execution. The new sweep mode could make it faster for external users since for them sweep operations can be more efficient than run_batch with large circuit lists.
The changes include:

  1. Adding a new function run_sweep_with_readout_benchmarking which runs the sweep circuits with readout error benchmarking (without shuffling).
  2. Allow user to run measuring_pauli_strings in sweep mode. In this mode, the function uses parameterized circuits and sweeps parameters for both Pauli measurements and readout benchmarking

@github-actions github-actions bot added size: L 250< lines changed <1000 size: XL lines changed >1000 and removed size: L 250< lines changed <1000 labels May 20, 2025
Copy link

codecov bot commented May 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.68%. Comparing base (513f309) to head (1c46aae).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #7358    +/-   ##
========================================
  Coverage   98.68%   98.68%            
========================================
  Files        1112     1112            
  Lines       97588    97776   +188     
========================================
+ Hits        96307    96495   +188     
  Misses       1281     1281            

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ddddddanni ddddddanni marked this pull request as ready for review May 23, 2025 00:28
@ddddddanni ddddddanni requested review from vtomole and a team as code owners May 23, 2025 00:28
@ddddddanni
Copy link
Contributor Author

Hey @eliottrosenberg and @NoureldinYosri, can you take a look when you have time? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: XL lines changed >1000
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant