Skip to content

Fix stimflow start="auto" failing for observables#1074

Merged
Strilanc merged 14 commits into
mainfrom
fixstimflowobsnameauto
Jun 27, 2026
Merged

Fix stimflow start="auto" failing for observables#1074
Strilanc merged 14 commits into
mainfrom
fixstimflowobsnameauto

Conversation

@Strilanc

@Strilanc Strilanc commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator
  • Similarly fix end="auto"
  • Also improve stimflow.Flow.__repr__ not returning a parseable result

Fixes #1073

- Similarly fix `end="auto"`
- Also improve `stimflow.Flow.__repr__` not returning a parseable result
@Strilanc Strilanc enabled auto-merge (squash) June 16, 2026 03:54
@Strilanc Strilanc disabled auto-merge June 16, 2026 05:36
@Strilanc Strilanc enabled auto-merge (squash) June 27, 2026 04:38
@Strilanc Strilanc merged commit 933e1d0 into main Jun 27, 2026
55 checks passed
@Strilanc Strilanc deleted the fixstimflowobsnameauto branch June 27, 2026 04:54
Strilanc pushed a commit that referenced this pull request Jun 27, 2026
- Added unit tests for `stimflow.StabilizerCode.x_basis_subset` and
`stimflow.StabilizerCode.z_basis_subset` to resolve
#1075.
- Also added a unit test for `stimflow.StabilizerCode.flat_logicals`
while we're at it..

The original issue was already fixed in
[#1074](https://github.com/quantumlib/Stim/pull/1074/changes#diff-bb04fd59c266dfd691b1466c550984c7962dc75148ce23df6592fdaee819efc6),
here we are just adding a test.
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.

in stimflow, start="auto" fails when end is a named observable

1 participant