Skip to content

Commit 091228c

Browse files
authored
Fixed indentation of docstrings. (Qiskit#13944)
* Fixed indetation of docstrings. * resolved the comments
1 parent 96ebf2a commit 091228c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

qiskit/circuit/library/arithmetic/piecewise_polynomial_pauli_rotations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ def __init__(
101101
breakpoints: The breakpoints to define the piecewise-linear function.
102102
Defaults to ``[0]``.
103103
coeffs: The coefficients of the polynomials for different segments of the
104-
piecewise-linear function. ``coeffs[j][i]`` is the coefficient of the i-th power of x
105-
for the j-th polynomial.
104+
piecewise-linear function. ``coeffs[j][i]`` is the coefficient of the i-th power of x
105+
for the j-th polynomial.
106106
Defaults to linear: ``[[1]]``.
107107
basis: The type of Pauli rotation (``'X'``, ``'Y'``, ``'Z'``).
108108
name: The name of the circuit.

qiskit/circuit/random/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ def random_circuit(
5454
reset (bool): if True, insert middle resets
5555
seed (int): sets random seed (optional)
5656
num_operand_distribution (dict): a distribution of gates that specifies the ratio
57-
of 1-qubit, 2-qubit, 3-qubit, ..., n-qubit gates in the random circuit. Expect a
58-
deviation from the specified ratios that depends on the size of the requested
59-
random circuit. (optional)
57+
of 1-qubit, 2-qubit, 3-qubit, ..., n-qubit gates in the random circuit. Expect a
58+
deviation from the specified ratios that depends on the size of the requested
59+
random circuit. (optional)
6060
6161
Returns:
6262
QuantumCircuit: constructed circuit

qiskit/quantum_info/operators/symplectic/pauli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def evolve(
585585
other (Pauli or Clifford or QuantumCircuit): The Clifford operator to evolve by.
586586
qargs (list): a list of qubits to apply the Clifford to.
587587
frame (string): ``'h'`` for Heisenberg (default) or ``'s'`` for
588-
Schrödinger framework.
588+
Schrödinger framework.
589589
590590
Returns:
591591
Pauli: the Pauli :math:`C^\dagger.P.C` (Heisenberg picture)

0 commit comments

Comments
 (0)