From fcd8e88841dfcbb0ecbe3c88992cdff8da2e98ee Mon Sep 17 00:00:00 2001 From: Raghav <83136390+Raghav-Bell@users.noreply.github.com> Date: Wed, 23 Aug 2023 23:26:09 +0530 Subject: [PATCH 1/4] Fixed latex rendering in simon's problem added $ --- .../01.query-algorithms/quantum-query-algorithms.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb b/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb index eaf929010..624f29796 100644 --- a/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb +++ b/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb @@ -1291,8 +1291,8 @@ "\n", "> **Simon's problem** \\\n", "> Input: a function $f:\\Sigma^n \\rightarrow \\Sigma^m$ \\\n", - "> Promise: there exists a string $s\\in\\Sigma^n$ such that $[f(x) = f(y)] \\Leftrightarrow \n", - "[(x = y) \\vee (x \\oplus s = y)]$ for all $x,y\\in\\Sigma^n$ \\\n", + "> Promise: there exists a string $s\\in\\Sigma^n$ such that $[f(x) = f(y)] \\Leftrightarrow$ \n", + "$[(x = y) \\vee (x \\oplus s = y)]$ for all $x,y\\in\\Sigma^n$ \\\n", "> Output: the string $s$\n", "\n", "We'll unpack the promise to better understand what says momentarily, but before doing this let's be clear that most functions don't satisfy this promise; it requires that $f$ has a very special structure.\n", From d9a340b924634bff3f418d0fdf77d0deca93dbee Mon Sep 17 00:00:00 2001 From: Raghav <83136390+Raghav-Bell@users.noreply.github.com> Date: Wed, 23 Aug 2023 23:30:54 +0530 Subject: [PATCH 2/4] removed extra slash --- .../01.query-algorithms/quantum-query-algorithms.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb b/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb index 624f29796..a2c519b85 100644 --- a/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb +++ b/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb @@ -1292,7 +1292,7 @@ "> **Simon's problem** \\\n", "> Input: a function $f:\\Sigma^n \\rightarrow \\Sigma^m$ \\\n", "> Promise: there exists a string $s\\in\\Sigma^n$ such that $[f(x) = f(y)] \\Leftrightarrow$ \n", - "$[(x = y) \\vee (x \\oplus s = y)]$ for all $x,y\\in\\Sigma^n$ \\\n", + "$[(x = y) \\vee (x \\oplus s = y)]$ for all $x,y\\in\\Sigma^n$ \n", "> Output: the string $s$\n", "\n", "We'll unpack the promise to better understand what says momentarily, but before doing this let's be clear that most functions don't satisfy this promise; it requires that $f$ has a very special structure.\n", From 863cd5f5e0594e087a797a85abc71fce0ce791ad Mon Sep 17 00:00:00 2001 From: Raghav <83136390+Raghav-Bell@users.noreply.github.com> Date: Thu, 24 Aug 2023 10:10:15 +0530 Subject: [PATCH 3/4] Made inline whole expression --- .../01.query-algorithms/quantum-query-algorithms.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb b/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb index a2c519b85..239a19308 100644 --- a/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb +++ b/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb @@ -1291,8 +1291,7 @@ "\n", "> **Simon's problem** \\\n", "> Input: a function $f:\\Sigma^n \\rightarrow \\Sigma^m$ \\\n", - "> Promise: there exists a string $s\\in\\Sigma^n$ such that $[f(x) = f(y)] \\Leftrightarrow$ \n", - "$[(x = y) \\vee (x \\oplus s = y)]$ for all $x,y\\in\\Sigma^n$ \n", + "> Promise: there exists a string $s\\in\\Sigma^n$ such that $[f(x) = f(y)] \\Leftrightarrow [(x = y) \\vee (x \\oplus s = y)]$ for all $x,y\\in\\Sigma^n$ \n", "> Output: the string $s$\n", "\n", "We'll unpack the promise to better understand what says momentarily, but before doing this let's be clear that most functions don't satisfy this promise; it requires that $f$ has a very special structure.\n", From ab2514a02a05b1a76ec5bbc48b97950fd180ee22 Mon Sep 17 00:00:00 2001 From: Raghav <83136390+Raghav-Bell@users.noreply.github.com> Date: Thu, 24 Aug 2023 10:11:57 +0530 Subject: [PATCH 4/4] Fixed "Output " inline --- .../01.query-algorithms/quantum-query-algorithms.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb b/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb index 239a19308..e66aa61c8 100644 --- a/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb +++ b/notebooks/v2/algorithms/01.query-algorithms/quantum-query-algorithms.ipynb @@ -1291,7 +1291,7 @@ "\n", "> **Simon's problem** \\\n", "> Input: a function $f:\\Sigma^n \\rightarrow \\Sigma^m$ \\\n", - "> Promise: there exists a string $s\\in\\Sigma^n$ such that $[f(x) = f(y)] \\Leftrightarrow [(x = y) \\vee (x \\oplus s = y)]$ for all $x,y\\in\\Sigma^n$ \n", + "> Promise: there exists a string $s\\in\\Sigma^n$ such that $[f(x) = f(y)] \\Leftrightarrow [(x = y) \\vee (x \\oplus s = y)]$ for all $x,y\\in\\Sigma^n$ \\\n", "> Output: the string $s$\n", "\n", "We'll unpack the promise to better understand what says momentarily, but before doing this let's be clear that most functions don't satisfy this promise; it requires that $f$ has a very special structure.\n",