Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@swernli
Copy link
Collaborator

@swernli swernli commented Feb 24, 2021

This updates the structure of the classical control ApplyIf* and ApplyControlled* callables in terms of each other to reduce 8 intrinsics to 2 intrinsics. Also updates the qir-gen.csproj to use the local QSharp.Core project instead of the one from the QDK for easier testing.

This updates the structure of the classical control ApplyIf* and ApplyControlled* callables in terms of each other to reduce 8 intrinsics to 2 intrinsics. Also updates the qir-gen.csproj to use the local QSharp.Core project instead of the one from the QDK for easier testing.
@IrinaYatsenko
Copy link
Contributor

How much of a race is this PR with #527? Shall I wait with merging 527 and remove the adj/ctl bridge APIs from it?

@swernli
Copy link
Collaborator Author

swernli commented Feb 24, 2021

That's up to you, @irinayat-MS ; I think we know what updates would be need to made to the conditional support in #527 if it merges first. If you are ok waiting, then that will be two PRs instead of 3, but either way I don't think it's a problem.

@IrinaYatsenko
Copy link
Contributor

OK. I've set 527 to merge automatically. If it merges successfully I'll follow up after yours to validate that we can remove the bridge for adj/ctl APIs. If it fails for whatever reason and your PR merges first, I'll align it with your refactor in a single change.

Copy link
Contributor

@kuzminrobin kuzminrobin left a comment

Choose a reason for hiding this comment

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

Looks Good!

@swernli swernli merged commit d9d0808 into main Feb 24, 2021
@swernli swernli deleted the swernli/classicalcontrol-refactor branch February 24, 2021 21:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants