  Gaitan and Clark [Phys. Rev. Lett. 108, 010501 (2012)] have recently shown a
quantum algorithm for the computation of the Ramsey numbers using adiabatic
quantum evolution. We present a quantum algorithm to compute the two-color
Ramsey numbers for r-uniform hypergraphs by using the quantum counting circuit.
