qiskit.circuit.QuantumCircuit.ms¶
- QuantumCircuit.ms(theta, qubits)[source]¶
Apply
MSGate
.For the full matrix form of this gate, see the underlying gate documentation.
- Paramètres
theta (
Union
[ParameterExpression
,float
]) – The angle of the rotation.qubits (
Sequence
[Union
[Qubit
,QuantumRegister
,int
,slice
,Sequence
[Union
[Qubit
,int
]]]]) – The qubits to apply the gate to.
- Type renvoyé
- Renvoie
A handle to the instructions created.