Skip to main content

Quantum Class 3, Tues 2022-09-06

1 Action at a distance

  1. Two qbits can be entangled tho they are far apart.

  2. How can this be?

  3. Newton faced the same conceptual leap.

  4. How can the earth affect the moon's orbit?

  5. Some people posited invisible whirlpools in space that dragged the planets around.

  6. That was falsified by the existence of retrograde orbits.

  7. Now we say that it happens because, in general relativity, the earth's mass bends space-time, and the moon just follows a geodesic.

  8. My view is that if something is useful but inexplicable, then just use it.

  9. Or, do like Andreas Osiander, Copernicus's editor, "these hypotheses need not be true nor even probable. [I]f they provide a calculus consistent with the observations, that alone is enough." https://en.wikipedia.org/wiki/Nicolaus_Copernicus

    If Giordano Bruno had talked evasively like that, maybe he wouldn't have been burnt at the stake in 1600. However he may have been burnt for other reasons.

2 Questions from Quantum Computing 2022 Update

  1. big application.

  2. what is superposition?

  3. why is it powerful?

  4. change in IBM strategy, or, what is circuit knitting?

  5. What is IBM's quantum parallelization?

  6. What is NIST doing re quantum crypto?

  7. How is Intel advancing quantum HW?

  8. What have some other companies done?

3 Hidary, Quantum Computing: An Applied Approach, 2nd ed, chapter 1

  1. Companion site: https://github.com/jackhidary/quantumcomputingbook

  2. Quantum computer: uses properties of quantum mechanics to compute

    1. world is quantum.

    2. compare to classical computer.

  3. quantum properties

    1. superposition

    2. entanglement

  4. state: complete math description of state.

    1. a complex vector.

    2. classical analog: e.g., position of a particle.

  5. Schrodinger's equation computes future state as a function of current state and stuff.

  6. Compare to Newton: future position depends on force etc.

  7. Analogously to Newton, only simple cases have closed form solutions. 2 body not 3 body. hydrogen atom.

  8. Even if there's a closed form solution, it may be chaotic, and so not as useful.

  9. Must simulate when no closed solution. Unfortunately that's all the good cases. College classes use solvable examples, not realistic ones.

  10. See Wolfram, A New Kind of Science.

  11. superposition: linear combo of states is a legal state.

    1. the weights are complex numbers.

    2. everything in quantum mechanics uses complex numbers.

    3. superposition does not work classically.

  12. A qubit $q$ is a quantum analog to a classical bit.

  13. the quantum analog to classical bits 0 and 1 are $|0\!\!>$ and $|1\!\!>$.

  14. q's state is a superposition (linear combo) of those two basis states:

    1. $q = a|0\!\!> + b|1\!\!>$ ,

    2. where the weights $a$ and $b$ are complex numbers, and $ | a | ^2 + | b | ^2 = 1$.

  15. Note the weird notation (Dirac notation). In $|0\!\!>$, $|$ is like a left bracket and $>$ like a right one.

  16. It is wrong to think that $q$ is really in one of the two states, but you don't know which one. This is the hidden variable theory. It has been proved experimentally to be false.

  17. $q$ is really in both states simultaneously.

  18. You cannot observe its state, unless it is $|0\!\!>$ and $|1\!\!>$, in which case you observe $0$ or $1$. This is the classical case.

  19. measurement of a state $\Psi$, and the Born rule (p 5):

    1. Measurement is an operator or matrix, M, applied to a state $\Psi$.

    2. M changes the qbit irreversibly, see the polarization example in the book.

    3. You cannot reclaim the old value.

    4. M has eigenvalues.

    5. Represent $\Psi$ as a linear combo of M's eigenvalues $\psi_i$, considered as a basis.

    6. $\Psi= \alpha\psi_1+\beta\psi_2$, where $\alpha^2+\beta^2=1$.

    7. you can use different basis systems to represent the same vector, and rotate between them.

    8. M changes $\Psi$ state randomly to one of the basis vectors.

    9. the probability of $\Psi$ changing to a particular basis vector is the modulus squared of the weight of that basis vector.

    10. define $z^c$ to be the complex conjugate of $z$.

    11. if $\Psi= \alpha\psi_1+\beta\psi_2$, where $\alpha^c\alpha+\beta^c\beta=1$ then the probability of $\Psi$ changing to $\psi_1$ is $\alpha^c\alpha$. (the Born rule)

    12. $\alpha^c\alpha$ is called the modulus squared.

  20. There are many possible measurement operators available.

    1. You can choose which to apply to $q$. Say, position.

    2. That prevents you from applying the others to $q$, say, momentum, because you don't have $q$ available any more.

    3. Heisenberg uncertainty: measuring, say, position, prevents you from accurately measuring momentum.

  21. $q$, that is, $q$ 's value, can be considered to be a vector of length two: $$\begin{pmatrix} a | 0\!\!> \\ b | 1\!\!> \end{pmatrix} $$ or simply $$\begin{pmatrix}a\\b\end{pmatrix}$$.

  22. You operate on $q$ with a matrix multiplication: $q_2 = M q$.

  23. Unless $M$ is a measurement operator, it is invertible, so you can go backwards.

  24. Contrast to classical operators like and and or.

  25. Examples of 1-qubit gates

    1. not, aka X. page 28.

    2. square root of not

    3. Y, Z

    4. S (rotation by $90^o$), T ($45^o$), phase shift

    5. Hadamark. "it enables us to take a qubit from a definite computational basis state into a superposition of two states"

  26. All operators used in quantum computation other than for measurement must be reversible. - textbook.

  27. No cloning: You cannot copy a qubit, but can move it.

  28. The life cycle of a qubit:

    1. Create a qubit with a classical value, 0 or 1.

    2. Operate on it with matrices, which rotate it to have complex weights.

    3. Measure it by randomly projecting it onto a basis vector.

  29. So far, not very powerful.

  30. a quantum state $\Psi$ usually has many qubits.

    compare to a classical byte with 8 classical bits.

  31. However the different qubits in $\Psi$$ might be entangled.

    1. This is very weird and powerful.

    2. Entanglement means that if you measure one qubit then what you observe restricts what would be observed when you measure the other qubit.

    3. Even if the two qubits are 1000 mi apart. This has been experimentally observed.

    4. However that does not let you communicate.

