Skip to content

More efficient C3X implementation#5668

Merged
mergify[bot] merged 6 commits into
Qiskit:masterfrom
Cryoris:update-c3x
Jan 21, 2021
Merged

More efficient C3X implementation#5668
mergify[bot] merged 6 commits into
Qiskit:masterfrom
Cryoris:update-c3x

Conversation

@Cryoris
Copy link
Copy Markdown
Collaborator

@Cryoris Cryoris commented Jan 21, 2021

Summary

Use a more efficient decomposition for C3X that only uses 14 CX, proposed by @dmitrimaslov.

Details and comments

Also deprecates the angle argument and adds an explicit C3SX gate for the three times controlled SX gate, as already started in #4378.

@Cryoris Cryoris requested a review from a team as a code owner January 21, 2021 14:57
@ajavadia ajavadia added the stable backport potential Make Mergify open a backport PR to the most recent stable branch on merge. label Jan 21, 2021
@mergify mergify Bot merged commit b9c943b into Qiskit:master Jan 21, 2021
mergify Bot pushed a commit that referenced this pull request Jan 21, 2021
* update c3x decomp

* fix call with "angle" argument

* rename to C3SX and fix tests

* fix typo

* add reno

(cherry picked from commit b9c943b)

# Conflicts:
#	qiskit/circuit/library/standard_gates/x.py
mergify Bot added a commit that referenced this pull request Jan 25, 2021
* More efficient C3X implementation (#5668)

* update c3x decomp

* fix call with "angle" argument

* rename to C3SX and fix tests

* fix typo

* add reno

(cherry picked from commit b9c943b)

# Conflicts:
#	qiskit/circuit/library/standard_gates/x.py

* fix merge conflicts

* fix test

Co-authored-by: Julien Gacon <gaconju@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
@kdk kdk added the Changelog: Added Add an "Added" entry in the GitHub Release changelog. label Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: Added Add an "Added" entry in the GitHub Release changelog. stable backport potential Make Mergify open a backport PR to the most recent stable branch on merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants