Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions qiskit/circuit/library/standard_gates/u.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ class UGate(Gate):

.. note::

The matrix representation shown here is the same as in the `OpenQASM 3.0 specification
<https://openqasm.com/language/gates.html#built-in-gates>`_,
which differs from the `OpenQASM 2.0 specification
<https://doi.org/10.48550/arXiv.1707.03429>`_ by a global phase of
The matrix representation in the current `OpenQASM 3 specification
<https://openqasm.com/language/gates.html#built-in-gates>`_ is this
matrix multiplied by a global phase of :math:`e^{i\theta/2}`. Earlier
versions of the OpenQASM specification used a definition that differs
from Qiskit by a global phase of
:math:`e^{i(\phi+\lambda)/2}`.

Examples:
Expand Down
Loading