Archive

Posts Tagged ‘Math’

Nerd Culture Calculus Worksheets

December 25th, 2009

I presented the labs for the first-year calculus course at my school this past semester, and as a bit of an experiment I decided to try giving the students some less “ordinary” problems to work on at the end of the labs (partly inspired by this problem). I only ended up doing it for the first four weeks of the semester due to a combination of it taking much too long to create them and a general lack of interest by most of the students, but they were fun to make anyway so I might as well share them in case anyone else would like to present these or similar problems in their own labs or course. PDF as well as TeX files are provided, so you can edit out my name and all that jazz.

Lab #1: Intervals with Braid

The first week’s problem was based off the video game Braid. This problem ended up not working too well due to about 10 people in the class of ~600 having played of the game, and the rest being very confused by the idea of the cloud platform moving along with the main character (it makes sense if you’ve played the game, honest!).

Download: Question sheet [pdf], Solution sheet [pdf], TeX files [zip]

Intervals with Braid

Lab #2: The Bat Man

The next week I decided to go a bit more mainstream and have the problem based on Batman chasing the Joker. The question doesn’t make a lick of sense if you think about it physically (the cars have negative acceleration for one thing), but this being a math class I decided not to care. I feel like this was the most successful of the weekly problems because the Batman/Joker stuff was completely incidental and the question was still easy enough for the students to understand and tackle.

Download: Question sheet [pdf], Solution sheet [pdf], TeX files [zip]

The Bat Man

Lab #3: Calvin Reaches his Limit

By this point I had learned that even if I am going to sugar-coat the question under a picture of Calvin and Hobbes, it’s a good idea to include a sentence at the end summarizing what the heck it is I’m asking them to compute or prove. I think this is a fun question no matter how advanced of a mathematician you are, and it was probably a bit mean of me to present it to first-year students.

Download: Question sheet [pdf], Solution sheet [pdf], TeX files [zip]

Calvin Reaches his LimitLab #4: Continuity with Mario

