Quantum annealing for the Pythagorean triples search problem