qiskit.circuit.QuantumCircuit.ms¶
- QuantumCircuit.ms(theta, qubits)[Quellcode]¶
Apply
MSGate
.For the full matrix form of this gate, see the underlying gate documentation.
- Parameter
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.
- Rückgabe
A handle to the instructions created.
- Rückgabetyp