hiperwalk.QuantumWalk.get_marked#

QuantumWalk.get_marked()[source]#

Retrieve the marked vertices.

Returns:
List of int

List of marked vertices. If no vertex is marked, returns the empty list.

See also

set_marked