Mixers#

Qrisp comes with a variety of predefined mixers to tackle various types of problem instances:

RX_mixer(qv, beta)

Applies an RX gate to each qubit in qv.

RZ_mixer(qv, beta)

This function applies an RZ gate with a negative phase shift to a given quantum variable.

XY_mixer(qv, beta)

Applies multiple XX+YY gates to qv such that each qubit has interacted with it's neighbour at least once.

grover_mixer(qv, beta)

Performs the parametrized Grover diffuser.

constrained_mixer_gen(constraint_oracle, ...)

Generates a customized mixer function that leaves arbitrary constraints intact.

controlled_RX_mixer_gen(predicate)

Generate a controlled RX mixer for a given predicate function.