hiperwalk.plot_optimal_runtime#
- hiperwalk.plot_optimal_runtime(qw_iter, x_label, x_vals, state=None, **kwargs)[source]#
- Parameters:
- qw_iteriterable of
QuantumWalk The code will be execute for each quantum walk in the iterable.
- x_vals
The values to be plotted in the x-axis. Iterable or callable.
- state:
The initial state of the simulation. If
Noneuses default argument. There are two types allowed.- iterable :
An array of states or an iterable. The
i-th entry will be used as the inital state of thei-th quantum walk.- callable :
A function that receives a
QuantumWalkas argument and returns a state.Todo
Should the function accept
*argsand**kwargs?
- qw_iteriterable of