We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2674f6c commit c35ccffCopy full SHA for c35ccff
cirq-core/cirq/ops/common_gates.py
@@ -72,10 +72,10 @@ class XPowGate(eigen_gate.EigenGate):
72
73
The unitary matrix of `cirq.XPowGate(exponent=t, global_shift=s)` is:
74
$$
75
- e^{i \pi s t}
+ e^{i \pi t (s + 1/2)}
76
\begin{bmatrix}
77
- e^{i \pi t /2} \cos(\pi t) & -i e^{i \pi t /2} \sin(\pi t) \\
78
- -i e^{i \pi t /2} \sin(\pi t) & e^{i \pi t /2} \cos(\pi t)
+ \cos(\pi t /2) & -i \sin(\pi t /2) \\
+ -i \sin(\pi t /2) & \cos(\pi t /2)
79
\end{bmatrix}
80
81
0 commit comments