Skip to content

Decomp/gateset by name - #3052

Open
kipawaa wants to merge 4 commits into
decomp/pass-id-supportfrom
decomp/gateset-by-name
Open

Decomp/gateset by name#3052
kipawaa wants to merge 4 commits into
decomp/pass-id-supportfrom
decomp/gateset-by-name

Conversation

@kipawaa

@kipawaa kipawaa commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Context:
Support for graphOpId in the graph-decomposition pass (#3052) required that graph-decomposition gatesets be specified by ID, which is infeasible to work with.

Description of the Change:
This PR re-introduces the ability to specify gatesets by name rather than ID. The WeightedGateset struct now maps names to costs, and matches against node names rather than IDs. Functionality demonstrated by the TestAltDecomps test in frontend/test/lit/GraphDecomposition.

Benefits:
Returns the ability to specify gatesets by name to the graph-decomposition pass!

Possible Drawbacks:

Related GitHub Issues:

@kipawaa
kipawaa changed the base branch from main to decomp/pass-id-support July 22, 2026 18:37
@kipawaa
kipawaa force-pushed the decomp/gateset-by-name branch from af55f57 to ffb341c Compare July 29, 2026 17:37
@kipawaa
kipawaa force-pushed the decomp/gateset-by-name branch from ffb341c to 59deb18 Compare July 29, 2026 17:41
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