From 2c8aebfe8f1fbd01a79c3a358645a531a28f91dd Mon Sep 17 00:00:00 2001 From: NadavClassiq Date: Thu, 7 Nov 2024 14:10:10 +0200 Subject: [PATCH] Update deutsch_jozsa.ipynb --- algorithms/deutsch_jozsa/deutsch_jozsa.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",