Skip to content

feat(compile): expand QCIS rewrite rules and fix global phases - #45

Merged
jianjian01 merged 1 commit into
cq-lib:developfrom
jianjian01:develop
Sep 24, 2026
Merged

jianjian01 merged 1 commit into
cq-lib:developfrom
jianjian01:develop

Conversation

@jianjian01

Copy link
Copy Markdown
Collaborator

Expand QCIS gate simplification and native decomposition rules while preserving exact unitary equivalence, including global phase.

  • Add 64 rules covering equatorial pulse cancellation and merging, RXY specialization, RZ absorption, CZ echoes, and compact native decompositions.
  • Fix global-phase errors in 21 existing decomposition rules.
  • Use parameter count as a final rewrite-cost tie-breaker to enable parameter-reducing specializations.
  • Add strict matrix-equivalence and regression tests for symbolic rewriting, target-basis lowering, termination, barriers, and labels.

@jianjian01
jianjian01 merged commit c7e9cdc into cq-lib:develop Sep 24, 2026
4 checks passed
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