qrisp.qaoa.RZ_mixer#

RZ_mixer(qv, beta)[source]#

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

Parameters
qvQuantumVariable

The quantum variable to which the RZ gate is applied.

betafloat or sympy.Symbol

The phase shift value for the RZ gate.