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 May 17, 2021

This moves the implementation of the callables used by the Classical Control rewrite step into a new namespace, Microsoft.Quantum.ClassicalControl. The old callables in the Microsoft.Quantum.Simulation.QuantumProcessor.Extensions are marked as depricated and will be removed in a later PR. Follow up will need to be done across the remaining repos where explicit references to this namespace exist (such as in the compiler rewrite step itself) to move to the new namespace.

This moves the implementation of the callables used by the Classical Control rewrite step into a new namespace, Microsoft.Quantum.ClassicalControl. The old callables in the Microsoft.Quantum.Simulation.QuantumProcessor.Extensions are marked as depricated and will be removed in a later PR. Follow up will need to be done across the remaining repos where explicit references to this namespace exist (such as in the compiler rewrite step itself) to move to the new namespace.
Copy link
Contributor

@ScottCarda-MS ScottCarda-MS 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! There should be a related PR made on the compiler repo that updates to use the new namespace as well. One place that needs updating that I can think of is here: https://github.com/microsoft/qsharp-compiler/blob/main/src/QsCompiler/Core/Dependencies.fs#L27

In the mean time, the compiler would just end up using the depreciated definitions defined in this PR.

@swernli swernli merged commit 2be1693 into main May 17, 2021
swernli added a commit to microsoft/qsharp-compiler that referenced this pull request May 17, 2021
This change takes advantage of the update done in microsoft/qsharp-runtime#692 to use the new namespaces for Classical Control operations.
swernli added a commit to microsoft/qsharp-compiler that referenced this pull request May 17, 2021
* Updating ClassicalControl rewrite to use new namespace

This change takes advantage of the update done in microsoft/qsharp-runtime#692 to use the new namespaces for Classical Control operations.

* Update QIR test for new namespace
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.

3 participants