Skip to content
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

Adding MCX synthesis plugins #12961

Merged
merged 42 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
d3e882c
moving high-level-synthesis plugins to a separate file
alexanderivrii Aug 12, 2024
a64597a
Adding the remaining MCX synthesis functions and exposting all of the…
alexanderivrii Aug 12, 2024
e548257
adding entry points for MCX plugins
alexanderivrii Aug 12, 2024
dccd30f
adding documentation section for MCX plugins
alexanderivrii Aug 13, 2024
d5458ce
renaming file
alexanderivrii Aug 13, 2024
014b8a2
Adding pending deprecation warnings
alexanderivrii Aug 13, 2024
cab6cb5
placeholder for MCX plugin tests
alexanderivrii Aug 13, 2024
a79e2f9
adding flag pending=True to deprecate
alexanderivrii Aug 13, 2024
364cf75
changing checks from isinstance to name-based: a CCCX gate is called …
alexanderivrii Aug 13, 2024
bc4238c
merging main
alexanderivrii Aug 14, 2024
fa94424
futher exposing C3X and C4X synthesis
alexanderivrii Aug 14, 2024
306361f
updating MCX synthesis functions to avoid returning C3X and C4X gates
alexanderivrii Aug 15, 2024
e54706b
fix compose to append
alexanderivrii Aug 15, 2024
c3c1927
renaming synthesized circuits for c3x and for c4x back to 'mcx' to av…
alexanderivrii Aug 15, 2024
b21f3ea
test qasm fixes
alexanderivrii Aug 15, 2024
f0f3de9
randomly spotted typo
alexanderivrii Aug 15, 2024
01d76b2
fixing how QuantumCircuit.decompose works in the presence of gates_to…
alexanderivrii Aug 15, 2024
d739065
updating MCX plugins to check isinstance
alexanderivrii Aug 15, 2024
d856c88
fixing test
alexanderivrii Aug 15, 2024
08051f3
pylint fixes
alexanderivrii Aug 15, 2024
d73d941
properly fixing test
alexanderivrii Aug 15, 2024
73d4502
additional tests
alexanderivrii Aug 16, 2024
4135344
adding new synthesis functions to synthesis docs
alexanderivrii Aug 16, 2024
efb55c2
release notes
alexanderivrii Aug 16, 2024
b6702c5
docstrings improvements followin review
alexanderivrii Aug 16, 2024
247d414
Adding refernce to Vale et al paper for the MCXPhase gate implementation
alexanderivrii Aug 18, 2024
458c10d
fixes to deprecation warnings and adding deprecation for get_num_anci…
alexanderivrii Aug 18, 2024
055e365
docstring fixes
alexanderivrii Aug 18, 2024
6bb46d5
renaming mcphase to v24
alexanderivrii Aug 20, 2024
e5cd0b8
removing unncessary checks
alexanderivrii Aug 20, 2024
d6226b9
addressing the rest of review comments
alexanderivrii Aug 20, 2024
9278d26
and of course updating qasm checking after we've slightly changed the…
alexanderivrii Aug 20, 2024
3879cdd
yet another renaming
alexanderivrii Aug 20, 2024
1c05061
Update qiskit/circuit/library/standard_gates/x.py
alexanderivrii Aug 20, 2024
40228f0
Update qiskit/circuit/library/standard_gates/x.py
alexanderivrii Aug 20, 2024
0649bc9
Update releasenotes/notes/add-mcx-plugins-85e5b248692a36db.yaml
alexanderivrii Aug 20, 2024
5a8ba64
release notes
alexanderivrii Aug 20, 2024
5422990
formatting
alexanderivrii Aug 20, 2024
e0765ec
fixing docs
alexanderivrii Aug 21, 2024
5f14493
Merge branch 'main' into mcx-plugins
alexanderivrii Aug 21, 2024
82586cb
removing references from the first sentence of plugin descriptions
alexanderivrii Aug 22, 2024
c0746ec
Merge branch 'mcx-plugins' of github.com:alexanderivrii/qiskit-terra …
alexanderivrii Aug 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docstring fixes
  • Loading branch information
alexanderivrii committed Aug 18, 2024
commit 055e3657e79514e8866ca948c8013b534318cbdf
2 changes: 1 addition & 1 deletion qiskit/synthesis/multi_controlled/mcx_synthesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def synth_mcx_mcphase(num_ctrl_qubits: int) -> QuantumCircuit:

References:
1. Vale et. al., *Circuit Decomposition of Multicontrolled Special Unitary
Single-Qubit Gates*, IEEE TCAD 43(3) (2024),
Single-Qubit Gates*, IEEE TCAD 43(3) (2024),
`arXiv:2302.06377 <https://arxiv.org/abs/2302.06377>`_
"""
if num_ctrl_qubits == 3:
Expand Down
2 changes: 1 addition & 1 deletion qiskit/transpiler/passes/synthesis/hls_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ class MCXSynthesisMCPhase(HighLevelSynthesisPlugin):

References:
1. Vale et. al., *Circuit Decomposition of Multicontrolled Special Unitary
Single-Qubit Gates*, IEEE TCAD 43(3) (2024),
Single-Qubit Gates*, IEEE TCAD 43(3) (2024),
`arXiv:2302.06377 <https://arxiv.org/abs/2302.06377>`_
"""

Expand Down
Loading