File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
qiskit/circuit/library/standard_gates Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,17 @@ class RZGate(Gate):
3737 .. code-block:: text
3838
3939 ┌───────┐
40- q_0: ┤ Rz(λ ) ├
40+ q_0: ┤ Rz(φ ) ├
4141 └───────┘
4242
4343 **Matrix Representation:**
4444
4545 .. math::
4646
47- RZ(\lambda ) = \exp\left(-i\frac{\lambda }{2}Z\right) =
47+ RZ(\phi ) = \exp\left(-i\frac{\phi }{2}Z\right) =
4848 \begin{pmatrix}
49- e^{-i\frac{\lambda }{2}} & 0 \\
50- 0 & e^{i\frac{\lambda }{2}}
49+ e^{-i\frac{\phi }{2}} & 0 \\
50+ 0 & e^{i\frac{\phi }{2}}
5151 \end{pmatrix}
5252
5353 .. seealso::
@@ -57,7 +57,7 @@ class RZGate(Gate):
5757
5858 .. math::
5959
60- U1(\lambda ) = e^{i{\lambda }/2}RZ(\lambda )
60+ U1(\theta=\phi ) = e^{i{\phi }/2}RZ(\phi )
6161
6262 Reference for virtual Z gate implementation:
6363 `1612.00858 <https://arxiv.org/abs/1612.00858>`_
@@ -181,10 +181,10 @@ class CRZGate(ControlledGate):
181181 .. math::
182182
183183 CRZ(\theta)\ q_0, q_1 =
184- I \otimes |0\rangle\langle 0| + RZ(\theta) \otimes |1\rangle\langle 1| =
184+ I \otimes |0\rangle\langle 0| + RZ(\phi=\ theta) \otimes |1\rangle\langle 1| =
185185 \begin{pmatrix}
186186 1 & 0 & 0 & 0 \\
187- 0 & e^{-i\frac{\lambda }{2}} & 0 & 0 \\
187+ 0 & e^{-i\frac{\theta }{2}} & 0 & 0 \\
188188 0 & 0 & 1 & 0 \\
189189 0 & 0 & 0 & e^{i\frac{\theta}{2}}
190190 \end{pmatrix}
You can’t perform that action at this time.
0 commit comments