Skip to content

Commit

Permalink
fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
jcjaskula-aws committed Nov 24, 2023
1 parent daa9cd9 commit 9e5f7dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/braket/circuits/gates.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def gphase(
control_state: Optional[BasisStateInput] = None,
power: float = 1,
) -> Instruction | Iterable[Instruction]:
r"""Registers this function into the circuit class.
r"""Global phase gate.
Unitary matrix:
Expand Down Expand Up @@ -1401,7 +1401,7 @@ def phaseshift(


class U(TripleAngledGate):
r"""Parameterized single-qubit gate.
r"""Generalized single-qubit rotation gate.
Unitary matrix:
Expand Down Expand Up @@ -1477,7 +1477,7 @@ def u(
control_state: Optional[BasisStateInput] = None,
power: float = 1,
) -> Iterable[Instruction]:
r"""Registers this function into the circuit class.
r"""Generalized single-qubit rotation gate.
Unitary matrix:
Expand Down

0 comments on commit 9e5f7dc

Please sign in to comment.