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 Sep 30, 2021

This simplifies the use of controlled Pauli gates to allow for programs that make use of singly controlled gates (or CCNOT) to have reasonable decompositoins without incurring array creation or using the controlled specialization. This leads to better compatibility with the draft spec for the QIR base profile.

This simplifies the use of controlled Pauli gates to allow for programs that make use of singly controlled gates (or CCNOT) to have reasonable decompositoins without incurring array creation or using the controlled specialization. This leads to better compatibility with the draft spec for the QIR base profile.
@swernli swernli changed the title Swernli/cz-target-package Add CX, CY and CZ to Type1, Type3 target packages. Sep 30, 2021
@swernli
Copy link
Collaborator Author

swernli commented Sep 30, 2021

Note that this is going into a feature branch for now as part of a larger effort to apply simplifications to the target packages and ease their use across different QIR profiles. Expanded tests to cover any additional APIs will be added before merging the feature branch to main.

This is related to microsoft/QuantumLibraries#477, but does not necessarily remove the need for considering that proposal.

Copy link
Contributor

@cgranade cgranade left a comment

Choose a reason for hiding this comment

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

LGTM, no substantiative comments.

@swernli swernli merged commit 98089fd into feature/simplify-target-packages Sep 30, 2021
cesarzc added a commit that referenced this pull request Nov 5, 2021
* Use explicit static VC runtime on Windows (#851)

* Use explicit static VC runtime on Windows

This change updates the QIR runtime to use an explicit path to the Spectre-mitigated, static VC runtime on Windows. Using a full path here overrides the selection logic and ensures the chosen libcmt[d] and vcruntime[d] are loaded.

* Add "-sort" flag

* Include version number in find pattern

* Include libcpmt library as well

* Use spectre component name

* Append AppId to UserAgent when calling Azure Quantum APIs (#858)

* Add `CX`, `CY` and `CZ` to Type1, Type3 target packages. (#842) (#861)

* Moving QIR runtime build config into CMakeLists. (#863)

* Moving QIR runtime build config into qir_cmake_include  CMakeLists.

Co-authored-by: Stefan J. Wernli <[email protected]>
Co-authored-by: XField <[email protected]>
Co-authored-by: Ian Davis <[email protected]>
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