Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 23, 2024
1 parent 8a70898 commit b4d74be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibo/models/encodings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b4d74be

Please sign in to comment.