1
$\begingroup$

Qiskit documentation for QuantumCircuit.u(theta, phi, lam, qubit) does not mentions the axis against given angle argument for rotation operation. It just says rotation angle of the gate.

So which angle corresponds to rotation operation along which axis?

$\endgroup$
1
  • 1
    $\begingroup$ You can check those 2 questions, they discuss in details theta, phi and lambda 1 and 2 $\endgroup$
    – kibrahim
    Commented Aug 3, 2022 at 8:47

1 Answer 1

2
$\begingroup$

You can find the documentation page for UGate which shows the matrix representation of the gate with different angles. https://qiskit.org/documentation/stubs/qiskit.circuit.library.UGate.html

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.