.
american roulette algorithm qcir