diff --git a/_images/06d86a2d1832054629c11019ce74eea737702ff1ac1e230d5e6e60f29b9cb64d.png b/_images/06d86a2d1832054629c11019ce74eea737702ff1ac1e230d5e6e60f29b9cb64d.png deleted file mode 100644 index 48a1b85..0000000 Binary files a/_images/06d86a2d1832054629c11019ce74eea737702ff1ac1e230d5e6e60f29b9cb64d.png and /dev/null differ diff --git a/_images/2536a1a1ad345cc254deb4043a3a2a4998d469070c73587841e8910464b104eb.png b/_images/2536a1a1ad345cc254deb4043a3a2a4998d469070c73587841e8910464b104eb.png new file mode 100644 index 0000000..9b2a131 Binary files /dev/null and b/_images/2536a1a1ad345cc254deb4043a3a2a4998d469070c73587841e8910464b104eb.png differ diff --git a/_images/405d6dcc8319dd5ef2848d725f075087a3eec47cacebfb16eba40e0272ecdbff.png b/_images/405d6dcc8319dd5ef2848d725f075087a3eec47cacebfb16eba40e0272ecdbff.png new file mode 100644 index 0000000..edaebbb Binary files /dev/null and b/_images/405d6dcc8319dd5ef2848d725f075087a3eec47cacebfb16eba40e0272ecdbff.png differ diff --git a/_images/49a31f021b1368ef172e5634d87908515d5c25262c7f1222956579054a78d1da.png b/_images/49a31f021b1368ef172e5634d87908515d5c25262c7f1222956579054a78d1da.png deleted file mode 100644 index fb30c10..0000000 Binary files a/_images/49a31f021b1368ef172e5634d87908515d5c25262c7f1222956579054a78d1da.png and /dev/null differ diff --git a/_images/5bef002fda27344fbb48df57a64f0688adf85fea48a34f6dd3cf09decb9b0718.png b/_images/5bef002fda27344fbb48df57a64f0688adf85fea48a34f6dd3cf09decb9b0718.png deleted file mode 100644 index 5f79ed3..0000000 Binary files a/_images/5bef002fda27344fbb48df57a64f0688adf85fea48a34f6dd3cf09decb9b0718.png and /dev/null differ diff --git a/_images/86909bb56d6053f3266dd80db5cfa6c153f4f5a8eca2553f3727fe32a431353a.png b/_images/86909bb56d6053f3266dd80db5cfa6c153f4f5a8eca2553f3727fe32a431353a.png new file mode 100644 index 0000000..3918d63 Binary files /dev/null and b/_images/86909bb56d6053f3266dd80db5cfa6c153f4f5a8eca2553f3727fe32a431353a.png differ diff --git a/_sources/lecture-04/math-for-qc.md b/_sources/lecture-04/math-for-qc.md index f47dd19..8be5060 100644 --- a/_sources/lecture-04/math-for-qc.md +++ b/_sources/lecture-04/math-for-qc.md @@ -1367,6 +1367,7 @@ The size of the basis, and hence the dimension of the Hilbert space of $n$ qubit The quantum state we referred to so far are what one calls pure states, and they are represented by a normalised vector in a complex Hilbert space. In the Dirac notation, they are described as a ket $|v\rangle$ or a bra $\langle v|$. There is another way to describe the state of quantum system which can be generalised to mixed states (defined below), and the is through **density operator**. For a system in pure quantum state $|v\rangle$, the density operator is defined as + $$ {\Huge \rho = |v\rangle \langle v| diff --git a/lecture-04/math-for-qc.html b/lecture-04/math-for-qc.html index 8e1244f..b97ba3b 100644 --- a/lecture-04/math-for-qc.html +++ b/lecture-04/math-for-qc.html @@ -1708,12 +1708,13 @@
The quantum state we referred to so far are what one calls pure states, and they are represented by a normalised vector in a complex Hilbert space. In the Dirac notation, they are described as a ket \(|v\rangle\) or a bra \(\langle v|\).
-There is another way to describe the state of quantum system which can be generalised to mixed states (defined below), and the is through density operator. For a system in pure quantum state \(|v\rangle\), the density operator is defined as
-$\(
+ There is another way to describe the state of quantum system which can be generalised to mixed states (defined below), and the is through density operator. For a system in pure quantum state \(|v\rangle\), the density operator is defined as It is easy to see that trace of the density operator is 1, i.e., \(\text{Tr}(\rho)=1\). For a pure state, \(\rho^2 = \rho\), so \(\text{Tr}(\rho^2)=1\) The small piece of code above is a The
What are Classical Programs
-
+
program
written in Python programming language and uses the popular scientific library Numpy
. The first line imports the module[1]/library, and the second line imports the famous plotting library matplotlib
.
@@ -492,7 +492,7 @@ What are Quantum Programs
-
+
Aer
module is part of qiskit software ecosystem, and provides us with a few backend software simulators for quantum computing. The line sim = Aer.get_backend('aer_simulator')
defines a simulator object based on Aer’s ‘aer_simulator backend’.
diff --git a/lecture-11-note.html b/lecture-11-note.html
index 4dbf05a..199a109 100644
--- a/lecture-11-note.html
+++ b/lecture-11-note.html
@@ -377,8 +377,8 @@ Example 1
-()#\[\begin{align}
+
Contents
Contents
{'1111': 596,
- '1110': 580,
- '1000': 628,
- '0110': 627,
- '1101': 587,
- '0000': 626,
- '0010': 676,
- '1010': 630,
- '0001': 629,
- '1011': 600,
- '0011': 661,
- '0111': 614,
- '1100': 623,
- '0101': 664,
- '1001': 627,
- '0100': 632}
+
{'0001': 631,
+ '0011': 643,
+ '0111': 585,
+ '1011': 652,
+ '0100': 641,
+ '1101': 655,
+ '1000': 619,
+ '0110': 613,
+ '0000': 631,
+ '0010': 597,
+ '1001': 641,
+ '0101': 620,
+ '1110': 640,
+ '1010': 615,
+ '1100': 635,
+ '1111': 582}