diff --git a/qiskit/circuit/library/standard_gates/x.py b/qiskit/circuit/library/standard_gates/x.py index 9a78a3fcedbf..65205ba145cc 100644 --- a/qiskit/circuit/library/standard_gates/x.py +++ b/qiskit/circuit/library/standard_gates/x.py @@ -1426,13 +1426,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__(