U gate
(Previously called the U3 gate) The three parameters allow the construction of any single-qubit gate. Has a duration of one unit of gate time.
Composer reference | OpenQASM reference | Q-sphere | Note about q-sphere representations |
---|
![u_gate](https://iqx-docs.quantum-computing.ibm.com/_images/U_gate_large_gate3.png)
| u(theta, phi, lam) q[0];
| ![u3_qsph](https://iqx-docs.quantum-computing.ibm.com/_images/u3_qsph3.png)
| The q-sphere representation shows the state after the gate operates on the initial equal superposition state where is the number of qubits needed to support the gate. |
In IBM Quantum Composer, the default value for angle
is .