Skip to content

Commit

Permalink
Fixed indentation of docstrings. (#13944)
Browse files Browse the repository at this point in the history
* Fixed indetation of docstrings.

* resolved the comments
  • Loading branch information
Raghav-Bell authored Mar 4, 2025
1 parent 96ebf2a commit 091228c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def __init__(
breakpoints: The breakpoints to define the piecewise-linear function.
Defaults to ``[0]``.
coeffs: The coefficients of the polynomials for different segments of the
piecewise-linear function. ``coeffs[j][i]`` is the coefficient of the i-th power of x
for the j-th polynomial.
piecewise-linear function. ``coeffs[j][i]`` is the coefficient of the i-th power of x
for the j-th polynomial.
Defaults to linear: ``[[1]]``.
basis: The type of Pauli rotation (``'X'``, ``'Y'``, ``'Z'``).
name: The name of the circuit.
Expand Down
6 changes: 3 additions & 3 deletions qiskit/circuit/random/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def random_circuit(
reset (bool): if True, insert middle resets
seed (int): sets random seed (optional)
num_operand_distribution (dict): a distribution of gates that specifies the ratio
of 1-qubit, 2-qubit, 3-qubit, ..., n-qubit gates in the random circuit. Expect a
deviation from the specified ratios that depends on the size of the requested
random circuit. (optional)
of 1-qubit, 2-qubit, 3-qubit, ..., n-qubit gates in the random circuit. Expect a
deviation from the specified ratios that depends on the size of the requested
random circuit. (optional)
Returns:
QuantumCircuit: constructed circuit
Expand Down
2 changes: 1 addition & 1 deletion qiskit/quantum_info/operators/symplectic/pauli.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ def evolve(
other (Pauli or Clifford or QuantumCircuit): The Clifford operator to evolve by.
qargs (list): a list of qubits to apply the Clifford to.
frame (string): ``'h'`` for Heisenberg (default) or ``'s'`` for
Schrödinger framework.
Schrödinger framework.
Returns:
Pauli: the Pauli :math:`C^\dagger.P.C` (Heisenberg picture)
Expand Down

0 comments on commit 091228c

Please sign in to comment.