Skip to content

Commit

Permalink
Update examples/qclustering/distance_calc.py
Browse files Browse the repository at this point in the history
Co-authored-by: Matteo Robbiati <[email protected]>
  • Loading branch information
renatomello and MatteoRobbiati authored Nov 13, 2024
1 parent 18686cc commit 1bbf991
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/qclustering/distance_calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def DistCalc(a, b, nshots=10000):
"""Distance calculation using destructive interference.
Args:
a (:class:`numpy.ndarray`): First point - shape = (latent space dimension,)
b (:class:`numpy.ndarray`): Second point - shape = (latent space dimension,)
nshots (int, optional): Number of shots for executing a quantum circuit to
a (:class:`numpy.ndarray`): first point - shape = (latent space dimension,)
b (:class:`numpy.ndarray`): second point - shape = (latent space dimension,)
nshots (int, optional): number of shots for executing a quantum circuit to
get frequencies. Defaults to :math:`10^{4}`.
Returns:
Expand Down

0 comments on commit 1bbf991

Please sign in to comment.