hiperwalk.QuantumWalk.set_marked#

QuantumWalk.set_marked(marked=[], **kwargs)[source]#

Set the marked vertices.

When the marked vertices are updated using this method, the evolution operator adjusts accordingly.

Parameters:
markedlist of vertices

List of vertices to be marked. If empty list, no vertex is marked.

** kwargs

Additional arguments for updating the evolution operator. For example, whether to use HPC or not. See set_evolution() for more options.

See also

set_evolution