Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert the quake dialect ops to support both memory and register forms. #124

Merged
merged 8 commits into from
May 8, 2023

Conversation

schweitzpgi
Copy link
Collaborator

@schweitzpgi schweitzpgi commented May 1, 2023

This unifies the quantum gate definitions into a single Op and eliminates the overhead of supporting parallel dialects for the same operations. See issue #98 for more.

A large portion of these changes involves converting the tests to support a new syntax in which types are mandatory on quantum operations and more uniformly follow the MLIR default functional notation.

Modify some specific points in the existing code to use the new op builder routines. Also begin the work of phasing out the Common directory, which will become obsolete after this refactoring is complete.

@schweitzpgi schweitzpgi force-pushed the ch-unified.ops branch 4 times, most recently from 712038b to f0b0420 Compare May 4, 2023 23:09
This unifies the quantum gate definitions into a single Op and
eliminates the overhead of supporting parallel dialects for the same
operations. See issue NVIDIA#98 for more.

A large portion of these changes involves converting the tests to
support a new syntax in which types are mandatory on quantum operations
and more uniformly follow the MLIR default functional notation.

Modify some specific points in the existing code to use the new op
builder routines. Also begin the work of phasing out the Common directory,
which will become obsolete after this refactoring is complete.
Drop the "q" prefix from the control type. In forthcoming work, the
extra "q" prefixes on types in the dialect will be removed.
Copy link
Collaborator

@amccaskey amccaskey left a comment

Choose a reason for hiding this comment

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

LGTM

@schweitzpgi schweitzpgi merged commit 498d437 into NVIDIA:main May 8, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2023
@schweitzpgi schweitzpgi deleted the ch-unified.ops branch May 8, 2023 18:40
@bettinaheim bettinaheim added the release notes Changes need to be captured in the release notes label Jun 28, 2023
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.

3 participants