Skip to content

Commit

Permalink
Apply code suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rebecca Dimock <[email protected]>
Co-authored-by: Julien Gacon <[email protected]>
  • Loading branch information
raynelfss committed Nov 25, 2024
1 parent 3f968b3 commit 58191bb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ features_transpiler:
* :class:`.MCXSynthesisDefault`, for choosing the most efficient synthesis
method based on the number of clean and dirty ancilla qubits available.
As an example, consider how the transpilation of the following circuit::
As an example, consider the transpilation of the following circuit::
from qiskit.circuit import QuantumCircuit
from qiskit.compiler import transpile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ features_circuits:
features_synthesis:
- |
Added :func:`.adder_qft_d00`, :func:`.adder_ripple_c04`, and :func:`.adder_ripple_v95`
to synthesize the adder gates, :class:`.ModularAdderGate`, :class:`.AdderGate`, and
to synthesize the adder gates, :class:`.ModularAdderGate`, :class:`.HalfAdderGate`, and
:class:`.FullAdderGate`.
- |
Added :func:`.multiplier_cumulative_h18` and :func:`.multiplier_qft_r17`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ fixes:
op = SparsePauliOp("")
op.apply_layout(None, 3)
this would have previously raised an error. Now this will correctly return an operator of the form:
Now, the above code correctly returns an operator of the following form::
``SparsePauliOp(['III'], coeffs=[1.+0.j])``
2 changes: 1 addition & 1 deletion releasenotes/notes/1.3/mcmt-gate-a201d516f05c7d56.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ features_circuits:
circuit allows the compiler to select the best available implementation
according to the number and the state of auxiliary qubits present in the circuit.
Specific implementation can be chosen by specifying the high-level synthesis plugin::
The desired implementation can be chosen by specifying the high-level synthesis plugin::
from qiskit import QuantumCircuit, transpile
from qiskit.circuit.library import MCMTGate, HGate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ features_transpiler:
manager prior to the pass. Previously,
:class:`.Collect2qBlocks` or :class:`.Collect1qRuns` had to be run before
:class:`.ConsolidateBlocks` for :class:`.ConsolidateBlocks` to do
anything. By doing the collection internally the overhead of the pass
anything. By doing the collection internally, the overhead from the pass
is reduced. If :class:`.Collect2qBlocks` or :class:`.Collect1qRuns` are
run prior to :class:`.ConsolidateBlocks` the collected runs by those
run prior to :class:`.ConsolidateBlocks,` the collected runs by those
passes from the property set are used and there is no change in behavior
for the pass.

0 comments on commit 58191bb

Please sign in to comment.