Skip to content

Commit

Permalink
Fixed Incoherent notation for the RZX Gate api doc (#12754)
Browse files Browse the repository at this point in the history
* Fixed Incoherent notation for the RZX Gate api doc

* Delete reno

---------

Co-authored-by: Julien Gacon <[email protected]>
  • Loading branch information
Ameya28Bhave and Cryoris authored Oct 1, 2024
1 parent bd962b3 commit 54139be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qiskit/circuit/library/standard_gates/rzx.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,19 @@ class RZXGate(Gate):
.. math::
R_{ZX}(\theta = 0) = I
R_{ZX}(\theta = 0)\ q_0, q_1 = I
.. math::
R_{ZX}(\theta = 2\pi) = -I
R_{ZX}(\theta = 2\pi)\ q_0, q_1 = -I
.. math::
R_{ZX}(\theta = \pi) = -i X \otimes Z
R_{ZX}(\theta = \pi)\ q_0, q_1 = -i X \otimes Z
.. math::
RZX(\theta = \frac{\pi}{2}) = \frac{1}{\sqrt{2}}
R_{ZX}(\theta = \frac{\pi}{2})\ q_0, q_1 = \frac{1}{\sqrt{2}}
\begin{pmatrix}
1 & 0 & -i & 0 \\
0 & 1 & 0 & i \\
Expand Down

0 comments on commit 54139be

Please sign in to comment.