File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -177,16 +177,16 @@ def __pow__(self, power):
177
177
178
178
@cirq .value .value_equality
179
179
class MSGate (cirq .Gate ):
180
- r"""The Mølmer– Sørensen (MS) gate is a two qubit gate native to trapped ions.
180
+ r"""The Mølmer- Sørensen (MS) gate is a two qubit gate native to trapped ions.
181
181
182
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\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}
186
+ \cos(\pi \theta) & 0 & 0 & -ie^{-i2\pi(\phi_0+\phi_1)}\sin(\pi \theta) \\
187
+ 0 & \cos(\pi \theta) & -ie^{-i2\pi(\phi_0-\phi_1)}\sin(\pi \theta) & 0 \\
188
+ 0 & -ie^{i2\pi(\phi_0-\phi_1)}\sin(\pi \theta) & \cos(\pi \theta) & 0 \\
189
+ -ie^{i2\pi(\phi_0+\phi_1)}\sin(\pi \theta) & 0 & 0 & \cos(\pi \theta)
190
190
\end{bmatrix}
191
191
$$
192
192
You can’t perform that action at this time.
0 commit comments