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 None uses 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 the i-th quantum walk.

callable :

A function that receives a QuantumWalk as argument and returns a state.

Todo

Should the function accept *args and **kwargs?