hiperwalk.plot_success_probability#
- hiperwalk.plot_success_probability(time, probabilities, figsize=(12, 10), dpi=100, **kwargs)[source]#
Plot the success probability over time.
Assumes that the probabilities have already been calculated.
- Parameters:
- time:
Time used for the quantum walk simulation. See
QuantumWalk.simulate()
for details.- probabilities:
Success probabilities with respect to
time
, such thatprobabilities[i]
corresponds toi
-th timestamp described bytime
.- figsizetuple, default=(12, 10)
Figure size in inches. Must be a tuple in the format (WIDTH, HEIGHT).
- dpifloat, default=100
Figure resolution in dots-per-inch.
- **kwargs:
Additional arguments to customize plot. See
matplotlib.pyplot.plot
for the optional keywords.