Type | Class |
---|---|
Tags | Project: Online Classes, mooc, quantum computing |
Quantum computing may be good for:
It's hard to scale quantum computers.
Encryption techniques that depend on the difficulty of factoring large numbers will be broken if a method is discovered of factoring such numbers quickly. Shor's algorithm is a quantum algorithm to factor numbers. We do not presently have quantum computers powerful enough to run Shor's algorithm on large keys such as are used today, but as quantum computers grow more powerful, messages encrypted with weaker keys will become vulnerable.
The H gate has a 50% chance of giving either result upon measurement. However, it's not simply a purely random 50% chance of applying a NOT. If you apply the H gate twice in a row, you will recover the input. There is additional state (called phase) stored on the qubit that is lost in measurement.
The Z gate inverts the phase of |1>
to -|1>
, but does nothing to |0>
.
Represent quantum states with bra-ket notation: $ a\ket{0} + b\ket{1} $ means that $ |a|^2 $ is the probability of measuring 0 and $ |b|^2 $ is the probability of measuring 1. So we know $ |a|^2 + |b|^2 = 1 $.
If we have an equal chance of measuring 0 or 1, then the state would be $ \frac{1}{\sqrt{2}}\ket{0} + \frac{1}{\sqrt{2}}\ket{1} $.
In vector notation, write $ a\ket{0} + b\ket{1} $ as $ \begin{bmatrix} a \ b \end{bmatrix} $.
A NOT
gate is the matrix NOT
gate to
The H gate is the matrix
And if applied to
If we have two independent (not entangled) qubits, we can write them in a combined way. If qubit 1 is
For a concrete example, if Q1 is
The SWAP gate in matrix form is:
The C-NOT gate in matrix form is:
Given input WW, this circuit gives a 50% probability of each qubit being measured W or B, but both members of the pair will be the same, so there is overall a 50% probability each of WW or BB, and WB or BW are impossible.
When doing multi-qubit operations, phase is associated with a pair of qubits. The example is given of a controlled Z gate, C-Z. This is a gate that inverts the phase of its target only when the control is
This first course in quantum computing is for novices and requires learners to have only basic algebra. It covers the future impacts of quantum computing, provides intuitive introductions of quantum physics phenomenon, and progresses from single operations to a complete algorithm.
Name | Role |
---|---|
Diana Franklin | Instructor |
Kate Smith | Instructor |