Cirq QAOA Tasks returns "iteration over a 0-d array" error

I'm trying to understand how to use Recirq for QAOA, and I tried to run the notebook for tasks: https://quantumai.google/cirq/experiments/qaoa/tasks. But it gives a "iteration over a 0-d array" error when I run

for task in precompute_tasks:


I don't know how to fix this. I want to get their code to run for 5 qubits and get an understanding of how to use and maybe modify it.

• Is this the whole code you are using or is there more? Jul 29 at 17:03
• It comes from the notebook on the website, which can be downloaded or run on Google's colab. It's the 9th cell of the notebook, so I just gave the specific cell that had the problem. Jul 29 at 17:12
• I see, you pressed the litle play button and got the error right? Jul 29 at 17:16
• I have downloaded the notebook and run that, as well as running it in colab and pressing the play buttons to run the cells. Jul 29 at 17:18
• I rebuild your tasks and got the same error. Let me some time to investigate a bit. Jul 29 at 17:31