Skip to content

Conversation

@ddddddanni
Copy link
Collaborator

I split this #7492 giant PR into smaller pieces for easier review.
This PR:

  1. Adds a CircuitToPauliStringsParameters class which supports postselection_symmetries.
  2. Modify the validation method
  3. Allows measure_pauli_strings to take CircuitToPauliStringsParameters as a input.

@ddddddanni ddddddanni requested review from a team and vtomole as code owners November 11, 2025 19:50
@github-actions github-actions bot added the size: L 250< lines changed <1000 label Nov 11, 2025
Copy link
Collaborator

@eliottrosenberg eliottrosenberg left a comment

Choose a reason for hiding this comment

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

This PR doesn't actually apply the postselection, correct? If so, we should raise a NotImplementedError if the user tries to use postselection symmetries.

@ddddddanni ddddddanni marked this pull request as ready for review November 19, 2025 01:10
@ddddddanni
Copy link
Collaborator Author

This PR doesn't actually apply the postselection, correct? If so, we should raise a NotImplementedError if the user tries to use postselection symmetries.

Done!

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

Labels

size: L 250< lines changed <1000

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants