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