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

Hoist GateFuser to quantum/gate/utils and simplify API #521

Merged
merged 1 commit into from
Mar 24, 2022

Conversation

ausbin
Copy link
Contributor

@ausbin ausbin commented Mar 7, 2022

This way, multiple plugins can use GateFuser without needing to link with each other or use the service registry.

My attempt at fixing #518. It feels like GateFuser could fit well in quantum/gate/utils, since you need to change it if you add a new XACC IR instruction, so I moved it up there.

Testing

Did a clean build and ran ctest, which passed. I also did a clean build of qcor and ran a qcor benchmark for the ion trap backend, and it worked.

I couldn't reproduce the original behavior, but I hope fixes the root problem of the iontrap plugin linking with another plugin (which I somehow didn't realize was bad)

This way, multiple plugins can use GateFuser without needing to link
with each other or use the service registry.
@1tnguyen 1tnguyen merged commit 97e4887 into eclipse:master Mar 24, 2022
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.

2 participants