KEMBAR78
Update decomposition patterns for value semantics by bmhowe23 · Pull Request #2145 · NVIDIA/cuda-quantum · GitHub
Skip to content

Conversation

@bmhowe23
Copy link
Collaborator

@bmhowe23 bmhowe23 commented Aug 26, 2024

  • Update QuakeOperator builders to automatically return wires when appropriate. (Edit: removed per an offline discussion that stated that unlike passes, where we want to have the passes support multiple IR flavors, it was preferred to have the builders only support reference semantics)
  • Create helpers to allow common "create" functions for both reference semantics and value semantics.
  • Update UnitaryBuilder to understand unwraps.
  • Update decomposition pattern tests to additionally test value semantics.

Note: this does not do the quake.exp_pauli operation because we cannot currently get quake.exp_pauli operations into value semantics form yet.

* Update QuakeOperator builders to automatically return wires when appropriate
* Create helpers to allow common "create" functions for both reference
  semantics and value semantics
* Update UnitaryBuilder to understand unwraps
@github-actions
Copy link

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

github-actions bot pushed a commit that referenced this pull request Aug 26, 2024
Copy link
Collaborator

@boschmitt boschmitt left a comment

Choose a reason for hiding this comment

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

LGTM, I found the design of QuakeOperatorCreator quite nice.

github-actions bot pushed a commit that referenced this pull request Aug 27, 2024
@github-actions
Copy link

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

* Allows a mixture of reference semantics and value semantics in a
  single operation
* Add mixed semantics test
* Allows `quake.control` types where possible
@github-actions
Copy link

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

github-actions bot pushed a commit that referenced this pull request Aug 28, 2024
Copy link
Collaborator

@schweitzpgi schweitzpgi left a comment

Choose a reason for hiding this comment

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

Nice work, Ben. Thank you.

@bmhowe23 bmhowe23 merged commit bc13b5a into NVIDIA:main Aug 28, 2024
@bmhowe23 bmhowe23 deleted the pr-decomp-patterns-val-sem branch August 28, 2024 17:34
@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2024
@bettinaheim bettinaheim added the release notes Changes need to be captured in the release notes label Nov 19, 2024
@bettinaheim bettinaheim added this to the release 0.9.0 milestone Nov 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release notes Changes need to be captured in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants