Cirq icon indicating copy to clipboard operation
Cirq copied to clipboard

Fix inconsistency between qubits measurements in readout circuits and real measurement circuits

Open ddddddanni opened this issue 2 weeks ago • 2 comments

There is an inconsistency on qubits measurements in readout circuits and measurement circuits. The measurement circuits always measure the full circuit set of qubits, while the qubits being measured in readout/calibration circuits are based only on the qubits present in the Pauli strings. In this PR, I have updated the circuit generation to only measure the qubits relevant to the Pauli group being processed.

ddddddanni avatar Dec 12 '25 05:12 ddddddanni

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 99.57%. Comparing base (6871bdb) to head (77aafb4). :warning: Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7801      +/-   ##
==========================================
- Coverage   99.57%   99.57%   -0.01%     
==========================================
  Files        1102     1102              
  Lines       98638    98772     +134     
==========================================
+ Hits        98218    98350     +132     
- Misses        420      422       +2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Dec 12 '25 06:12 codecov[bot]

@eliottrosenberg Can you take a look at this? Thank!

ddddddanni avatar Dec 12 '25 19:12 ddddddanni