Giter Club home page Giter Club logo

quantumcomputingexamples's Introduction

Quantum Computing Examples

DOI

Quantum computing examples with QISKit.

Examples

Deutsch's Algorithm

Problem. For given an oracle function f : {0, 1} -> {0, 1}, determine f is balanced or constant.

Deutsch's Algorithm

Deutsch-Jozsa Algorithm

Problem. For given an oracle function f : {0, 1}^n -> {0, 1}, determine f is balanced or constant.

Scheme for n=2:

Deutsch-Jozsa Algorithm

Bernstein-Vazirani Algorithm

Problem. For given an oracle function f : {0, 1}^n -> {0, 1}, f(x) = a x, determine a.

Scheme for n=3:

Bernstein-Vazirani Algorithm

Simon's Algorithm

Problem. For given an oracle function f : {0, 1}^n -> {0, 1}^n which has period a: ∃!a != 0: ∀x f(x) = f(y) => y = x ⊕ a. Determine a.

Scheme for n=2:

Simon's Algorithm

Quantum Fourier Transform (QFT)

Scheme for n=3:

Quantum Fourier Transform

Superdense Coding

Task. Transmit two bits of classical information between Alice and Bob using only one qubit.

Superdense Coding

Quantum Teleportation

Task. Alice would like to send Bob a qubit that is in some unknown state.

Quantum Teleportation

Quantum Phase Estimation

Problem. Given an unitary operator U, estimate θ in U|ψ>=exp(2πiθ)|ψ>.

Quantum Phase Estimation

Grover's Algorithm

Problem. For given an oracle function f : {0, 1}^n -> {0, 1}^n, ∃! ω : f(ω) = a, find ω.

Scheme for n=3:

Grover's Algorithm

Shor's Algorithm

Problem. Shor's algorithm is a quantum computer algorithm for integer factorization. Informally, it solves the following problem: Given an integer N, find its prime factors.

Scheme for find the period r for f(x) = 2^x mod 15:

Shor's Algorithm

Swap Test

Task. For given two unknown quantum states, determine how much them differs.

Swap test

References

quantumcomputingexamples's People

Contributors

imgbotapp avatar mrtkp9993 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.