diff --git a/algorithms/deutsch_jozsa/deutsch_jozsa.ipynb b/algorithms/deutsch_jozsa/deutsch_jozsa.ipynb index 46fc9aadd..a98777183 100644 --- a/algorithms/deutsch_jozsa/deutsch_jozsa.ipynb +++ b/algorithms/deutsch_jozsa/deutsch_jozsa.ipynb @@ -154,7 +154,7 @@ "outputs": [], "source": [ "def post_process_deutsch_jozsa(parsed_results):\n", - " if len(parsed_results) == 1:\n", + " if len(parsed_results\n", " if 0 not in parsed_results:\n", " print(\"The function is balanced\")\n", " else:\n",