Commit 2b56910 1 parent acc9cec commit 2b56910 Copy full SHA for 2b56910
File tree 1 file changed +7
-7
lines changed
qiskit/circuit/library/standard_gates
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,17 @@ class RZGate(Gate):
37
37
.. code-block:: text
38
38
39
39
┌───────┐
40
- q_0: ┤ Rz(λ ) ├
40
+ q_0: ┤ Rz(φ ) ├
41
41
└───────┘
42
42
43
43
**Matrix Representation:**
44
44
45
45
.. math::
46
46
47
- RZ(\lambda ) = \exp\left(-i\frac{\lambda }{2}Z\right) =
47
+ RZ(\phi ) = \exp\left(-i\frac{\phi }{2}Z\right) =
48
48
\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}}
51
51
\end{pmatrix}
52
52
53
53
.. seealso::
@@ -57,7 +57,7 @@ class RZGate(Gate):
57
57
58
58
.. math::
59
59
60
- U1(\lambda ) = e^{i{\lambda }/2}RZ(\lambda )
60
+ U1(\theta=\phi ) = e^{i{\phi }/2}RZ(\phi )
61
61
62
62
Reference for virtual Z gate implementation:
63
63
`1612.00858 <https://arxiv.org/abs/1612.00858>`_
@@ -186,10 +186,10 @@ class CRZGate(ControlledGate):
186
186
.. math::
187
187
188
188
CRZ(\theta)\ q_0, q_1 =
189
- I \otimes |0\rangle\langle 0| + RZ(\theta) \otimes |1\rangle\langle 1| =
189
+ I \otimes |0\rangle\langle 0| + RZ(\phi=\ theta) \otimes |1\rangle\langle 1| =
190
190
\begin{pmatrix}
191
191
1 & 0 & 0 & 0 \\
192
- 0 & e^{-i\frac{\lambda }{2}} & 0 & 0 \\
192
+ 0 & e^{-i\frac{\theta }{2}} & 0 & 0 \\
193
193
0 & 0 & 1 & 0 \\
194
194
0 & 0 & 0 & e^{i\frac{\theta}{2}}
195
195
\end{pmatrix}
You can’t perform that action at this time.
0 commit comments