Skip to content

Conversation

p51lee
Copy link
Contributor

@p51lee p51lee commented Aug 31, 2025

Classically controlled operations were passing _is_clifford_op, which led dynamical_decoupling to synthesize/invert through them and crash. Mark them non-Clifford for DD so they act as boundaries. Add regression test test_classically_controlled_no_update_succeeds.

Fixes #7617

Classically controlled operations were passing `_is_clifford_op`, which
led `dynamical_decoupling` to synthesize/invert through them and crash.
Mark them non-Clifford for DD so they act as boundaries. Add regression
test `test_classically_controlled_no_update_succeeds`.

Fixes quantumlib#7617
@p51lee p51lee requested review from vtomole and a team as code owners August 31, 2025 15:39
@p51lee p51lee requested a review from 95-martin-orion August 31, 2025 15:39
@github-actions github-actions bot added the size: S 10< lines changed <50 label Aug 31, 2025
Copy link

codecov bot commented Aug 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.56%. Comparing base (c334f75) to head (7b0523f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7621   +/-   ##
=======================================
  Coverage   99.56%   99.56%           
=======================================
  Files        1088     1088           
  Lines       96039    96043    +4     
=======================================
+ Hits        95619    95626    +7     
+ Misses        420      417    -3     

☔ 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.

Copy link
Collaborator

@daxfohl daxfohl left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: S 10< lines changed <50
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add_dynamical_decoupling crash on classically controlled operation
2 participants