Skip to content

Handle adjoint rotations in gate decompositions#4210

Draft
lmondada wants to merge 2 commits intoNVIDIA:mainfrom
lmondada:lm/adjrot-decomp
Draft

Handle adjoint rotations in gate decompositions#4210
lmondada wants to merge 2 commits intoNVIDIA:mainfrom
lmondada:lm/adjrot-decomp

Conversation

@lmondada
Copy link
Copy Markdown
Collaborator

@lmondada lmondada commented Mar 24, 2026

When selecting gate decompositions, we were not distinguishing adjoint gates from their non-adjoint counterparts. This meant that we never selected decompositions such as RxAdjToRx, as the automatic selection algorithm was viewing it as a no-op and hence useless.

This PR fixes this.

Note that this would also allow us to distinguish between S/T and their adjoint, but this would require adding more decomposition rules and would not benefit us at the moment (because wherever S and T are supported we currently also support the adjoint forms).

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Mar 24, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@lmondada
Copy link
Copy Markdown
Collaborator Author

lmondada commented Mar 24, 2026

/ok to test 53ff436

Command Bot: Processing...

github-actions bot pushed a commit that referenced this pull request Mar 24, 2026
@github-actions
Copy link
Copy Markdown

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

@github-actions
Copy link
Copy Markdown

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

@lmondada
Copy link
Copy Markdown
Collaborator Author

lmondada commented Mar 24, 2026

/ok to test dce1d64

Command Bot: Processing...

@github-actions
Copy link
Copy Markdown

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

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