Skip to content

Commit

Permalink
Small fixes in docstrings (#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosenal authored Feb 6, 2025
1 parent b218ee7 commit 814f265
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions mitiq/pt/pt.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ def generate_pauli_twirl_variants(
) -> List[QPROGRAM]:
r"""Return the Pauli twirled versions of the input circuit.
Only the $\mathrm{CZ}$ and $\mathrm{CNOT}$ gates in an
input circuit are Pauli twirled as specified in
:cite:`Saki_2023_arxiv`.
Only the CNOT and CZ gates in an input circuit are Pauli twirled
as specified in :cite:`Saki_2023_arxiv`.
Args:
circuit: The input circuit on which twirling is applied.
Expand Down
2 changes: 1 addition & 1 deletion mitiq/shadows/shadows.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def pauli_twirling_calibrate(
The number of :math:`f_b` is :math:`2^n`, or :math:`\sum_{i=1}^d C_n^i` if
the locality :math:`d` is given.
In the notation of arXiv:2011.09636, this function estimates the
In the notation of :cite:`chen2021robust`, this function estimates the
coefficient :math:`f_b`, which are expansion coefficients of the twirled
channel :math:`\mathcal{M}=\sum_b f_b\Pi_b`.
Expand Down

0 comments on commit 814f265

Please sign in to comment.