-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Bug in cu3 implementation #86
Comments
Hi, But, essentially the state Please refer to: |
@yoonbo and @rraymondhp this is correct. It is not a bug it is just a global phase that quantum computers can't be see. I suggest if you look at |<psi_expected|psi_made>|^2 and if this is one then the states are the same. |
Thanks. I also wrote about the global phase equivalence of |
* moved Aer tutorial images to /docs/images/figures/ and all references to these images * Have Makefile point to correct Aqua and Chemistry directories Fixes Qiskit#88 * Revert "Have Makefile point to correct Aqua and Chemistry directories" This reverts commit fee13ba87e1888c88a997430ee0a57969a9985ac. * Create community_qiskit.rst * Revert "Create community_qiskit.rst" This reverts commit 5fd2cafd6d2e570488e9985f26d33a0f5088c581. * update global install instructions Motivation: to synthesize the mostly duplicate install instructions currently under each Qiskit element's doc section, which can then be removed. Direct to CONTRIBUTING files in each element's repo for instructions to build from source, since this serves a niche persona and is lengthy. Added images for steps that involve pointing and clicking through the web. Rewrote material for additional clarity. * removed Troubleshooting section fixes Qiskit#97 * simplify the ibm q provider documentation Fixes Qiskit#86
cu3(pi, 0, pi) gate should work as controlled X gate, but it is not.
Expected Behavior
cx: (1, 0) ---> (0, 1)
cu3(pi, 0, pi) : (1, 0) ---> (0, 1)
Current Behavior
cx: (1, 0) ---> (0, 1)
cu3(pi, 0, pi) : (1, 0) ---> (0, -i)
Steps to Reproduce (for bugs)
Above code prints out
Your Environment
The text was updated successfully, but these errors were encountered: