cirq.MS

cirq.MS(rads: float) → cirq.ops.parity_gates.XXPowGate[source]

The Mølmer–Sørensen gate, a native two-qubit operation in ion traps.

A rotation around the XX axis in the two-qubit bloch sphere.

The gate implements the following unitary:

exp(-i t XX) = [ cos(t)   0        0       -isin(t)]
               [ 0        cos(t)  -isin(t)  0      ]
               [ 0       -isin(t)  cos(t)   0      ]
               [-isin(t)  0        0        cos(t) ]
Parameters:rads – The rotation angle in radians.
Returns:Mølmer–Sørensen gate rotating by the desired amount.