Verified
Python
8. Implement a solution to the Deutsch oracle problem as discussed in lectures in Qiskit (using the Deutsch-Jozsa Algorithm). (10 marks)
Verified
Python
7. Simulate a coin toss using qubit(s) in a quantum circuit.Why does this lead to better 'randomness' than a normal/classical coin toss? How could you extend this to be a random number generator? (3 marks)
Verified
Python
6. Make a quantum circuit whose final Bell state is 1 p2(|01i-|10i).
Verified
Python
5. What does the Bloch sphere represent? Describe the Bloch sphere created by the circuit in the previous question. (1 mark)
Verified
Python
4. Draw a quantum circuit with three qubits that returns|000i, |001i, |01Oi,|011i, |100i, |101i or |111i with equal probability.
Verified
Python
3.Draw a quantum circuit with three qubits that returns|111i or |101i with50% probability each
Verified
Python
2. Draw a simple quantum circuit with three qubits that returns |111i> with certainty.
Verified
Python
1.What does a Hadamard gate do?
Verified
Python
The following is an excerpt from the blink example:
Create a variable called time that will store the time intervals needed for the delay function. Rewrite the code above so that the variable is substituted for the value1000.
p) Create a second variable valued time2. Using time and time2, modify the code so that the LED stays on for 3 seconds, and off for 1.5 seconds.
Verified
Python
7. What is the difference between a variable and a constant?
Kindly submit your queries
we will make sure available to you as soon as possible.
Search Other Question
Getting answers to your urgent problems is simple. Submit your query in the given box and get answers Instantly.
Success