Skip to content

Haletran/42_Ftl_quantum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42_Ftl_quantum

This project is an introduction to quantum programming. It will challenge you to create different quantum programs and run them on a real quantum computer.

# to generate the requirements.txt file
pip freeze > requirements.txt

EX00 - List Providers

Write a Python program that lists all the IBM available providers.

-> Here are some links that might help you:

EX01 - Superposition

Write a Python program that creates a quantum circuit that puts a qubit in superposition. -> Here are some links that might help you:

Obtain this state : $$\frac{1}{\sqrt{2}} (|0⟩ + |1⟩)$$

EX02 - Entanglement

Write a program that will produce a quantum circuit with two qubits and use the principle of superposition and quantum entanglement.

The program must display the circuit, then run it on a quantum simulator with 500 shots and then display the results in a plot_histogram.

Circuit Image

Obtain this state: $$\frac{1}{\sqrt{2}} (|00⟩ + |11⟩)$$

EX03 - On real quantum computer

Same as EX02 but run the program on a real quantum computer.

-> Here are some links that might help you:

EX04 - Deutsch-Josza Algorithm

Recreate the Deutsch-Jozsa algorithm, it should work with a total number of 4 qubits.

-> Here are some links that might help you:

EX05 - Search algorithm

The search algorithm, the ultimate goal of this project. Your algorithm should search for one or more items that meet a given requirement among N unclassified items.

  • On a traditional computer, the complexity of the problem is O(N).
  • On a quantum computer, the complexity is reduced to O(√ (N )).

You will need to have 3 distinct parts:

  • The initialization of states.
  • The Oracle.
  • Diffuser.

Your algorithm will take a Y number of qubits (minimum 2) and must not require any modification to work.

-> Here are some links that might help you:

About

Introduction to quantum programming by creating different programs and implementing algorythms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published