qiskit.circuit.QuantumCircuit.ms¶
- QuantumCircuit.ms(theta, qubits)[fuente]¶
Apply
MSGate
.For the full matrix form of this gate, see the underlying gate documentation.
- Parámetros
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.
- Tipo del valor devuelto
- Devuelve
A handle to the instructions created.