- class MSGate(num_qubits, theta, *, n_qubits=None, label=None)¶
Global Mølmer–Sørensen gate.
The Mølmer–Sørensen gate is native to ion-trap systems. The global MS can be applied to multiple ions to entangle multiple qubits simultaneously.
In the two-qubit case, this is equivalent to an XX(theta) interaction, and is thus reduced to the RXXGate.
Create new MS gate.
Get the decompositions of the instruction from the SessionEquivalenceLibrary.
Return definition in terms of other basic gates.
Return gate label
return instruction params.
Add a decomposition of the instruction to the SessionEquivalenceLibrary.
Assemble a QasmQobjInstruction
Validation and handling of the arguments and its relationship.
Add classical condition on register classical and value val.
MSGate.control([num_ctrl_qubits, label, …])
Return controlled version of gate.
Copy of the instruction.
Invert this instruction.
Return True .IFF.
For a composite instruction, reverse the order of sub-gates.
Creates a unitary gate as gate^exponent.
Return a default OpenQASM string for the instruction.
Creates an instruction with gate repeated n amount of times.
Return a Numpy.array for the gate unitary matrix.