1 / 20

Beginner’s Guide to Quantum Computing

Beginner’s Guide to Quantum Computing. Graduate Seminar Presentation Oct. 5, 2007. Introduction. Quantum Computation and Quantum Information by Nielsen and Chuang Answer Guide Tech Report An Introduction to Quantum Computing for Non-Physicists – ACM Computing Surveys, Sept. 2000

Download Presentation

Beginner’s Guide to Quantum Computing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Beginner’s Guide to Quantum Computing Graduate Seminar Presentation Oct. 5, 2007

  2. Introduction • Quantum Computation and Quantum Information by Nielsen and Chuang • Answer Guide Tech Report • An Introduction to Quantum Computing for Non-Physicists – ACM Computing Surveys, Sept. 2000 • Quantum Mechanics Demo

  3. Qubits • Representation of basic physical property • Spin of atom • Orientation of photon • Computational Basis • Ket notation • |0> |1>

  4. Qubit State • “Other” states • Complex probabilities • x + yi [i is square root of -1] • Sum of square of absolute values of probabilities = 1 • Absolute value of complex number is distance from origin in complex plane • abs(x+yi) = (x^2 + y^2)^0.5

  5. Example Qubits • (1/2)^0.5|0> + (1/2)^0.5|1> • (1/2)^0.5 (|0> +|1>) • [(1/2)^0.5,(1/2)^0.5] • [(1/2)^0.5+i/2,i/2] • [sin(x),cos(x)] • [sin(x)+cos(x)i,0]

  6. Qubit Systems • Two qubits (q0, q1) => Four probabilities • |00>, |01>, |10>, |11> • Tensor product • [a,b] * [c,d] = [ac, ad, bc, bd] • N qubits => 2^N probabilities • Exponential growth!

  7. Measurement • Reduces qubit to classical bit • [1,0] (|0>) or [0, 1] (|1>) • Can measure 1 qubit and leave rest alone

  8. Entangled States • Cannot be represented as tensor product of two qubits • [(1/2)^0.5, 0, 0, (1/2)^0.5] (Bell state) • Measure 1 qubit, “fixes” other qubit!

  9. Unitary Operators • 1-qubit ops • effect both complex probabilities • 2x2 matrix of complex numbers • UUT = I (reversible) • Examples • THISXYZ • T=[1 0][0 (1+i)/(2^0.5)]

  10. (Walsh)-Hadamard Gate • H = [(1/2)^0.5, (1/2)^0.5] [(1/2)^0.5, -(1/2)^0.5] • Applying to N qubits generates superposition – 2^N possibilities equally likely • True random number generator

  11. Review • Benefits • Massive parallelism • Exponential state space growth • Problems • Measurement collapses state • Reversible computation • No copying

  12. Shor’s Algorithm • Finding prime factors (RSA) • Input N (integer) in binary (e.g., 128-bit) • Randomly choose x, 1<x<N • Find smallest r such that x^r % N = 1 • If r is even and x^(r/2) % N != N-1 • Factors are at least one of gcd(x^(r/2)-1,N) & gcd(x^(r/2)+1,N)

  13. Factoring 15 • Randomly pick 8 • 8^4 % 15 = 1 • gcd(8^2-1,15) = 3 • gcd(8^2+1,15) = 5

  14. Shor’s Algorithm – Quantum Part • Finding r • Superposition N qubits • Apply x^r % N on all qubits • Effectively calculates r for all values from 0 to N-1 • Find minimum value (1)

  15. Shor’s Algorithm - Analysis • Benefits • Uses O(log N)^3 time • Uses O(log N) space • Implemented on 7 qubit machine • Cons • Probabilistic – est. 25% failure rate • More qubits required than bits

  16. Grover’s Algorithm • Unordered search – O(N) • Quantum results – O(N^0.5) • Search matrix • e.g., identity with -1 at desired location • Rotation matrix • Applied N^0.5 times yields minimal failure rate • Optimal for quantum

  17. Phase Estimation • Unitary op has eigenvalue e^(2*PI*i*X) • Estimate X • Basis for Grover’s algorithm and Shor’s algorithm • Shor’s algorithm achieves exponential speed-up • Grover’s algorithm quadratic

  18. Simulation • Java using dense matrices • 12-qubit op requires 5-25 seconds • 12-qubit Inverse QFT requires 2 minutes • 10-qubit ripple carry adder requires 2 min • Allows combination quantum and classical

  19. Future • Quantum algorithm other than phase estimation? • Quantum computer larger than 16 qubits? • Quantum data structures? • Quantum subprocessor?

  20. Questions?

More Related