qrisp.qaoa.RY_mixer#
- RY_mixer(qv, beta)[source]#
Applies an RY gate to each qubit in
qv
.The RY gate is a single-qubit rotation about the x-axis. It is used as a mixer in QAOA to drive transitions between different states.
- Parameters:
- qvQuantumVariable
The quantum variable to which the RY gate is applied.
- betafloat or sympy.Symbol
The phase shift value for the RY gate.