Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomello committed Feb 16, 2024
1 parent f73be7c commit 498857d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qibo/quantum_info/random_ensembles.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ def _ppf(self, theta: float):


def uniform_sampling_U3(ngates: int, seed=None, backend=None):
"""Samples parameters for Haar-random :math:`U_{3}` (``qibo.gates.U3``).
"""Samples parameters for Haar-random :class:`qibo.gates.U3`.
Args:
ngates (int): Total number of :math:`U_{3}`s to be sampled.
ngates (int): Total number of :math:`U_{3}` gates to be sampled.
seed (int or :class:`numpy.random.Generator`, optional): Either a generator of random
numbers or a fixed seed to initialize a generator. If ``None``, initializes
a generator with a random seed. Default: ``None``.
Expand All @@ -44,7 +44,7 @@ def uniform_sampling_U3(ngates: int, seed=None, backend=None):
Defaults to ``None``.
Returns:
(ndarray): array of shape (``ngates``, :math:`3`).
ndarray: array of shape (``ngates``, :math:`3`).
"""
if not isinstance(ngates, int):
raise_error(
Expand Down

0 comments on commit 498857d

Please sign in to comment.