qiskit.circuit.QuantumCircuit.u1¶
- QuantumCircuit.u1(theta, qubit)[ソース]¶
Apply
U1Gate
.For the full matrix form of this gate, see the underlying gate documentation.
- パラメータ
theta (
Union
[ParameterExpression
,float
]) – The \(\theta\) rotation angle of the gate.qubit (
Union
[Qubit
,QuantumRegister
,int
,slice
,Sequence
[Union
[Qubit
,int
]]]) – The qubit(s) to apply the gate to.
- 戻り値の型
- 戻り値
A handle to the instructions created.