3.1 Entanglement

  1. Crazy counterintuitive idea that's the basis for quantum speedup.

  2. Classical metaphor for entanglement:

    1. Start with a piece of paper.

    2. Tear it into two halves.

    3. Put each half into an envelope, seal them, and mix them up, so that you can't tell which half is in which envelope.

    4. Address and mail one envelope to a friend in Australia, and the other to a friend in Greenland.

    5. When the Australian opens his envelope, he knows what the Greenlander will find in his.

    6. However that doesn't let the Australian send any info to the Greenlander, or vv.

  3. This has been demonstrated with real qubits transported 1000 miles apart.

  4. Entanglement means that if you measure one qubit then what you observe restricts what would be observed when you measure the other qubit.

  5. However that does not let you communicate.

  6. The preceding metaphor is wrong in that it has a hidden variable, the unobserved half-paper state. That does not happen in quantum physics. With qubits, the states are not fixed until one is observed. I'm trying to get the idea across.

4 Chapter 2: history

  1. Read it on your own, but here are some additions:

  2. The property list on p15 is controversial and seems designed to exclude D-Wave.

  3. Like for classical computation, the main ideas of quantum computing were proposed before actual machines could be built.

5 Videos to watch for next time

  1. IBM Quantum 2022 Updated Development Roadmap, 18:49, 2022-05-10

  2. Google Quantum AI Update 2022, 25:21, 2022-04-14