qiskit
qiskit copied to clipboard
ABC matrices for multi-controlled unitary
Co-Authored-By: @IsmaelCesar Co-Authored-By: @cab4 Co-Authored-By: @Augusto12 Co-Authored-By: @adjs
Summary
Issue #5872 Changing the multi-controlled gate based on lemma 7.9 and corollary 7.4 from arXiv:quant-ph/9503016v1
Details and comments
Instead of three multi-controlled gates $R_z$, $R_y$ and $R_z$, using the unitary $U$ to be applied to the circuit by decomposing it into three gates $A$, $B$ and $C$ where $ABC = I$. And also using a multi-controlled phase gate to apply the local phase of the unitary: $e^{i\alpha}$
Thank you for opening a new pull request.
Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.
While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.
One or more of the the following people are requested to review this:
- @Qiskit/terra-core
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.
:white_check_mark: IsmaelCesar
:x: ismael
ismael seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.
:x: ismael
:x: IsmaelCesar
ismael seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.