From b4d74be1cc3a50c895e7a5e276c05712016eeae0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 17:24:49 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/qibo/models/encodings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qibo/models/encodings.py b/src/qibo/models/encodings.py index 9d4347bf9..bb1944ce7 100644 --- a/src/qibo/models/encodings.py +++ b/src/qibo/models/encodings.py @@ -120,9 +120,9 @@ def binary_encoder(data, **kwargs): """Create circuit that encodes ``data`` in all amplitudes of the computational basis. ``data`` has to be normalized with respect to the Hilbert-Schmidt norm. - Resulting circuit parametrizes ``data`` in Hopf coordinates in the + Resulting circuit parametrizes ``data`` in Hopf coordinates in the :math:`(2^{n} - 1)`-unit sphere. - + Args: data (ndarray or list): :math:`1`-dimensional array or length :math:`2^{n}` to be loaded in the amplitudes of a :math:`n`-qubit quantum state.