File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -179,14 +179,14 @@ def __pow__(self, power):
179
179
class MSGate (cirq .Gate ):
180
180
r"""The Mølmer–Sørensen (MS) gate is a two qubit gate native to trapped ions.
181
181
182
- The unitary matrix of this gate for parameters $\phi_0$, $\phi_1$ and $\theta is
182
+ The unitary matrix of this gate for parameters $\phi_0$, $\phi_1$ and $\theta$ is
183
183
184
184
$$
185
185
\begin{bmatrix}
186
- cos{\theta/ 2} & 0 & 0 & -i*e ^{-i*2* \pi(\phi_0+\phi_1)}* sin{\theta/ 2} \\
187
- 0 & cos{\theta/ 2} & -i*e ^{-i*2* \pi(\phi_0-\phi_1)}* sin{\theta/ 2} & 0 \\
188
- 0 & -i*e^{i*2* \pi(\phi_0-\phi_1)}* sin(\ theta/2) & cos{\theta/ 2} & 0 \\
189
- -i*e^{i*2* \pi(\phi_0+\phi_1)}* sin{\theta/ 2} & 0 & 0 & cos{\theta/ 2}
186
+ \ cos\frac {\theta}{ 2} & 0 & 0 & -ie ^{-i2 \pi(\phi_0+\phi_1)}\ sin\frac {\theta}{ 2} \\
187
+ 0 & \ cos\frac {\theta}{ 2} & -ie ^{-i2 \pi(\phi_0-\phi_1)}\ sin\frac {\theta}{ 2} & 0 \\
188
+ 0 & -ie^{i2 \pi(\phi_0-\phi_1)}\ sin\frac{\ theta}{2} & \ cos\frac {\theta}{ 2} & 0 \\
189
+ -ie^{i2 \pi(\phi_0+\phi_1)}\ sin\frac {\theta}{ 2} & 0 & 0 & \ cos\frac {\theta}{ 2}
190
190
\end{bmatrix}
191
191
$$
192
192
You can’t perform that action at this time.
0 commit comments