Skip to content

stimside: Refactor the leakage tag parsing logic#1085

Open
lilianchih wants to merge 4 commits into
quantumlib:stimsidefrom
lilianchih:u/lilianchih/parsing_leakage_tags
Open

stimside: Refactor the leakage tag parsing logic#1085
lilianchih wants to merge 4 commits into
quantumlib:stimsidefrom
lilianchih:u/lilianchih/parsing_leakage_tags

Conversation

@lilianchih

Copy link
Copy Markdown

The refactoring resolves redundancy and complexity in the leakage tag parsing code by replacing the original decision trees with a centralized, declarative tag registration system. The parser now performs a simple dictionary lookup to retrieve a tag's rules (TagDef) and routes it to unified validation and parsing flows.

@m-mcewen m-mcewen self-requested a review July 9, 2026 16:33

@m-mcewen m-mcewen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

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.

2 participants