def METHOD_NAME(qx, qx_measure, nbit, b_max, b_min):
    """
    The Grover/Amplification operator: R P (I - 2|0><0|) P^+ R^+ U_psi_0
        q: quantum circuit
        qx: quantum register
        qx_measure: quantum register for measurement
        nbit: number of qubits to be used for defining the good and bad state
        b_max: upper limit of integral
        b_max: lower limit of integral
    """
    if nbit > 2:
        circ = Circuit(2 * nbit - 1)
        qx_ancilla = list(range(nbit + 1, nbit + 1 + nbit - 2))
    else:
        circ = Circuit(nbit + 1)
        qx_ancilla = 0
    circ.add(gates.Z(q=qx_measure))
    Rinv_qibo(circ, qx, qx_measure, nbit, b_max, b_min)
    P_qibo(circ, qx)
    reflect_qibo(circ, qx, qx_measure, qx_ancilla, nbit, b_max)
    P_qibo(circ, qx)
    R_qibo(circ, qx, qx_measure, nbit, b_max, b_min)
    return circ