Docsity

Portland Quantum - Quantum Computing - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Portland Quantum - Quantum Computing - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

Tutorial

Qubits and

Quantum

Registers

A Qubit

  • A quantum-mechanical gate is strange.
  • The strangeness goes to the very root of the quantum- computational process, to the bits themselves, which to emphasize
their unconventional nature are sometimes called qubits.
  • This is not to say that the qubit has some intermediate value between 0 and 1.
  • Rather, the qubit is in both the 0 state and the 1 state at the same time , to varying extents.
  • When the state of the qubit is eventually observed or
measured, it is invariably either 0 or 1.

A Qubit

  • If the cat was dead(zero state) it will always

be regarded as such because Quantum

Theory does not bring things back to life.

  • If the cat was alive (one state) then it will

remain that way until it is put back into the

box and the device is restarted and you then

return to the superposition of states and the

cat is both alive and dead.

Quantum Superposition and Quantum Parallelism
  • Linear superposition of coexisting possibilities in the quantum world
  • Measurements “collapse” possibilities
  • Measurement of quantum system yields state | A> with
probability |cA |^2 and state | B> with probability |c B|^2

Quantum Parallel Processing

Wave of probability

  • Uncertainty is described mathematically by a

wave of probability which expands to fill the

space of all possible states

  • When the box with Schroedinger’s cat is

opened this wave of probability collapses into

one single state

  • After the box is opened, the cat

cannot be returned to its original

state.

  • The cat in the box before it has

been opened is our qubit , having

both states , dead and alive.

Elementary quantum notation:

  • A simple quantum system is the two-level spin-1/2 particle.
  • Its basis states, spin-down | ↓ > and spin-up | ↑ > , may be
relabelled to represent binary zero and one, i.e., |0> and |1 > ,

respectively.

  • The state of a single such particle (qubit) is described by the

wavefunction

  • α and β are amplitudes of probability.
  • The squares of the complex coefficients | α |^2 and | β | 2 represent the probabilities for finding the particle in the corresponding states.

The amplitude associated with a state determines the probability that the qubit will be found in that state****.

Quantum States

  • Quantum states and their superpositions are

represented by means of a notational device

called a ket , written "| >.”

  • In general the amplitudes are complex

numbers (with both a real and an imaginary part)

  • but in some examples considered here will be

confined to positive and negative real numbers.

Quantum Gates are Reversible

  • In designing gates for a quantum computer, certain constraints must be satisfied.
  • In particular, the matrix of transition amplitudes must be unitary, which implies, roughly speaking, that it conserves probability:
  • The sum of the probabilities of all possible outcomes must be exactly 1.
  • A consequence of this requirement is that any quantum computing operation must be reversible: - You must be able to take the results of an operation and put them back through the machine in the opposite direction to recover the original inputs.
  • Reversible gates must have the same number of inputs and outputs.

Quantum gates and circuits

  • Changes occurring to a quantum state

vector can be modeled using a quantum

circuit.

  • It is composed of wires and elementary

gates, much as normal electronic circuits are

used to describe electrical and mechanical

systems.

  • We describe a basic set of quantum gates.

Most General

Quantum Gate for

single qubit

  • Start with a single quantum bit.
  • We represent the states and (i.e. , and ) as

the vectors and , respectively.

  • Then the most general unitary transformation

corresponds to a matrix of the form

where we typically take [14].

14 A. Barenco, C. H. Bennett, R. Cleve, D. P. DiVincenzo, N. Margolus, P. Shor, T. Sleator, J. Smolin and H. Weinfurter, ``Elementary gates for quantum computation,'' submitted to Phys. Rev. A 1995.

Logic gates for quantum bits: