Lectures 4+5 homework:

  1. [1 point each] Mathematical exercises.  Do any of the exercises &/or problems in chapter 11 of Nielsen & Chuang.
  2. [7 points] Numerical experiment.  You will want to use a math tool to help you with the below exercises.  I know that this exercise can definitely be easily done in Matlab, but if you can figure out how to do this in Mathematica, Maple, or emacs calc, that's OK too.   Please state what tool you used, and what functions within that tool you used.
        We are going to construct a density matrix representing an uncertain quantum state (mixed state) of a system S having 4 distinguishable basis states b1, ..., b4, and figure out its entropy.
        Suppose we prepare this system using a mechanism that initalizes it randomly to be in 1 of 5 quantum states (state vectors) s1, ..., s5.  (Call these states "preparations.")  Assume we don't know which state the mechanism chose.
        Note that each of the below questions depends on the previous ones.  If you make a critical error at any point, you will get zero credit for the remaining parts of the problem!
        (a) [1/2 point] Given that the system has only 4 distinguishable states, what is its maximum entropy (total infropy), in bits and in nats?
        (b) [1/2 point] Is it possible for all of the preparations s1, ..., s5 to be 100% distinguishable from each other?  Explain why or why not.
        (c) [1/2 point] Now, make up an arbitrary probability distribution p1, ..., p5 over the 5 preparation states that will be used in the preparation mechanism.  Every element of your distribution should be a different real number greater than 0, less than 1, and their sum should be 1.  Write down your distribution.  What is the value of its Shannon entropy H?  Is it possible that you could have chosen a distribution here that had greater entropy than the maximum entropy of system S?  So, do you think that the H that you just calculated is likely to be the true entropy of this randomly-prepared initial state?
        (d) [1 point] Now, you need to pick the 5 preparation states s1, ..., s5 .  Each one of these should be a 4-vector of complex numbers of magnitude 1, giving the amplitudes of the basis states.  An easy way to generate such a vector is to write down an arbitrary 4-vector of complex numbers, then "normalize" it to unit magnitude by calculating the magnitude of the vector and dividing each element of the vector by that number.  Write down each of these vectors.  They should all be different from each other, but they do not all need to be orthogonal to each other(indeed, they cannot all be).
        (e) [1 point] For each of your states si, find its equivalent density matrix rhoi.  (The definition of density matrices was given in lecture.)  Calculate the Shannon entropy of each of these states (relative to the bi basis), using the diagonal elements of the density matrix.  What do you expect the von Neumann entropy of each of these individual states to be?
        (f) [1 point] Calculate the weighted average of the the density matrices rhoi according to the distribution pi.  The resulting density matrix rho is the actual mixed state of the system.
        (g) [2 points] Calculate the von Neumann entropy of the density matrix rho resulting from part f.  Remember to use the matrix logarithm (logm in matlab) and matrix multiplication.  Is the result greater or less than the Shannon entropy of the distribution pi from part c?  Try to explain qualitatively why this is the case in your example.
        (h) [1/2 point] Of all the above calculations, which gives the true entropy of the system in question, from our point of view (not knowing which pi was chosen)?  Finally, how much known information (according to the definitions in lecture) is in the system, from our point of view, in bits and in nats?
  3. [10 points] Formal proof (race).  Prove (one form of) the 2nd law of thermodynamics.  Construct a rigorous, formal, and general proof that von Neumann entropy of a system increases whenever the system's density matrix is transformed by a unitary transform U that is not completely certain (i.e., is given by a weighted average of two or more different transforms Ui), except in the case where the initial state already has maximum entropy.
  4. [1-2 points] Conceptual exercise.  Consider the slide from lecture 5 showing different distinctions or categorizations of infropy that one may make.  (The slide from lecture 5 has more distinctions than the one from lecture 4.)  Come up with an example of a scenario involving some system and some entity with a state of knowledge about that system.  For the infropy in the system, and each of the properties on the slide, describe to what extent the infropy in the system has that property.  Also include "compressibility" and "effective entropy" as additional distinctions.  You may use either a computational or physical example.  (A computational example being one where only macro-scale bits are involved.)  To earn the 2nd  point, come up with one computational example and one physical example.
        Example of what you could write (don't use this one though):  Computational example:  Consider a "system" which is a 1-megabyte binary program on my computer hard disk (bits only; we're not including the detailed microstate of the atoms in the magnetic domains on the hard disk in the system).  The entity is myself.
Remember, if you don't like any of these exercises, you can always do a short paper instead, as described in the grading guidelines, or propose your own project idea.