qiskit.circuit.QuantumCircuit.ms¶
- QuantumCircuit.ms(theta, qubits)[소스]¶
Apply
MSGate
.For the full matrix form of this gate, see the underlying gate documentation.
- 매개변수
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.
- 반환 형식
- 반환
A handle to the instructions created.