hiperwalk.QuantumWalk.max_success_probability#
- QuantumWalk.max_success_probability(state=None, step=1)[source]#
Find the maximum success probability.
This method returns the success probability that corresponds to the optimal running time.
- Parameters:
- state
numpy.ndarray
, default=None The state initial state for the simulation. If
None
, uses the uniform state.- step
Step of the simulation range. See
range
argument insimulate()
for details.
- state
- Returns:
- float
The maximum success probability.
See also