Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
IsmaelCesar committed Jun 27, 2024
1 parent e61eda3 commit 17da83e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions qiskit/circuit/library/standard_gates/x.py
Original file line number Diff line number Diff line change
Expand Up @@ -1444,13 +1444,14 @@ def __init__(
dirty_ancillas: when set to ``True``, the method applies an optimized multicontrolled-X gate
up to a relative phase using dirty ancillary qubits with the properties of lemmas 7 and 8
from arXiv:1501.06911, with at most 8*k - 6 CNOT gates.
For k within the range {1, ..., ceil(n/2)}. And for n representing the total number of qubits.
relative_phase: when set to ``True``, the method applies the optimized multicontrolled-X gate up to a
relative phase, in a way that, by lemma 7 of arXiv:1501.06911, the relative
For k within the range {1, ..., ceil(n/2)}. And for n representing the total number of
qubits.
relative_phase: when set to ``True``, the method applies the optimized multicontrolled-X gate
up to a relative phase, in a way that, by lemma 7 of arXiv:1501.06911, the relative
phases of the ``action part`` cancel out with the phases of the ``reset part``.
action_only: when set to ``True``, the method applies only the action part of lemma 8 from arXiv:1501.06911.
action_only: when set to ``True``, the method applies only the action part of lemma 8
from arXiv:1501.06911.
"""
super().__init__(
Expand Down

0 comments on commit 17da83e

Please sign in to comment.