Professional Documents
Culture Documents
Exercise 1
Exercise 1
Exercise 1
2 - Full
3 - Partial
4 - Full
5 -Full
6 -Full
7 -Full
1. Exercise 1
1 𝑖
⟨ψ| = ⟨0| + ⟨1|
2 2
𝑖 2
⟨ϕ| =− ⟨0| + 3
⟨1|
3
⟨ψ|ψ⟩ = ( 1
2
⟨0| +
𝑖
2 ) (
⟨1| *
1
2
|0⟩ −
𝑖
2
|1⟩)
1 𝑖 𝑖 𝑖2
= 2
⟨0|0⟩ - 2 ⟨0|1⟩ + 2
⟨1|0⟩ − 2
⟨1|1⟩
1 1
= 2
⟨0|0⟩ + 2 ⟨1|1⟩
=1
3. What is the outer product |ψ⟩ ⟨ϕ|? Hint: Convert the states into the vectors first.
|ψ⟩ ⟨ϕ| = ( 1
2
|0⟩ −
𝑖
2
|1⟩ )*
2. Exercise 2
It would transform the |0⟩ qubit to a superposition of |0⟩ and |1⟩ with a phase difference.
3. Exercise 3
Suppose we have a single qubit, initialized at |0⟩, and we apply the following
Measurements.
50% probability of getting |0⟩, means the other 50% |1⟩ . results not changed
4. What is the difference between 1 and 3? What does that teach us?
4. Exercise 4
1. Use Quirk to construct the circuits corresponding to the operation H |0⟩ and H |1⟩ and
HH |0⟩. Give a screenshot of the circuits you have created.
● H |0⟩
● H |1⟩
● HH |0⟩
Carrying out consequent Hadamard would make the quantum state the same as the starting
original state.
3. Construct a circuits that correspond to operations X |0⟩, Y |0⟩ and Z |0⟩ on the state. Give
a screenshot of the circuits you have created.
4. What do the results look like and why?
X |0⟩
X |0⟩ acts as a Not gate equivalent and makes |0⟩ → |1⟩, Rotates phase 180 degrees in X axis. So
no visible surface phase change.
Y |0⟩
Y |0⟩ acts as a Not gate equivalent and makes |0⟩ → |1⟩ , Also it rotates 180 degrees in Y axis
Z|0⟩ does not work on |0⟩, But it rotates 180 degrees in the Z axis, but no surface phase change is
visible/
5. Exercise 5
1. Draw in Quirk the circuit that corresponds to the experimental setup. Apply these operations to
calculate the likelihood that a photon is observed in detector 1 or in detector 2. Hint: Use ”make
gate” button to implement the Ubeamsplitter gate from the matrix. You don’t need to apply the √ 1
2 as the ”make gate” operation will normalize the matrix automatically.
2. Verify your results by calculating the operations on the starting qubit state by hand.
3. Does the results correspond to what you think that should happen? Try to find the explanation
for what happened.
//Todo
6. Exercise 6
3. At which temperature do these quantum computers operate? Hint: See if you can find the answer
for the qubit technology with Google.
around -273 degrees Celsius
7. Exercise 7
1. Which hardware does the platform support, if any? Are they easily accessible through the
platform?
Supports IBM Quantum Systems, Rigetti Quantum Systems, and Google Quantum AI Systems
2. What programming language do you use to program quantum programs in this platform?
Python
3. How easy would it be to integrate a quantum program written in this platform to a conventional
classical program from the point of view of a programmer?