A Mathematical elements
The language of quantum mechanics is rooted in linear algebra and functional analysis. It often expands when the foundations of the theory are reassessed, which they periodically have been. As a result, additional mathematical struc- tures not ordinarily covered in physics textbooks, such as the logic of linear subspaces and Liouville space, have come to play a role in quantum mechan- ics. Information theory makes use of statistical quantities, some of which are covered in the main text, as well as discrete mathematics, which are also not included in standard treatments of quantum theory. Here, before describ- ing the fundamental mathematical structure of quantum mechanics, Hilbert space, some basic mathematics of binary arithmetic, finite fields and random variables is given. After a presentation of the basic elements of Hilbert space theory, the Dirac notation typically used in the literature of quantum informa- tion science, and operators and transformations related to it, some elements of quantum probability and quantum logic are also described.
A.1 Boolean algebra and Galois fields
n A Boolean algebra Bn is an algebraic structure given by the collection of 2 subsets of the set I = {1, 2,...,n} and three operations under which it is closed: the two binary operations of union (∨) and intersection (∧), and a unary operation, complementation (¬). In addition to there being comple- ments (and hence the null set ∅ being an element), the following axioms hold. (i) Commutativity: S ∨ T = T ∨ S and S ∧ T = T ∧ S; (ii) Associativity: S ∨(T ∨U)=(S ∨T )∨U and S ∧(T ∧U)=(S ∧T )∧U; (iii) Distributivity: S ∧ (T ∨ U)=(S ∧ T ) ∨ (S ∧ U)andS ∨ (T ∧ U)= (S ∨ T ) ∧ (S ∨ U); (iv) ¬∅ = I, ¬I = ∅,S∧¬S = ∅,S∨¬S = I, ¬(¬S)=S , for all its elements S, T, U. The algebra B1 is the propositional calculus arising from the set I = {1}, which is also used in digital circuit theory, where ∅ 232 A Mathematical elements corresponds to FALSE, I to TRUE, ∨ to OR, ∧ to AND, and ¬ to NOT. The “basic” logic operation XOR corresponds to (S ∨ T ) ∧ (¬S ∨¬T ). A field is a set of elements, with two operations (called multiplication and addition) under which it is closed, that satisfies the axioms of associativity, commutativity and distributivity and in which there exist additive and mul- tiplicative identity elements and inverses. The order of a field is the number of its elements. Theorem (Galois): There exists a field of order q if and only if q is a prime power, that is, q = pn where p is prime and n is a positive integer; furthermore, if q is a prime power, then there is (up to a relabeling), only one field of that order. A field of order q is known as a Galois field and is denoted GF (q). If p is prime, then GF (p) is simply the set {0, 1, ..., p−1} with n mod-p arithmetic. GF (p ) is a linear space of dimension n over Zp (the set of integers 0 to p − 1) containing a copy of it as a subfield. For Z2, GF (2) is such a field over the set {0, 1} with XOR as addition and AND as multiplication. In computing, one is primarily interested in functions f : {0, 1}m →{0, 1}n; for example, two-bit logic gates g : GF (2) → GF (2).
A.2 Random variables
A random variable is a deterministic function from a given sample space S, that is, the set of all possible outcomes of a given experiment, the subsets of which are known as events, those containing only a single element being the elementary events, to the real numbers. The expectation value, E[Y (X)], of a function Y (X) of a random variable X is given by a linear operator such that n E[Y (X)] = Y (xi)P (X = xi) , (A.1) i=1 +∞ E[Y (X)] = Y (x)f(x)dx , (A.2) −∞ in the cases of discrete and continuous variables, respectively, where in the former P (X = xi)istheprobability andinthelatterf(x)istheprobability density (p.d.f.), that is, a collection of numbers between 0 and 1 summing to unity. For a random variable with a (differentiable) cumulative distribution function F (X), f(x) ≡ dF/dx; a random variable has the cumulative distri- bution function F (X) if the probability of an experiment with sample space S to yield x