Grover tools#

These functions facilitate convenient construction and evaluation of Grover oracles.

grover.diffuser(*args[, permeability, ...])

Applies the Grover diffuser onto (multiple) QuantumVariables.

grover.tag_state(*args[, permeability, ...])

Applies a phase tag to (multiple) QuantumVariables.

grover.grovers_alg(qv_list, oracle_function)

Applies Grover's algorithm to a given oracle (in the form of a Python function).