Skip to content

Commit

Permalink
Merge pull request #1571 from qiboteam/doc
Browse files Browse the repository at this point in the history
Fix docstring of `gates.PRX`
  • Loading branch information
renatomello authored Feb 3, 2025
2 parents 0fb5d86 + 9b3c276 commit 45dee85
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/qibo/gates/gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,11 +694,11 @@ class PRX(ParametrizedGate):
Corresponds to the following unitary matrix
.. math::
\\begin{pmatrix}
\\cos{(\\theta / 2)} & -i e^{-i \\phi} \\sin{(\\theta / 2)} \\
-i e^{i \\phi} \\sin{(\\theta / 2)} & \\cos{(\\theta / 2)}
\\end{pmatrix}
.. math::
\\begin{pmatrix}
\\cos{(\\theta / 2)} & -i e^{-i \\phi} \\sin{(\\theta / 2)} \\\\
-i e^{i \\phi} \\sin{(\\theta / 2)} & \\cos{(\\theta / 2)}
\\end{pmatrix}
Args:
q (int): the qubit id number.
Expand Down

0 comments on commit 45dee85

Please sign in to comment.