mirror of https://github.com/Qiskit/qiskit.git
22 lines
702 B
YAML
22 lines
702 B
YAML
---
|
|
features_synthesis:
|
|
- |
|
|
Added new decompositions for :class:`.MCXGate` utilizing clean ancillae, improving circuit
|
|
depth and efficiency:
|
|
|
|
* :func:`.synth_mcx_1_clean_kg24`, using 1 additional clean ancilla qubit
|
|
* :func:`.synth_mcx_1_dirty_kg24`, using 1 additional dirty ancilla qubit
|
|
* :func:`.synth_mcx_2_clean_kg24`, using 2 additional clean ancillary qubits
|
|
* :func:`.synth_mcx_2_dirty_kg24`, using 2 additional dirty ancillary qubits
|
|
|
|
Example usage:
|
|
|
|
.. code-block:: python
|
|
|
|
from qiskit.synthesis.multi_controlled import synth_mcx_1_clean_kg24
|
|
|
|
n_ctrls = 10
|
|
qc = synth_mcx_1_clean_kg24(n_ctrls)
|
|
qc.draw()
|
|
|