Skip to content

Add unit tests for stimflow.Flow#1081

Merged
Strilanc merged 3 commits into
mainfrom
unittestflow
Jun 30, 2026
Merged

Add unit tests for stimflow.Flow#1081
Strilanc merged 3 commits into
mainfrom
unittestflow

Conversation

@Strilanc

Copy link
Copy Markdown
Collaborator
  • Fix indentantion of stimflow.Chunk.__repr__
  • Make flow centers default to 'infer' rather than None, to distinguish the two desires
  • Add skip_verification_before_append=False to stimflow.ChunkCompiler.__init__
    • Make verify calls to objects passed into stimflow.ChunkCompiler.append, unless the above property was set to True
  • Add unit tests and better docstrings to stimflow.Flow
  • BREAKING CHANGE: rename name= to obs_name= in stimflow.PauliMap.from_{x,y,z}s

Strilanc added 3 commits June 30, 2026 15:30
- Fix indentantion of `stimflow.Chunk.__repr__`
- Make flow centers default to `'infer'` rather than `None`, to distinguish the two desires
- Add `skip_verification_before_append=False` to `stimflow.ChunkCompiler.__init__`
    - Make `verify` calls to objects passed into `stimflow.ChunkCompiler.append`, unless the above property was set to True
- Add unit tests and better docstrings to `stimflow.Flow`
- BREAKING CHANGE: rename `name=` to `obs_name=` in `stimflow.PauliMap.from_{x,y,z}s`
@Strilanc Strilanc merged commit ac83cce into main Jun 30, 2026
57 checks passed
@Strilanc Strilanc deleted the unittestflow branch June 30, 2026 23:45
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