Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Change base gate U3 to U #1351

Merged
merged 5 commits into from
Oct 15, 2020
Merged

Conversation

Cryoris
Copy link
Contributor

@Cryoris Cryoris commented Oct 14, 2020

Summary

Merge after Qiskit/qiskit#5083 to fix Aqua's old basis gate set.

Replace basis gate set u1 u2 u3 cx by p u cx.

Details and comments

As a follow-up to the deprecation of U1/U2/U3 and U as the base-gate that
cannot be decomposed further (instead of previously U3), change the base
gates from u1 u2 u3 to p u. This resolves errors where we assumed one
could always unroll to u3 cx, which now is not possible anymore as u
does not have a definition. Instead it is always possible to unroll to u cx.

@Cryoris Cryoris changed the title [Blocked] Change base gate U3 to U Change base gate U3 to U Oct 15, 2020
@Cryoris Cryoris added this to the 0.8 milestone Oct 15, 2020
@woodsp-ibm woodsp-ibm added the Changelog: Bugfix Include in the Fixed section of the changelog label Oct 15, 2020
@Cryoris Cryoris merged commit 0754861 into qiskit-community:master Oct 15, 2020
@Cryoris Cryoris deleted the update-base-gates branch October 15, 2020 12:58
mtreinish pushed a commit to mtreinish/qiskit-core that referenced this pull request Nov 20, 2020
* change base gate set from u3 to u

* rm reno -- no user facing change

* fix comment
manoelmarques pushed a commit to manoelmarques/qiskit-terra that referenced this pull request Nov 23, 2020
* change base gate set from u3 to u

* rm reno -- no user facing change

* fix comment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog: Bugfix Include in the Fixed section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants