Skip to content

Conversation

equwal
Copy link

@equwal equwal commented Aug 30, 2025

Add QubitPermutationGate to the ClassicalStateSimulator and add support for (immutable) tuples in addition to the (mutable) array type.

Includes a regression test.

Resolves #7566

PS were any of you at that silly bounce house event today?

@equwal equwal requested review from a team and vtomole as code owners August 30, 2025 04:26
Copy link

google-cla bot commented Aug 30, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions github-actions bot added the size: S 10< lines changed <50 label Aug 30, 2025
@equwal
Copy link
Author

equwal commented Aug 30, 2025

I did the CLA and added my real email

Add QubitPermutationGate to the ClassicalStateSimulator and add support
for (immutable) tuples in addition to the (mutable) array type.

Includes a regression test.

Resolves #7566
@mhucka
Copy link
Contributor

mhucka commented Aug 30, 2025

@equwal The issue in question (#7566) had already been assigned to someone else, and there was a PR (#7567) that predated yours that addressed it. The other PR has been accepted now. I recommend you close this one. Thank you for your efforts nonetheless.

Copy link

codecov bot commented Aug 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.50%. Comparing base (c517794) to head (b3f9c15).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7616   +/-   ##
=======================================
  Coverage   97.50%   97.50%           
=======================================
  Files        1103     1103           
  Lines       99683    99707   +24     
=======================================
+ Hits        97198    97222   +24     
  Misses       2485     2485           

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

@equwal
Copy link
Author

equwal commented Aug 31, 2025

His is fine

@equwal equwal closed this Aug 31, 2025
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.

Update ClassicalStateSimulator to support QubitPermutationGate

2 participants