Skip to content

Commit

Permalink
Merge branch 'main' into spelling-corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeach-aws authored Apr 12, 2024
2 parents 049e918 + b1cd32d commit c4c773c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/braket/circuits/gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,8 @@ class GPhase(AngledGate):
Unitary matrix:
.. math:: \mathtt{gphase}(\gamma) = e^{i \gamma} I = \begin{bmatrix}
e^{i \gamma} & 0 \\
0 & e^{i \gamma} \end{bmatrix}.
.. math:: \mathtt{gphase}(\gamma) = e^{i \gamma} I_1 = \begin{bmatrix}
e^{i \gamma} \end{bmatrix}.
Args:
angle (Union[FreeParameterExpression, float]): angle in radians.
Expand Down Expand Up @@ -279,9 +278,8 @@ def gphase(
Unitary matrix:
.. math:: \mathtt{gphase}(\gamma) = e^{i \gamma} I = \begin{bmatrix}
e^{i \gamma} & 0 \\
0 & e^{i \gamma} \end{bmatrix}.
.. math:: \mathtt{gphase}(\gamma) = e^{i \gamma} I_1 = \begin{bmatrix}
e^{i \gamma} \end{bmatrix}.
Args:
angle (Union[FreeParameterExpression, float]): Phase in radians.
Expand Down

0 comments on commit c4c773c

Please sign in to comment.