qiskit/releasenotes/notes/2.0/fix-adder-gates-39cf3d5f683...

19 lines
913 B
YAML

---
fixes:
- |
Added default definitions for :class:`.FullAdderGate`, :class:`.HalfAdderGate`,
:class:`.ModularAdderGate` and :class:`.MultiplierGate` gates, allowing to
contruct :class:`.Operator`\s from quantum circuits containing these gates.
- |
Fixed the number of clean ancilla qubits required by
:class:`.FullAdderSynthesisV95`, :class:`.HalfAdderSynthesisV95`, and
:class:`.ModularAdderSynthesisV95` plugins.
- |
Added missing :class:`.FullAdderSynthesisDefault` plugin that chooses the best
decomposition for :class:`.FullAdderGate` based on the number of clean ancilla qubits
available.
- |
Fixed :class:`.HalfAdderSynthesisDefault` and :class:`.ModularAdderSynthesisDefault`
plugins, for :class:`.HalfAdderGate` and :class:`.ModularAdderGate` respectively,
to choose the best decomposition based on the number of clean ancilla qubits available.