-
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.
Merge branch 'main' into BD-add-alt-text
- Loading branch information
Showing
10 changed files
with
309 additions
and
29 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
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,18 @@ | ||
--- | ||
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. |
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/fix-assign-parameters-ffa284ebde429704.yaml
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,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fix incorrect behavior in :class:`.CircuitData` in which, upon parameter assignment, | ||
we attempted to modify the cached operation inside of a ``PackedInstruction``. Now | ||
we instead discard said cache prompting the ``PackedInstruction`` to build a new Python | ||
operation should it be needed. |
Oops, something went wrong.