Skip to content

Commit

Permalink
Improve reference to Statevector.data
Browse files Browse the repository at this point in the history
  • Loading branch information
LeCarton committed Oct 22, 2023
1 parent a279df9 commit 3791606
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class FidelityStatevectorKernel(BaseKernel):
K(x,y) = |\langle \phi(x) | \phi(y) \rangle|^2.
In this implementation, :math:`|\phi(y)\rangle` is given by a ``Statevector.data`` array. These
In this implementation, :math:`|\phi(y)\rangle` is given by a
:attr:`qiskit.quantum_info.Statevector.data` array. These
arrays are stored in a statevector cache to avoid repeated evaluation of the quantum circuit.
This cache can be cleared using :meth:`clear_cache`. By default the cache is cleared when
:meth:`evaluate` is called, unless ``auto_clear_cache`` is ``False``.
Expand Down

0 comments on commit 3791606

Please sign in to comment.