Skip to content

Commit 21fb421

Browse files
committed
correcting typos
1 parent 59506d2 commit 21fb421

File tree

8 files changed

+1148
-1148
lines changed

8 files changed

+1148
-1148
lines changed

doc/pub/week11/html/week11-bs.html

Lines changed: 272 additions & 272 deletions
Large diffs are not rendered by default.

doc/pub/week11/html/week11-reveal.html

Lines changed: 222 additions & 222 deletions
Large diffs are not rendered by default.

doc/pub/week11/html/week11-solarized.html

Lines changed: 222 additions & 222 deletions
Large diffs are not rendered by default.

doc/pub/week11/html/week11.html

Lines changed: 272 additions & 272 deletions
Large diffs are not rendered by default.
0 Bytes
Binary file not shown.

doc/pub/week11/ipynb/week11.ipynb

Lines changed: 154 additions & 154 deletions
Large diffs are not rendered by default.

doc/pub/week11/pdf/week11.pdf

31.2 KB
Binary file not shown.

doc/src/week11/week11.do.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ This is just the product representation from earlier, obviously our desired outp
713713
!split
714714
===== QFT example codes =====
715715
This code sets up the QFT for $n$ qubits.
716-
!bc pycode
716+
!bc pycod
717717
import numpy as np
718718
def qft(n):
719719

@@ -756,7 +756,7 @@ print(np.round(identity, 4))
756756
!split
757757
===== Example using Qiskit =====
758758

759-
!bc pycode
759+
!bc pycod
760760
import numpy as np
761761
from qiskit import QuantumCircuit, Aer, execute
762762
def qft(circuit, n):
@@ -789,7 +789,7 @@ print(output_state_vector)
789789

790790
!split
791791
===== Example using Pennylane =====
792-
!bc pycode
792+
!bc pycod
793793
import pennylane as qml
794794
from pennylane import numpy as np
795795
# Define the number of qubits
@@ -914,7 +914,7 @@ Measuring the first register gives an $n$-bit estimate of $\phi$ with high proba
914914

915915
!split
916916
===== Simple code which implements the QPE =====
917-
!bc pycode
917+
!bc pycod
918918
import numpy as np
919919
def hadamard(n):
920920
# Creates an n-qubit Hadamard gate as a matrix.
@@ -995,7 +995,7 @@ print(f"Actual phase: {phi}")
995995

996996
!split
997997
===== Code which implements the QPE using Qiskit =====
998-
!bc pycode
998+
!bc pycod
999999
from qiskit import QuantumCircuit, Aer, transpile, assemble, execute
10001000
from qiskit.visualization import plot_histogram
10011001
import numpy as np
@@ -1059,7 +1059,7 @@ plot_histogram(counts)
10591059
!split
10601060
===== Code which implements the QPE using PennyLane =====
10611061

1062-
!bc pycode
1062+
!bc pycod
10631063
import pennylane as qml
10641064
import numpy as np
10651065
def qft(n):

0 commit comments

Comments
 (0)