Skip to content

Commit

Permalink
Apply docfix in the correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
amirebrahimi committed Jun 26, 2024
1 parent 249afa1 commit 043b18b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions doc/python_api_reference_vDev.md
Original file line number Diff line number Diff line change
Expand Up @@ -10077,9 +10077,8 @@ def __call__(
) -> stim.PauliString:
"""Returns the conjugation of a PauliString by the Tableau's Clifford operation.
The conjugation of P by C is equal to C**-1 * P * C (circuit order where C**-1
is applied first). If P is a Pauli product before C, then P2 = C**-1 * P * C is
an equivalent Pauli product after C.
The conjugation of P by C is equal to C**-1 * P * C. If P is a Pauli product
before C, then P2 = C**-1 * P * C is an equivalent Pauli product after C.
Args:
pauli_string: The pauli string to conjugate.
Expand Down
5 changes: 3 additions & 2 deletions src/stim/stabilizers/tableau.pybind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1876,8 +1876,9 @@ void stim_pybind::pybind_tableau_methods(pybind11::module &m, pybind11::class_<T
clean_doc_string(R"DOC(
Returns the conjugation of a PauliString by the Tableau's Clifford operation.
The conjugation of P by C is equal to C**-1 * P * C. If P is a Pauli product
before C, then P2 = C**-1 * P * C is an equivalent Pauli product after C.
The conjugation of P by C is equal to C**-1 * P * C (circuit order where C**-1
is applied first). If P is a Pauli product before C, then P2 = C**-1 * P * C is
an equivalent Pauli product after C.
Args:
pauli_string: The pauli string to conjugate.
Expand Down

0 comments on commit 043b18b

Please sign in to comment.