This note refers to the lecture notes of Professor John Preskill.
To get the original lecture notes, click 📖.
Chap 1 Introduction and Overview 📖
1.1 Physics of information
Landauer’s principle: Erasing 1 bit information requires at lease work .
Reversible computation: The information is fully retained, that is, the input and output correspond one to one to avoid erasing information and energy cost.
e.g. NAND gate:
Form Type irreversible , reversible Maxwell’s demon: Information entropy.
1.2 Quantum information
True randomness
Uncertainty principle
Acquiring information causes disturbance
No-cloning principle
Nonlocal correlation
1.3 Efficient quantum algorithms
- Quantum bits have some properties that classical bits don’t have, which can reduce the computational complexity on [specific problems].
1.4 Quantum complexity
Quantum states: Quantum states of qubits can be expressed as a vector in a space of dimension .An orthonormal basis for the space can be labeled by binary strings such as
A general normalized vector can be expanded in this basis as
where ‘s are complex number satisfying . If we measure all N qubits by projecting each onto the basis, the probability of obtaining the outcome is .
Quantum gate: Apply a unitary transformation U to the N qubits,
Nonelocal correlation: If we divide a quantum system into some subsystems and carry out each measurement within one of the subsystems, which means no collective measurements spanning the boundaries between the subsystems is allowed, the measurements will reveal very little information about what the state of original system is.
Most of the information is stored in correlations. By measuring the correlations, which is considered to be a “collective” measurement, we can learn much more; in principle, we can completely reconstruct the state.
1.5 Quantum parallelism
There is a function that transforms input into output . If we input bit, there are possible arguments.
To obtain all possible outcomes, computations are required for classical bits; however, only a single calculation is required for qubits.
e.g. Deutsch’s problem
There is a black box that computes a function that takes a single bit to a single bit . We want to know whether is constant or balanced .
For classical bits, 2 computations are required to get the answer. In contrast, for qubits, it just once calculation suffices.
All we need is a transformation that operates on two qubits:
We can choose the second qubit of the input state to be a superposition of and , , then
Now suppose we prepare the first qubit as . Then the black box acts as
Finally, we can perform a measurement that projects the first qubit onto the basis
Evidently, we will always obtain if the function is constant, and if the function is balanced.
Let the quantum computer acts as
we could choose the input register to be in a state
and by computing f (x) only once, we can generate a state
If we measure the first qubit and obtain . This procedure would prepare a state
By measuring the state, we can find the value of . However, we can’t determine for any We need to go back to the step before we measured the first qubit and expect measurement result of first qubit is . In this case, then, the quantum computation provided no advantage over a classical one.
1.6 A new classification of complexity
For classical complexity: for any algorithm A and N bits input, is the largest elementary steps needed to take to complete.
Call A is polynomial time if Poly(), where Poly() denotes a polynomial of . Otherwise, we say it is exponential time.
Quantum classification of complexity is indeed different than the classical classification (as is suspected but not proved).
1.7 What about errors?
Information is encoded in superposition of states . Unfortunately, these nonlocal correlations are extremely fragile and tend to decay very rapidly in practice. The problem is that quantum system is inevitably in contact with a much larger system, its environment. Interactions between a quantum system and its environment establish nonlocal correlations between the two. Eventually the quantum information that we initially encoded in the system becomes encoded in correlations between the system and the environment, which means we can no longer access the information by observing only the system, or we can say the information is irrevocably lost.
Even if we could achieve perfect isolation from the environment, we cannot expect quantum computers to operate with perfect accuracy, as quantum gates may introduce certain errors into the system, for example, , through it’s small, errors will accumulate.
Overall, we can divide the errors into four categories.
Phase error: . Small error: initial state changes amount of order . Measurement causes disturbance. No cloning: quantum information cannot be copied with perfect fidelity.
1.8 Quantum error-correcting codes
Before we talk about quantum error correction, let’s look at how does classical error correction work? The simplest example of a classical error-correcting code is a repetition code: we replace the bit we wish to protect by 3 copies of the bit,
With a quantum code, we should be mindful of the requirement that we will need to be able to correct the errors without measuring any of the encoded information.
Suppose that we encode a single qubit with 3 qubits:
For a 3-qubit state we could measure the two-qubit observables , and . For both and these would be 0, but if any one bit flips, then at least one of these quantities will be 1. In fact, if there is a single bit flip, the two bits
just designate in binary notation the position of the bit that flipped. For example, if the first qubit flips,
the measurement of yield the result , which instructs us to flip the first bit.
For small errors, like
In measuring , we would project out an eigenstate of this observable. Most of the time (probability ) we obtain the result and project the damaged state back to the original state, and so correct the error. Occasionally (probability ) we obtain the result and project the state onto the state that the first qubit is flipped. But then the outcome instructs us to flip the first bit, which restores the original state.
To address phase errors, we encode a single qubit using nine qubits, according to
Now suppose that a phase flip occurs in one of the clusters
In this case, we need to measure a six-qubit observable to do the comparison, for example, the observable that flips qubits 1 through 6. A pair of clusters with the same sign is an eigenstate with eigenvalue +1, and a pair of clusters with opposite sign is an eigenstate with eigenvalue −1. By measuring the six-qubit observable for a second pair of clusters, we can determine which cluster has a different sign than the others. For example,
by measuring the observable that flips qubits 1 through 6 and the observable that flips qubits 4 through 9, we get the result , , which instructs us to change the sign of first cluster.
1.9 Quantum hardware
To build hardware for a quantum computer, we’ll need technology that enables us to manipulate qubits. The hardware will need to meet some stringent specifications:
- Storage: We’ll need to store qubits for a long time, long enough to complete an interesting computation.
- Isolation: The qubits must be well isolated from the environment, to minimize decoherence errors.
- Readout: We’ll need to measure the qubits efficiently and reliably.
- Gates: We’ll need to manipulate the quantum states of individual qubits, and to induce controlled interactions among qubits, so that we can perform quantum gates.
- Precision: The quantum gates should be implemented with high precision if the device is to perform reliably.
There are many kinds of quantum hardwares, like iron trap, superconducting quantum computer etc. The introduction in the lecture seems outdated. To better understand these things, it is recommended to read relevant reviews from recent years.
Chap 2 States and Ensembles 📖
2.1 Axioms of quantum mechanics
Axiom 1. States.
A state is a complete description of a physical system. In quantum mechanics, a state is a ray in a Hilbert space.
Axiom 2. Observables.
An observable is a property of a physical system that in principle can be measured. In quantum mechanics, an observable is a self-adjoint operator.
Axiom 3. Measurement.
A measurement is a process in which information about the state of a physical system is acquired by an observer. In quantum mechanics, the measurement of an observable prepares an eigenstate of , and the observer learns the value of the corresponding eigenvalue.If the quantum state just prior to the measurement is , then the outcome an is obtained with a priori probability
if the outcome is attained, then the (normalized) quantum state just after the measurement is
Axiom 4. Dynamics.
Dynamics describes how a state evolves over time. In quantum mechanics, the time evolution of a closed system is described by a unitary operator.
Axiom 5. Composite Systems.
If the Hilbert space of system is and the Hilbert space of system is , then the Hilbert space of the composite systems is the tensor product . If system is prepared in the state and system B is prepared in the state , then the composite system’s state is the product .