The last of these problems that I presented was a (very) simple continuity question based on Super Mario World. I originally wanted to use Super Metroid for this question since it would allow for more varied movements from the hero, but I decided that (as I learned in Lab #1) it would be best to stick with a more recognizable game. It was a pain to come up with a semi-nice-looking branch function that resembled Mario’s movement in a believable way and led to simple (i.e., non-fractional) limits at the points of interest.

Download: Question sheet [pdf], Solution sheet [pdf], TeX files [zip]

Continuity with Mario

The Other Superoperator Isomorphism

November 20th, 2009

A few months ago, I spent two posts describing the Choi-Jamiolkowski isomorphism between linear operators from Mn to Mm (often referred to as “superoperators“) and linear operators living in the space Mn ⊗ Mm. However, there is another isomorphism between superoperators and regular operators — one that I’m not sure of any name for but which has just as many interesting properties.

Recall from Section 1 of this post that any superoperator Φ can be written as

\Phi(X)=\sum_iA_iXB_i.for some operators {Ai} and {Bi}. The isomorphism that I am going to focus on in this post is the one given by associating Φ with the operator

M_\Phi:=\sum_iA_i\otimes B_i^{T}.

The main reason that MΦ can be so useful is that it retains the operator structure of Φ. In particular, if you define vec(X) to be the vectorization of the operator X, then

{\rm vec}(\Phi(X))=M_\Phi{\rm vec}(X).

In other words, if you treat X as a vector, then MΦ is the operator describing the action of Φ on X. From this it becomes simple to compute some basic quantities describing Φ. For example, the induced Frobenius norm,

\big\|\Phi\big\|_F:=\sup_{\|X\|_F=1}\Big\{\big\|\Phi(X)\big\|_F\Big\},

is equal to the standard operator norm of MΦ. If n = m then we can define the eigenvalues {λ} and the eigenmatrices {V} of Φ in the obvious way via

\Phi(V)=\lambda V.

Then the eigenvalues of Φ are exactly the eigenvalues of MΦ, and the corresponding eigenvectors of MΦ are the vectorizations of the eigenmatrices of Φ. It is similarly easy to check whether Φ is invertible (by checking whether or not det(MΦ) = 0), find the inverse if it exists, or find the nullspace (and a pseudoinverse) if it doesn’t.

Finally, here’s a question for the interested reader to think about: why is the transpose required on the Bi operators for this isomorphism to make sense? That is, why can we not define an isomorphism between Φ and the operator

\sum_iA_i\otimes B_i?

Approximating the Distribution of Schmidt Vector Norms

November 6th, 2009

Recently, a family of vector norms [1,2] have been introduced in quantum information theory that are useful for helping classify entanglement of quantum states. In particular, the Schmidt vector k-norm of a vector v ∈ CnCn, for an integer 1 ≤ k ≤ n, is defined by

\|v\|_{s(k)}:=\sup_w\Big\{\big|\langle v,w\rangle\big|:\|w\|=1,SR(w)\leq k\Big\}.

In the above definition, SR(w) refers to the Schmidt rank of the vector w and so these norms are in some ways like a measure of entanglement for pure state vectors. One of the results of [2] shows how to compute these norms efficiently, so with that in mind we can perform all sorts of fun numerical analysis on them. Analytic results are provided in the paper, so I’ll provide more hand-wavey stuff and pictures here. In particular, let’s look at what the distributions of the Schmidt vector norms look like.

Figure 1: The Schmidt 1 and 2 vector norms in 3 ⊗ 3 dimensional space

Figure 1: The distribution of the Schmidt 1 and 2 vector norms in (3 ⊗ 3)-dimensional space

Figure 1 shows the distributions of the Schmidt 1 and 2 norms of unit vectors distributed according to the Haar measure in C3C3, based on 5×105 vectors generated randomly via MATLAB. Note that the Schmidt 3-norm just equals the standard Euclidean norm so it always equals 1 and is thus not shown. Figures 2 and 3 show similar distributions in C4C4 and C5C5.

Figure 2: The distribution of the Schmidt 1, 2, and 3 vector norms in (4 ⊗ 4)-dimensional space

Figure 2: The distribution of the Schmidt 1, 2, and 3 vector norms in (4 ⊗ 4)-dimensional space

Schmidt vector 1, 2, 3, and 4 norms for n = 5

Figure 3: The distribution of the Schmidt 1, 2, 3, and 4 vector norms in (5 ⊗ 5)-dimensional space

The following table shows various basic statistics about the above distributions. I suppose the natural next step is to ask whether or not we can analytically determine the distribution of the Schmidt vector norms. Since these norms are essentially just the singular values of an operator that is associated with the vector, it seems like this might even already be a (partially) solved problem, since many results are known about the distribution of the singular values of random matrices. The difficulty comes in trying to interpret the Haar measure (or any other natural measure on pure states, such as the Hilbert-Schmidt measure) on the associated operators.

Space k Mean Median Std. Dev.
C3C3 1 0.8494 0.8516 0.0554
2 0.9811 0.9860 0.0171
C4C4 1 0.7799 0.7792 0.0501
2 0.9411 0.9435 0.0247
3 0.9921 0.9943 0.0074
C5C5 1 0.7240 0.7225 0.0444
2 0.8976 0.8987 0.0268
3 0.9707 0.9722 0.0129
4 0.9960 0.9971 0.0039

References:

  1. D. Chruscinski, A. Kossakowski, G. Sarbicki, Spectral conditions for entanglement witnesses vs. bound entanglement, Phys. Rev A 80, 042314 (2009). arXiv:0908.1846v2 [quant-ph]
  2. N. Johnston and D.W. Kribs, Schmidt norms for quantum states. Preprint (2009). arXiv:0909.3907 [quant-ph]

Spaceship Speed Limits in “B3″ Life-Like Cellular Automata

October 30th, 2009

Those of you familiar with Conway’s Game of Life probably know of its two most basic spaceships: the glider and the lightweight spaceship (shown below). The glider travels diagonally by one cell every four generations (and thus its speed is said to be “c/4″) and the lightweight spaceship travels orthogonally by two cells every four generations (and so its speed is denoted by “2c/4″ or “c/2″).

The glider

The glider

Lightweight spaceship

Lightweight spaceship

A natural question to ask is whether or not there are any spaceships that travel faster than c/4 diagonally or c/2 orthogonally. John Conway proved in 1970 (very shortly after inventing the Game of Life) that the answer is no. I present this proof here, since it’s a bit difficult to find online (though Dave Greene was kind enough to post a copy of it on the ConwayLife.com forums).

Theorem 1. The maximum speed that a spaceship can travel in Conway’s Game of Life is c/4 diagonally and c/2 orthogonally.

Proof. We begin by proving the c/4 speed limit for diagonal spaceships. Consider the grid given in Figure 1 (below). If the spaceship is on and to the left of the diagonal line of cells defined by A, B, C, D, and E in generation 0, then suppose that cell X can be alive in generation 2.

Figure 1: The spaceship is to the left of A,B,C,D, and E

Figure 1: The spaceship is to the left of A, B, C, D, and E

Well, if cell X is alive in generation 2, then cells C, U, and V must be alive in generation 1. This means that U and V must have had 3 alive neighbours in generation 0, so each of B, C, D, J, and K must be alive in generation 0. This means that C must have at least four live neighbours in generation 0 though, so there is no way for it to survive to generation 1, which gives a contradiction.

It follows that X can not be alive in generation 2. In other words, if the spaceship is behind the diagonal line A, B, C, D, E in generation 0, then it must be behind the diagonal line defined by U and V in generation 2. It follows that can not travel faster than c/4 diagonally.

To see the corresponding result for orthogonal spaceships, just use two diagonal lines as in Figure 2. If a spaceship is on and below the diagonal lines defined by the solid black cells in generation 0, then we already saw that it must be on and below the diagonal lines defined by the striped cells in generation 2. It follows that it can not travel faster than c/2 orthogonally.

Figure 2

Figure 2: The spaceship is on and below the solid black cells in generation 0

Notice that this result doesn’t only apply to spaceships, but also to other configurations that are (initially) finite and travel across the grid, such as puffers and wickstretchers. Also, this result applies to many Life-like cellular automata — not just Conway’s Game of Life.

In particular, these speed limits apply to any of the 212 = 4096 Life-like cellular automata in the range B3/S – B345678/S0123678. That is, these speed limits apply to any rule on the 2D square lattice such that birth occurs for 3 neighbours but not 0, 1, or 2 neighbours, and survival does not occur for 4 or 5 neighbours. But are the spaceship speed limits attained in each of these rules? The regular c/4 glider only works in the 28 = 256 rules from B3/S23 – B3678/S0235678. In the remaining rules, not much is known; some of them have c/3 orthogonal spaceships, some have c/5 orthogonal spaceships, and some have no spaceships at all (such as any of the rules containing S0123, which can not contain spaceships because the trailing edge of the spaceship could never die). Of particular interest are the sidewinder and this spaceship, which play the c/4 diagonal and c/2 orthogonal roles of the glider and lightweight spaceship, respectively, in B3/S13 (as well as several other rules).

So what about the other B3 (but not B0, B1, or B2) rules? If cells survive when they have 4 or 5 cells, then it’s conceivable that spaceships might be able to travel faster than c/4 diagonally or c/2 orthogonally because Theorem 1 does not apply to them. It turns out that they indeed can travel faster diagonally, but somewhat surprisingly they can not travel faster orthogonally.

Theorem 2. In any Life-like cellular automaton in which birth occurs when a cell has 3 live neighbours but not 0, 1, or 2 live neighbours, the maximum speed that a spaceship can travel is c/3 diagonally and c/2 orthogonally.

Proof. The trick here is to consider lines of slope -1/2 as in Figure 3 below. It is possible (though a bit more complicated) to prove the c/3 diagonal speed limit using a diagonal line as in Figure 1 for Theorem 1, but the orthogonal speed limit that results is 2c/3. What is presented here is the only method I know of proving both the diagonal speed limit of c/3 and the orthogonal speed limit of c/2.

Figure 3: The spaceship is below A,B,C,D,E, and F

Figure 3: The spaceship is below A, B, C, D, E, and F in generation 0

Suppose that a spaceship is on and below the line defined by the cells A, B, C, D, E, and F in Figure 3 in generation 0. It is clear that Y can not be alive in generation 2, since its only neighbour that could possibly be alive in generation 1 is K. Similarly, X can not be alive in generation 2 because its only neighbours that can be alive in generation 1 are B and K. It follows that in generation 2, the spaceship can not be more than 1 cell above the line A, B, C, D, E, F.

More mathematically, this tells us that the maximum speed of a spaceship that travels x cells horizontally for every y cells vertically can not travel faster than max{x,y}c/(x+2y). Taking x = y = 1 (diagonal spaceships) gives a speed limit of c/3. Taking x = 0, y = 1 (orthogonal spaceships) gives a speed limit of c/2.

Finally, it should be noted that even though these spaceship speed upper bounds apply to a wide variety of different rules, many rules don’t even have spaceships (even relatively simple rules containing B3 in their rulestring). For example, no spaceships are currently known in the rule “maze” (B3/S12345), and it seems quite believable that there are no spaceships to be found in that rule. I would love to see a proof that maze contains no spaceships, but it seems that there are too many cases to check by hand. I may end up trying a computer proof sometime in the near future.

The Equivalences of the Choi-Jamiolkowski Isomorphism (Part II)

October 23rd, 2009

This is a continuation of this post.
Please read that post to learn what the Choi-Jamiolkowski isomorphism is.

In part 1, we learned about hermicity-preserving linear maps, positive maps, k-positive maps, and completely positive maps. Now let’s see what other types of linear maps have interesting equivalences through the Choi-Jamiolkowski isomorphism. Recall that the notation CΦ is used to represent the Choi matrix of the linear map Φ.

6. Entanglement Breaking Maps / Separable Quantum States

An entanglement breaking map is defined as a completely positive map Φ with the property that (idn ⊗ Φ)(ρ) is a separable quantum state whenever ρ is a quantum state (i.e., a density operator). A separable quantum state σ is one that can be written in the form

\sigma=\sum_ip_i\sigma_i\otimes\tau_i,

where {pi} forms a probability distribution (i.e., pi ≥ 0 for all i and the pi’s sum to 1) and each σi and τi is a density operator. It turns out that the Choi-Jamiolkowski equivalence for entanglement-breaking maps is very natural — Φ is entanglement breaking if and only if CΦ is separable. Because it is known that determining whether or not a given state is separable is NP-HARD [1], it follows that determining whether or not a given linear map is entanglement breaking is also NP-HARD. Nonetheless, there are several nice characterizations of entanglement breaking maps. For example, Φ is entanglement breaking if and only if it can be written in the form

\Phi(X)=\sum_iA_iXA_i^*,

where each operator Ai has rank 1 (recall from Section 4 of the previous post that every completely positive map can be written in this form for some operators Ai — the rank 1 condition is what makes the map entanglement breaking). For more properties of entanglement breaking maps, the interested reader is encouraged to read [2].

7. k-Partially Entanglement Breaking Maps / Quantum States with Schmidt Number at Most k

The natural generalization of entanglement breaking maps are k-partially entanglement breaking maps, which are completely positive maps Φ with the property that (idn ⊗ Φ)(ρ) always has Schmidt number [3] at most k for any density operator ρ. Recall that an operator has Schmidt number 1 if and only if it is separable, so the k = 1 case recovers exactly the entanglement breaking maps of Section 6. The set of operators associated with the k-partially entanglement breaking maps via the Choi-Jamiolkowski isomorphism are exactly what we would expect: the operators with Schmidt number no larger than k. In fact, pretty much all of the properties of entanglement breaking maps generalize in a completely natural way to this situation. For example, a map is k-partially entanglement breaking if and only if it can be written in the form

\Phi(X)=\sum_iA_iXA_i^*,

where each operator Ai has rank no greater than k. For more information about k-partially entanglement breaking maps, the interested reader is pointed to [4]. Additionally, there is an interesting geometric relationship between k-positive maps (see Section 5 of the previous post) and k-partially entanglement breaking maps that is explored in this note and in [5].

8. Unital Maps / Operators with Left Partial Trace Equal to Identity

A linear map Φ is said to be unital if it sends the identity operator to the identity operator — that is, if Φ(In) = Im. It is a simple exercise in linear algebra to show that Φ is unital if and only if

{\rm Tr}_1(C_\Phi)=I_m,

where Tr1 denotes the partial trace over the first subsystem. In fact, it is not difficult to show that Tr1(CΦ) always equals exactly Φ(In).

9. Trace-Preserving Maps / Operators with Right Partial Trace Equal to Identity

In quantum information theory, maps that are trace-preserving (i.e., maps Φ such that Tr(Φ(X)) = Tr(X) for every operator X ∈ Mn) are of particular interest because quantum channels are modeled by completely positive trace-preserving maps (see Section 4 of the previous post to learn about completely positive maps). Well, some simple linear algebra shows that the map Φ is trace-preserving if and only if

{\rm Tr}_2(C_\Phi)=I_n,

where Tr2 denotes the partial trace over the second subsystem. The reason for the close relationship between this property and the property of Section 8 is that unital maps and trace-preserving maps are dual to each other in the Hilbert-Schmidt inner product.

10. Completely Co-Positive Maps / Positive Partial Transpose Operators

A map Φ such that T○Φ is completely positive, where T represents the transpose map, is called a completely co-positive map. Thanks to Section 4 of the previous post, we know that Φ is completely co-positive if and only if the Choi matrix of T○Φ is positive semi-definite. Another way of saying this is that

(id_n\otimes T)(C_\Phi)\geq 0.

This condition says that the operator CΦ has positive partial transpose (or PPT), a property that is of great interest in quantum information theory because of its connection with the problem of determining whether or not a given quantum state is separable. In particular, any quantum state that is separable must have positive partial transpose (a condition that has become known as the Peres-Horodecki criterion). If n = 2 and m ≤ 3, then the converse is also true: any PPT state is necessarily separable [6]. It follows via our equivalences of Sections 4 and 6 that any entanglement breaking map is necessarily completely co-positive. Conversely, if n = 2 and m ≤ 3 then any map that is both completely positive and completely co-positive must be entanglement breaking.

11. Entanglement Binding Maps / Bound Entangled States

A bound entangled state is a state that is entangled (i.e., not separable) yet can not be transformed via local operations and classical communication to a pure maximally entangled state. In other words, they are entangled but have zero distillable entanglement. Currently, the only states that are known to be bound entangled are states with positive partial transpose — it is an open question whether or not other such states exist.

An entanglement binding map [7] is a completely positive map Φ such that (idn ⊗ Φ)(ρ) is bound entangled for any quantum state ρ. It turns out that a map is entanglement binding if and only if its Choi matrix CΦ is bound entangled. Thus, via the result of Section 10 we see that a map is entanglement binding if it is both completely positive and completely co-positive. It is currently unknown if there exist other entanglement binding maps.

References:

  1. L. Gurvits, Classical deterministic complexity of Edmonds’ Problem and quantum entanglement, Proceedings of the thirty-fifth annual ACM symposium on Theory of computing, 10-19 (2003). arXiv:quant-ph/0303055v1
  2. M. Horodecki, P. W. Shor, M. B. Ruskai, General Entanglement Breaking Channels, Rev. Math. Phys 15, 629–641 (2003). arXiv:quant-ph/0302031v2
  3. B. Terhal, P. Horodecki, A Schmidt number for density matrices, Phys. Rev. A Rapid Communications Vol. 61, 040301 (2000). arXiv:quant-ph/9911117v4
  4. D. Chruscinski, A. Kossakowski, On partially entanglement breaking channels, Open Sys. Information Dyn. 13, 17–26 (2006). arXiv:quant-ph/0511244v1
  5. L. Skowronek, E. Stormer, K. Zyczkowski, Cones of positive maps and their duality relations, J. Math. Phys. 50, 062106 (2009). arXiv:0902.4877v1 [quant-ph]
  6. M. Horodecki, P. Horodecki, R. Horodecki, Separability of Mixed States: Necessary and Sufficient Conditions, Physics Letters A 223, 1–8 (1996). arXiv:quant-ph/9605038v2
  7. P. Horodecki, M. Horodecki, R. Horodecki, Binding entanglement channels, J.Mod.Opt. 47, 347–354 (2000). arXiv:quant-ph/9904092v1