Skip to content
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

Refactor stim_pybind::PyPaulString -> stim::FlexPauliString #675

Merged
merged 4 commits into from
Nov 30, 2023
Merged

Conversation

Strilanc
Copy link
Collaborator

@Strilanc Strilanc commented Nov 30, 2023

  • Also fix sinter.Task.strong_id not correctly checking for circuit not being set
  • Fix stim.PauliString.__init__ specifying pybind11 overloads instead of manually doing resolution.
    • This notably improved the documentation of the method.
    • Force positional arg on the init argument, but silently maintain backwards compatibility with old keyword
  • Fix stim.PauliString.from_unitary_matrix signature typo float -> complex
  • Fix stim.PauliString.before signature typo after -> before

- Also fix `sinter.Task.strong_id` not correctly checking for circuit not being set
- Fix `stim.PauliString.__init__` specifying pybind11 overloads instead of manually doing resolution.
    - This notably improved the documentation of the method.
    - Force positional arg on the init argument, but silently maintain backwards compatibility with old keyword
@Strilanc Strilanc enabled auto-merge (squash) November 30, 2023 08:21
@Strilanc Strilanc disabled auto-merge November 30, 2023 08:28
@Strilanc Strilanc enabled auto-merge (squash) November 30, 2023 08:28
@Strilanc Strilanc merged commit d0775fa into main Nov 30, 2023
57 checks passed
@Strilanc Strilanc deleted the stimflow2 branch November 30, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant