Skip to content

Commit 9499af4

Browse files
committed
update
1 parent 6235ee1 commit 9499af4

File tree

8 files changed

+248
-279
lines changed

8 files changed

+248
-279
lines changed

doc/pub/week7/html/week7-bs.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -977,10 +977,7 @@ <h2 id="rewriting-the-string-of-matrices" class="anchor">Rewriting the string of
977977
<div class="panel panel-default">
978978
<div class="panel-body">
979979
<!-- subsequent paragraphs come in larger fonts, so start with a paragraph -->
980-
<p>Use the fact that \( \sigma_i^2 = I \) and \( \sigma_i \sigma_j = -\sigma_j \sigma_i \) for \( i \neq j \) to simplify the expression. For example:</p>
981-
$$
982-
\boldsymbol{X} \boldsymbol{Y} = -\boldsymbol{Y} \boldsymbol{X} = i \boldsymbol{Z}.
983-
$$
980+
<p>Use the fact that \( \sigma_i^2 = I \) and the above mentioned commutation relation.</p>
984981
</div>
985982
</div>
986983

@@ -1000,7 +997,7 @@ <h2 id="more-rewriting-tricks" class="anchor">More rewriting tricks </h2>
1000997
<!-- subsequent paragraphs come in larger fonts, so start with a paragraph -->
1001998
<p>If the final expression is not diagonal, you may need to apply a unitary transformation to diagonalize it before measurement. For example,to measure \( \boldsymbol{X} \), you can apply the Hadamard gate \( \boldsymbol{H} \) to transform it into \( \boldsymbol{X} \):</p>
1002999
$$
1003-
H \boldsymbol{X} H = \boldsymbol{Z}.
1000+
\boldsymbol{H} \boldsymbol{X} \boldsymbol{H} = \boldsymbol{Z}.
10041001
$$
10051002
</div>
10061003
</div>

doc/pub/week7/html/week7-reveal.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -812,12 +812,7 @@ <h2 id="rewriting-the-string-of-matrices">Rewriting the string of matrices </h2>
812812
<div class="alert alert-block alert-block alert-text-normal">
813813
<b>Simplify using identities:</b>
814814
<p>
815-
<p>Use the fact that \( \sigma_i^2 = I \) and \( \sigma_i \sigma_j = -\sigma_j \sigma_i \) for \( i \neq j \) to simplify the expression. For example:</p>
816-
<p>&nbsp;<br>
817-
$$
818-
\boldsymbol{X} \boldsymbol{Y} = -\boldsymbol{Y} \boldsymbol{X} = i \boldsymbol{Z}.
819-
$$
820-
<p>&nbsp;<br>
815+
<p>Use the fact that \( \sigma_i^2 = I \) and the above mentioned commutation relation.</p>
821816
</div>
822817
</section>
823818

@@ -836,7 +831,7 @@ <h2 id="more-rewriting-tricks">More rewriting tricks </h2>
836831
<p>If the final expression is not diagonal, you may need to apply a unitary transformation to diagonalize it before measurement. For example,to measure \( \boldsymbol{X} \), you can apply the Hadamard gate \( \boldsymbol{H} \) to transform it into \( \boldsymbol{X} \):</p>
837832
<p>&nbsp;<br>
838833
$$
839-
H \boldsymbol{X} H = \boldsymbol{Z}.
834+
\boldsymbol{H} \boldsymbol{X} \boldsymbol{H} = \boldsymbol{Z}.
840835
$$
841836
<p>&nbsp;<br>
842837
</div>

doc/pub/week7/html/week7-solarized.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -899,10 +899,7 @@ <h2 id="rewriting-the-string-of-matrices">Rewriting the string of matrices </h2>
899899
<div class="alert alert-block alert-block alert-text-normal">
900900
<b>Simplify using identities:</b>
901901
<p>
902-
<p>Use the fact that \( \sigma_i^2 = I \) and \( \sigma_i \sigma_j = -\sigma_j \sigma_i \) for \( i \neq j \) to simplify the expression. For example:</p>
903-
$$
904-
\boldsymbol{X} \boldsymbol{Y} = -\boldsymbol{Y} \boldsymbol{X} = i \boldsymbol{Z}.
905-
$$
902+
<p>Use the fact that \( \sigma_i^2 = I \) and the above mentioned commutation relation.</p>
906903
</div>
907904

908905

@@ -920,7 +917,7 @@ <h2 id="more-rewriting-tricks">More rewriting tricks </h2>
920917
<p>
921918
<p>If the final expression is not diagonal, you may need to apply a unitary transformation to diagonalize it before measurement. For example,to measure \( \boldsymbol{X} \), you can apply the Hadamard gate \( \boldsymbol{H} \) to transform it into \( \boldsymbol{X} \):</p>
922919
$$
923-
H \boldsymbol{X} H = \boldsymbol{Z}.
920+
\boldsymbol{H} \boldsymbol{X} \boldsymbol{H} = \boldsymbol{Z}.
924921
$$
925922
</div>
926923

doc/pub/week7/html/week7.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -976,10 +976,7 @@ <h2 id="rewriting-the-string-of-matrices">Rewriting the string of matrices </h2>
976976
<div class="alert alert-block alert-block alert-text-normal">
977977
<b>Simplify using identities:</b>
978978
<p>
979-
<p>Use the fact that \( \sigma_i^2 = I \) and \( \sigma_i \sigma_j = -\sigma_j \sigma_i \) for \( i \neq j \) to simplify the expression. For example:</p>
980-
$$
981-
\boldsymbol{X} \boldsymbol{Y} = -\boldsymbol{Y} \boldsymbol{X} = i \boldsymbol{Z}.
982-
$$
979+
<p>Use the fact that \( \sigma_i^2 = I \) and the above mentioned commutation relation.</p>
983980
</div>
984981

985982

@@ -997,7 +994,7 @@ <h2 id="more-rewriting-tricks">More rewriting tricks </h2>
997994
<p>
998995
<p>If the final expression is not diagonal, you may need to apply a unitary transformation to diagonalize it before measurement. For example,to measure \( \boldsymbol{X} \), you can apply the Hadamard gate \( \boldsymbol{H} \) to transform it into \( \boldsymbol{X} \):</p>
999996
$$
1000-
H \boldsymbol{X} H = \boldsymbol{Z}.
997+
\boldsymbol{H} \boldsymbol{X} \boldsymbol{H} = \boldsymbol{Z}.
1001998
$$
1002999
</div>
10031000

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)