-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move mcx synthesis methods with ancillas to the synthesis library (#1…
…2904) * move mcx synthesis method with dirty ancillas to the synthesis library * minor lint updates * move mcx synthesis method with several clean ancillas to the synthesis library * move handling up to 3 controls to the synthesis code * move handling up to 3 controls to the synthesis code * handle cyclic imports * add mcx synthesis method with one clean ancilla to the synthesis library * update input to synth_mcx functions * refactor test for mcx method modes * update circuit names. add references * reduce num_controls in tests * revert circuit names to old ones * refactor functions names * add docstrings * update year * add synthesis functions to API docs * add release notes * fix docs * update docs and release notes following review * update imports following review
- Loading branch information
1 parent
6aa933c
commit c7e7016
Showing
6 changed files
with
330 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2024. | ||
# | ||
# This code is licensed under the Apache License, Version 2.0. You may | ||
# obtain a copy of this license in the LICENSE.txt file in the root directory | ||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Any modifications or derivative works of this code must retain this | ||
# copyright notice, and modified files need to carry a notice indicating | ||
# that they have been altered from the originals. | ||
|
||
"""Module containing multi-controlled circuits synthesis""" | ||
|
||
from .mcx_with_ancillas_synth import ( | ||
synth_mcx_n_dirty_i15, | ||
synth_mcx_n_clean_m15, | ||
synth_mcx_1_clean_b95, | ||
) |
Oops, something went wrong.